nutanix.NdbLinkedDatabases
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NdbLinkedDatabases resource accepts the following input properties:
- Database
Id string - Database
Name string
- Database
Id string - Database
Name string
- database
Id String - database
Name String
- database
Id string - database
Name string
- database_
id str - database_
name str
- database
Id String - database
Name String
Outputs
All input properties are implicitly available as output properties. Additionally, the NdbLinkedDatabases resource produces the following output properties:
- Database
Status string - Date
Created string - Date
Modified string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Infos
List<Piers
Karsenbarg. Nutanix. Outputs. Ndb Linked Databases Info> - Metric Dictionary<string, string>
- Name string
- Parent
Database stringId - Parent
Linked stringDatabase Id - Snapshot
Id string - Status string
- Timezone string
- Database
Status string - Date
Created string - Date
Modified string - Description string
- Id string
- The provider-assigned unique ID for this managed resource.
- Infos
[]Ndb
Linked Databases Info - Metric map[string]string
- Name string
- Parent
Database stringId - Parent
Linked stringDatabase Id - Snapshot
Id string - Status string
- Timezone string
- database
Status String - date
Created String - date
Modified String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- infos
List<Ndb
Linked Databases Info> - metric Map<String,String>
- name String
- parent
Database StringId - parent
Linked StringDatabase Id - snapshot
Id String - status String
- timezone String
- database
Status string - date
Created string - date
Modified string - description string
- id string
- The provider-assigned unique ID for this managed resource.
- infos
Ndb
Linked Databases Info[] - metric {[key: string]: string}
- name string
- parent
Database stringId - parent
Linked stringDatabase Id - snapshot
Id 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[Ndb
Linked Databases Info] - metric Mapping[str, str]
- name str
- parent_
database_ strid - parent_
linked_ strdatabase_ id - snapshot_
id str - status str
- timezone str
- database
Status String - date
Created String - date
Modified String - description String
- id String
- The provider-assigned unique ID for this managed resource.
- infos List<Property Map>
- metric Map<String>
- name String
- parent
Database StringId - parent
Linked StringDatabase Id - snapshot
Id 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.
- Database
Id string - Database
Name string - Database
Status string - Date
Created string - Date
Modified string - Description string
- Infos
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Linked Databases Info> - Metric Dictionary<string, string>
- Name string
- Parent
Database stringId - Parent
Linked stringDatabase Id - Snapshot
Id string - Status string
- Timezone string
- Database
Id string - Database
Name string - Database
Status string - Date
Created string - Date
Modified string - Description string
- Infos
[]Ndb
Linked Databases Info Args - Metric map[string]string
- Name string
- Parent
Database stringId - Parent
Linked stringDatabase Id - Snapshot
Id string - Status string
- Timezone string
- database
Id String - database
Name String - database
Status String - date
Created String - date
Modified String - description String
- infos
List<Ndb
Linked Databases Info> - metric Map<String,String>
- name String
- parent
Database StringId - parent
Linked StringDatabase Id - snapshot
Id String - status String
- timezone String
- database
Id string - database
Name string - database
Status string - date
Created string - date
Modified string - description string
- infos
Ndb
Linked Databases Info[] - metric {[key: string]: string}
- name string
- parent
Database stringId - parent
Linked stringDatabase Id - snapshot
Id string - status string
- timezone string
- database_
id str - database_
name str - database_
status str - date_
created str - date_
modified str - description str
- infos
Sequence[Ndb
Linked Databases Info Args] - metric Mapping[str, str]
- name str
- parent_
database_ strid - parent_
linked_ strdatabase_ id - snapshot_
id str - status str
- timezone str
- database
Id String - database
Name String - database
Status String - date
Created String - date
Modified String - description String
- infos List<Property Map>
- metric Map<String>
- name String
- parent
Database StringId - parent
Linked StringDatabase Id - snapshot
Id String - status String
- timezone String
Supporting Types
NdbLinkedDatabasesInfo, NdbLinkedDatabasesInfoArgs
- Infos
List<Piers
Karsenbarg. Nutanix. Inputs. Ndb Linked Databases Info Info> - Secure
Info Dictionary<string, string>
- Infos
[]Ndb
Linked Databases Info Info - Secure
Info map[string]string
- infos
List<Ndb
Linked Databases Info Info> - secure
Info Map<String,String>
- infos
Ndb
Linked Databases Info Info[] - secure
Info {[key: string]: string}
- infos
Sequence[Ndb
Linked Databases Info Info] - secure_
info Mapping[str, str]
- infos List<Property Map>
- secure
Info Map<String>
NdbLinkedDatabasesInfoInfo, NdbLinkedDatabasesInfoInfoArgs
- Created
By string
- Created
By string
- created
By String
- created
By string
- created_
by str
- created
By String
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.