1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. lindorm
  5. PublicNetwork
Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi

alicloud.lindorm.PublicNetwork

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.81.0 published on Monday, Jun 23, 2025 by Pulumi

    Import

    Lindorm Public Network can be imported using the id, e.g.

    $ pulumi import alicloud:lindorm/publicNetwork:PublicNetwork example <id>
    

    Create PublicNetwork Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PublicNetwork(name: string, args: PublicNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def PublicNetwork(resource_name: str,
                      args: PublicNetworkArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PublicNetwork(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      engine_type: Optional[str] = None,
                      instance_id: Optional[str] = None,
                      enable_public_network: Optional[int] = None)
    func NewPublicNetwork(ctx *Context, name string, args PublicNetworkArgs, opts ...ResourceOption) (*PublicNetwork, error)
    public PublicNetwork(string name, PublicNetworkArgs args, CustomResourceOptions? opts = null)
    public PublicNetwork(String name, PublicNetworkArgs args)
    public PublicNetwork(String name, PublicNetworkArgs args, CustomResourceOptions options)
    
    type: alicloud:lindorm:PublicNetwork
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PublicNetworkArgs
    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 PublicNetworkArgs
    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 PublicNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PublicNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PublicNetworkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var publicNetworkResource = new AliCloud.Lindorm.PublicNetwork("publicNetworkResource", new()
    {
        EngineType = "string",
        InstanceId = "string",
        EnablePublicNetwork = 0,
    });
    
    example, err := lindorm.NewPublicNetwork(ctx, "publicNetworkResource", &lindorm.PublicNetworkArgs{
    	EngineType:          pulumi.String("string"),
    	InstanceId:          pulumi.String("string"),
    	EnablePublicNetwork: pulumi.Int(0),
    })
    
    var publicNetworkResource = new PublicNetwork("publicNetworkResource", PublicNetworkArgs.builder()
        .engineType("string")
        .instanceId("string")
        .enablePublicNetwork(0)
        .build());
    
    public_network_resource = alicloud.lindorm.PublicNetwork("publicNetworkResource",
        engine_type="string",
        instance_id="string",
        enable_public_network=0)
    
    const publicNetworkResource = new alicloud.lindorm.PublicNetwork("publicNetworkResource", {
        engineType: "string",
        instanceId: "string",
        enablePublicNetwork: 0,
    });
    
    type: alicloud:lindorm:PublicNetwork
    properties:
        enablePublicNetwork: 0
        engineType: string
        instanceId: string
    

    PublicNetwork Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PublicNetwork resource accepts the following input properties:

    EngineType string
    Engine type, value:
    InstanceId string
    Instance ID
    EnablePublicNetwork int
    Open or close the public connection. Value:
    EngineType string
    Engine type, value:
    InstanceId string
    Instance ID
    EnablePublicNetwork int
    Open or close the public connection. Value:
    engineType String
    Engine type, value:
    instanceId String
    Instance ID
    enablePublicNetwork Integer
    Open or close the public connection. Value:
    engineType string
    Engine type, value:
    instanceId string
    Instance ID
    enablePublicNetwork number
    Open or close the public connection. Value:
    engine_type str
    Engine type, value:
    instance_id str
    Instance ID
    enable_public_network int
    Open or close the public connection. Value:
    engineType String
    Engine type, value:
    instanceId String
    Instance ID
    enablePublicNetwork Number
    Open or close the public connection. Value:

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.

    Look up Existing PublicNetwork Resource

    Get an existing PublicNetwork 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?: PublicNetworkState, opts?: CustomResourceOptions): PublicNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable_public_network: Optional[int] = None,
            engine_type: Optional[str] = None,
            instance_id: Optional[str] = None,
            status: Optional[str] = None) -> PublicNetwork
    func GetPublicNetwork(ctx *Context, name string, id IDInput, state *PublicNetworkState, opts ...ResourceOption) (*PublicNetwork, error)
    public static PublicNetwork Get(string name, Input<string> id, PublicNetworkState? state, CustomResourceOptions? opts = null)
    public static PublicNetwork get(String name, Output<String> id, PublicNetworkState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:lindorm:PublicNetwork    get:      id: ${id}
    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:
    EnablePublicNetwork int
    Open or close the public connection. Value:
    EngineType string
    Engine type, value:
    InstanceId string
    Instance ID
    Status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    EnablePublicNetwork int
    Open or close the public connection. Value:
    EngineType string
    Engine type, value:
    InstanceId string
    Instance ID
    Status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    enablePublicNetwork Integer
    Open or close the public connection. Value:
    engineType String
    Engine type, value:
    instanceId String
    Instance ID
    status String
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    enablePublicNetwork number
    Open or close the public connection. Value:
    engineType string
    Engine type, value:
    instanceId string
    Instance ID
    status string
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    enable_public_network int
    Open or close the public connection. Value:
    engine_type str
    Engine type, value:
    instance_id str
    Instance ID
    status str
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.
    enablePublicNetwork Number
    Open or close the public connection. Value:
    engineType String
    Engine type, value:
    instanceId String
    Instance ID
    status String
    Instance status, returns:_EXPANDING: Capacity-based cloud storage is being expanded._version_transing: The minor version is being upgraded._CHANGING: The specification is being upgraded or downgraded._SWITCHING:SSL is being changed._OPENING: The data subscription function is being activated._TRANSFER: migrates data to the database._CREATING: in the production disaster recovery instance._RECOVERING: The backup is being restored._IMPORTING: Data is being imported._MODIFYING: The network is being changed._SWITCHING: The internal network and the external network are being switched._CREATING: creates a network link._DELETING`: deletes a network link.

    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.81.0 published on Monday, Jun 23, 2025 by Pulumi