1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cloudstoragegateway
  5. Gateway
Alibaba Cloud v3.50.0 published on Wednesday, Mar 6, 2024 by Pulumi

alicloud.cloudstoragegateway.Gateway

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.50.0 published on Wednesday, Mar 6, 2024 by Pulumi

    Provides a Cloud Storage Gateway: Gateway resource.

    For information about Cloud Storage Gateway Gateway and how to use it, see What is Gateway.

    NOTE: Available since v1.132.0.

    Create Gateway Resource

    new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
    @overload
    def Gateway(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                description: Optional[str] = None,
                gateway_class: Optional[str] = None,
                gateway_name: Optional[str] = None,
                location: Optional[str] = None,
                payment_type: Optional[str] = None,
                public_network_bandwidth: Optional[int] = None,
                reason_detail: Optional[str] = None,
                reason_type: Optional[str] = None,
                release_after_expiration: Optional[bool] = None,
                storage_bundle_id: Optional[str] = None,
                type: Optional[str] = None,
                vswitch_id: Optional[str] = None)
    @overload
    def Gateway(resource_name: str,
                args: GatewayArgs,
                opts: Optional[ResourceOptions] = None)
    func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
    public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
    public Gateway(String name, GatewayArgs args)
    public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
    
    type: alicloud:cloudstoragegateway:Gateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Gateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Gateway resource accepts the following input properties:

    GatewayName string
    the name of gateway.
    Location string
    gateway location. the valid values: Cloud, On_Premise.
    StorageBundleId string
    storage bundle id.
    Type string
    gateway type. the valid values: Type, Iscsi.
    Description string
    the description of gateway.
    GatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    PaymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    PublicNetworkBandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    ReasonDetail string
    The reason detail of gateway.
    ReasonType string
    The reason type when user deletes the gateway.
    ReleaseAfterExpiration bool
    Whether to release the gateway due to expiration.
    VswitchId string
    The vswitch id of gateway.
    GatewayName string
    the name of gateway.
    Location string
    gateway location. the valid values: Cloud, On_Premise.
    StorageBundleId string
    storage bundle id.
    Type string
    gateway type. the valid values: Type, Iscsi.
    Description string
    the description of gateway.
    GatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    PaymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    PublicNetworkBandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    ReasonDetail string
    The reason detail of gateway.
    ReasonType string
    The reason type when user deletes the gateway.
    ReleaseAfterExpiration bool
    Whether to release the gateway due to expiration.
    VswitchId string
    The vswitch id of gateway.
    gatewayName String
    the name of gateway.
    location String
    gateway location. the valid values: Cloud, On_Premise.
    storageBundleId String
    storage bundle id.
    type String
    gateway type. the valid values: Type, Iscsi.
    description String
    the description of gateway.
    gatewayClass String
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    paymentType String
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth Integer
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail String
    The reason detail of gateway.
    reasonType String
    The reason type when user deletes the gateway.
    releaseAfterExpiration Boolean
    Whether to release the gateway due to expiration.
    vswitchId String
    The vswitch id of gateway.
    gatewayName string
    the name of gateway.
    location string
    gateway location. the valid values: Cloud, On_Premise.
    storageBundleId string
    storage bundle id.
    type string
    gateway type. the valid values: Type, Iscsi.
    description string
    the description of gateway.
    gatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    paymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth number
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail string
    The reason detail of gateway.
    reasonType string
    The reason type when user deletes the gateway.
    releaseAfterExpiration boolean
    Whether to release the gateway due to expiration.
    vswitchId string
    The vswitch id of gateway.
    gateway_name str
    the name of gateway.
    location str
    gateway location. the valid values: Cloud, On_Premise.
    storage_bundle_id str
    storage bundle id.
    type str
    gateway type. the valid values: Type, Iscsi.
    description str
    the description of gateway.
    gateway_class str
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    payment_type str
    The Payment type of gateway. The valid value: PayAsYouGo.
    public_network_bandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reason_detail str
    The reason detail of gateway.
    reason_type str
    The reason type when user deletes the gateway.
    release_after_expiration bool
    Whether to release the gateway due to expiration.
    vswitch_id str
    The vswitch id of gateway.
    gatewayName String
    the name of gateway.
    location String
    gateway location. the valid values: Cloud, On_Premise.
    storageBundleId String
    storage bundle id.
    type String
    gateway type. the valid values: Type, Iscsi.
    description String
    the description of gateway.
    gatewayClass String
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    paymentType String
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth Number
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail String
    The reason detail of gateway.
    reasonType String
    The reason type when user deletes the gateway.
    releaseAfterExpiration Boolean
    Whether to release the gateway due to expiration.
    vswitchId String
    The vswitch id of gateway.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    gateway status.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    gateway status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    gateway status.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    gateway status.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    gateway status.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    gateway status.

    Look up Existing Gateway Resource

    Get an existing Gateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GatewayState, opts?: CustomResourceOptions): Gateway
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            gateway_class: Optional[str] = None,
            gateway_name: Optional[str] = None,
            location: Optional[str] = None,
            payment_type: Optional[str] = None,
            public_network_bandwidth: Optional[int] = None,
            reason_detail: Optional[str] = None,
            reason_type: Optional[str] = None,
            release_after_expiration: Optional[bool] = None,
            status: Optional[str] = None,
            storage_bundle_id: Optional[str] = None,
            type: Optional[str] = None,
            vswitch_id: Optional[str] = None) -> Gateway
    func GetGateway(ctx *Context, name string, id IDInput, state *GatewayState, opts ...ResourceOption) (*Gateway, error)
    public static Gateway Get(string name, Input<string> id, GatewayState? state, CustomResourceOptions? opts = null)
    public static Gateway get(String name, Output<String> id, GatewayState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    the description of gateway.
    GatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    GatewayName string
    the name of gateway.
    Location string
    gateway location. the valid values: Cloud, On_Premise.
    PaymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    PublicNetworkBandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    ReasonDetail string
    The reason detail of gateway.
    ReasonType string
    The reason type when user deletes the gateway.
    ReleaseAfterExpiration bool
    Whether to release the gateway due to expiration.
    Status string
    gateway status.
    StorageBundleId string
    storage bundle id.
    Type string
    gateway type. the valid values: Type, Iscsi.
    VswitchId string
    The vswitch id of gateway.
    Description string
    the description of gateway.
    GatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    GatewayName string
    the name of gateway.
    Location string
    gateway location. the valid values: Cloud, On_Premise.
    PaymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    PublicNetworkBandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    ReasonDetail string
    The reason detail of gateway.
    ReasonType string
    The reason type when user deletes the gateway.
    ReleaseAfterExpiration bool
    Whether to release the gateway due to expiration.
    Status string
    gateway status.
    StorageBundleId string
    storage bundle id.
    Type string
    gateway type. the valid values: Type, Iscsi.
    VswitchId string
    The vswitch id of gateway.
    description String
    the description of gateway.
    gatewayClass String
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    gatewayName String
    the name of gateway.
    location String
    gateway location. the valid values: Cloud, On_Premise.
    paymentType String
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth Integer
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail String
    The reason detail of gateway.
    reasonType String
    The reason type when user deletes the gateway.
    releaseAfterExpiration Boolean
    Whether to release the gateway due to expiration.
    status String
    gateway status.
    storageBundleId String
    storage bundle id.
    type String
    gateway type. the valid values: Type, Iscsi.
    vswitchId String
    The vswitch id of gateway.
    description string
    the description of gateway.
    gatewayClass string
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    gatewayName string
    the name of gateway.
    location string
    gateway location. the valid values: Cloud, On_Premise.
    paymentType string
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth number
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail string
    The reason detail of gateway.
    reasonType string
    The reason type when user deletes the gateway.
    releaseAfterExpiration boolean
    Whether to release the gateway due to expiration.
    status string
    gateway status.
    storageBundleId string
    storage bundle id.
    type string
    gateway type. the valid values: Type, Iscsi.
    vswitchId string
    The vswitch id of gateway.
    description str
    the description of gateway.
    gateway_class str
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    gateway_name str
    the name of gateway.
    location str
    gateway location. the valid values: Cloud, On_Premise.
    payment_type str
    The Payment type of gateway. The valid value: PayAsYouGo.
    public_network_bandwidth int
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reason_detail str
    The reason detail of gateway.
    reason_type str
    The reason type when user deletes the gateway.
    release_after_expiration bool
    Whether to release the gateway due to expiration.
    status str
    gateway status.
    storage_bundle_id str
    storage bundle id.
    type str
    gateway type. the valid values: Type, Iscsi.
    vswitch_id str
    The vswitch id of gateway.
    description String
    the description of gateway.
    gatewayClass String
    the gateway class. the valid values: Basic, Standard,Enhanced,Advanced
    gatewayName String
    the name of gateway.
    location String
    gateway location. the valid values: Cloud, On_Premise.
    paymentType String
    The Payment type of gateway. The valid value: PayAsYouGo.
    publicNetworkBandwidth Number
    The public network bandwidth of gateway. Valid values between 5 and 200. Defaults to 5.
    reasonDetail String
    The reason detail of gateway.
    reasonType String
    The reason type when user deletes the gateway.
    releaseAfterExpiration Boolean
    Whether to release the gateway due to expiration.
    status String
    gateway status.
    storageBundleId String
    storage bundle id.
    type String
    gateway type. the valid values: Type, Iscsi.
    vswitchId String
    The vswitch id of gateway.

    Import

    Cloud Storage Gateway Gateway can be imported using the id, e.g.

    $ pulumi import alicloud:cloudstoragegateway/gateway:Gateway example <id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.50.0 published on Wednesday, Mar 6, 2024 by Pulumi