1. Packages
  2. Nutanix
  3. API Docs
  4. NdbLinkedDatabases
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

nutanix.NdbLinkedDatabases

Explore with Pulumi AI

nutanix logo
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    Create NdbLinkedDatabases Resource

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

    Constructor syntax

    new NdbLinkedDatabases(name: string, args: NdbLinkedDatabasesArgs, opts?: CustomResourceOptions);
    @overload
    def NdbLinkedDatabases(resource_name: str,
                           args: NdbLinkedDatabasesArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def NdbLinkedDatabases(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           database_id: Optional[str] = None,
                           database_name: Optional[str] = None)
    func NewNdbLinkedDatabases(ctx *Context, name string, args NdbLinkedDatabasesArgs, opts ...ResourceOption) (*NdbLinkedDatabases, error)
    public NdbLinkedDatabases(string name, NdbLinkedDatabasesArgs args, CustomResourceOptions? opts = null)
    public NdbLinkedDatabases(String name, NdbLinkedDatabasesArgs args)
    public NdbLinkedDatabases(String name, NdbLinkedDatabasesArgs args, CustomResourceOptions options)
    
    type: nutanix:NdbLinkedDatabases
    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 NdbLinkedDatabasesArgs
    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 NdbLinkedDatabasesArgs
    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 NdbLinkedDatabasesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NdbLinkedDatabasesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NdbLinkedDatabasesArgs
    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 ndbLinkedDatabasesResource = new Nutanix.NdbLinkedDatabases("ndbLinkedDatabasesResource", new()
    {
        DatabaseId = "string",
        DatabaseName = "string",
    });
    
    example, err := nutanix.NewNdbLinkedDatabases(ctx, "ndbLinkedDatabasesResource", &nutanix.NdbLinkedDatabasesArgs{
    	DatabaseId:   pulumi.String("string"),
    	DatabaseName: pulumi.String("string"),
    })
    
    var ndbLinkedDatabasesResource = new NdbLinkedDatabases("ndbLinkedDatabasesResource", NdbLinkedDatabasesArgs.builder()
        .databaseId("string")
        .databaseName("string")
        .build());
    
    ndb_linked_databases_resource = nutanix.NdbLinkedDatabases("ndbLinkedDatabasesResource",
        database_id="string",
        database_name="string")
    
    const ndbLinkedDatabasesResource = new nutanix.NdbLinkedDatabases("ndbLinkedDatabasesResource", {
        databaseId: "string",
        databaseName: "string",
    });
    
    type: nutanix:NdbLinkedDatabases
    properties:
        databaseId: string
        databaseName: string
    

    NdbLinkedDatabases 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 NdbLinkedDatabases resource accepts the following input properties:

    Outputs

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

    DatabaseStatus string
    DateCreated string
    DateModified string
    Description string
    Id string
    The provider-assigned unique ID for this managed resource.
    Infos List<PiersKarsenbarg.Nutanix.Outputs.NdbLinkedDatabasesInfo>
    Metric Dictionary<string, string>
    Name string
    ParentDatabaseId string
    ParentLinkedDatabaseId string
    SnapshotId string
    Status string
    Timezone string
    DatabaseStatus string
    DateCreated string
    DateModified string
    Description string
    Id string
    The provider-assigned unique ID for this managed resource.
    Infos []NdbLinkedDatabasesInfo
    Metric map[string]string
    Name string
    ParentDatabaseId string
    ParentLinkedDatabaseId string
    SnapshotId string
    Status string
    Timezone string
    databaseStatus String
    dateCreated String
    dateModified String
    description String
    id String
    The provider-assigned unique ID for this managed resource.
    infos List<NdbLinkedDatabasesInfo>
    metric Map<String,String>
    name String
    parentDatabaseId String
    parentLinkedDatabaseId String
    snapshotId String
    status String
    timezone String
    databaseStatus string
    dateCreated string
    dateModified string
    description string
    id string
    The provider-assigned unique ID for this managed resource.
    infos NdbLinkedDatabasesInfo[]
    metric {[key: string]: string}
    name string
    parentDatabaseId string
    parentLinkedDatabaseId string
    snapshotId string
    status string
    timezone string
    database_status str
    date_created str
    date_modified str
    description str
    id str
    The provider-assigned unique ID for this managed resource.
    infos Sequence[NdbLinkedDatabasesInfo]
    metric Mapping[str, str]
    name str
    parent_database_id str
    parent_linked_database_id str
    snapshot_id str
    status str
    timezone str
    databaseStatus String
    dateCreated String
    dateModified String
    description String
    id String
    The provider-assigned unique ID for this managed resource.
    infos List<Property Map>
    metric Map<String>
    name String
    parentDatabaseId String
    parentLinkedDatabaseId String
    snapshotId String
    status String
    timezone String

    Look up Existing NdbLinkedDatabases Resource

    Get an existing NdbLinkedDatabases 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?: NdbLinkedDatabasesState, opts?: CustomResourceOptions): NdbLinkedDatabases
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            database_id: Optional[str] = None,
            database_name: Optional[str] = None,
            database_status: Optional[str] = None,
            date_created: Optional[str] = None,
            date_modified: Optional[str] = None,
            description: Optional[str] = None,
            infos: Optional[Sequence[NdbLinkedDatabasesInfoArgs]] = None,
            metric: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            parent_database_id: Optional[str] = None,
            parent_linked_database_id: Optional[str] = None,
            snapshot_id: Optional[str] = None,
            status: Optional[str] = None,
            timezone: Optional[str] = None) -> NdbLinkedDatabases
    func GetNdbLinkedDatabases(ctx *Context, name string, id IDInput, state *NdbLinkedDatabasesState, opts ...ResourceOption) (*NdbLinkedDatabases, error)
    public static NdbLinkedDatabases Get(string name, Input<string> id, NdbLinkedDatabasesState? state, CustomResourceOptions? opts = null)
    public static NdbLinkedDatabases get(String name, Output<String> id, NdbLinkedDatabasesState 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:

    Supporting Types

    NdbLinkedDatabasesInfo, NdbLinkedDatabasesInfoArgs

    NdbLinkedDatabasesInfoInfo, NdbLinkedDatabasesInfoInfoArgs

    CreatedBy string
    CreatedBy string
    createdBy String
    createdBy string
    createdBy String

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg