nsxt.PolicyMetadataProxy
Explore with Pulumi AI
Create PolicyMetadataProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyMetadataProxy(name: string, args: PolicyMetadataProxyArgs, opts?: CustomResourceOptions);
@overload
def PolicyMetadataProxy(resource_name: str,
args: PolicyMetadataProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyMetadataProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
edge_cluster_path: Optional[str] = None,
secret: Optional[str] = None,
server_address: Optional[str] = None,
crypto_protocols: Optional[Sequence[str]] = None,
description: Optional[str] = None,
enable_standby_relocation: Optional[bool] = None,
nsx_id: Optional[str] = None,
policy_metadata_proxy_id: Optional[str] = None,
preferred_edge_paths: Optional[Sequence[str]] = None,
server_certificates: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyMetadataProxyTagArgs]] = None)
func NewPolicyMetadataProxy(ctx *Context, name string, args PolicyMetadataProxyArgs, opts ...ResourceOption) (*PolicyMetadataProxy, error)
public PolicyMetadataProxy(string name, PolicyMetadataProxyArgs args, CustomResourceOptions? opts = null)
public PolicyMetadataProxy(String name, PolicyMetadataProxyArgs args)
public PolicyMetadataProxy(String name, PolicyMetadataProxyArgs args, CustomResourceOptions options)
type: nsxt:PolicyMetadataProxy
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 PolicyMetadataProxyArgs
- 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 PolicyMetadataProxyArgs
- 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 PolicyMetadataProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyMetadataProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyMetadataProxyArgs
- 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 policyMetadataProxyResource = new Nsxt.PolicyMetadataProxy("policyMetadataProxyResource", new()
{
DisplayName = "string",
EdgeClusterPath = "string",
Secret = "string",
ServerAddress = "string",
CryptoProtocols = new[]
{
"string",
},
Description = "string",
EnableStandbyRelocation = false,
NsxId = "string",
PolicyMetadataProxyId = "string",
PreferredEdgePaths = new[]
{
"string",
},
ServerCertificates = new[]
{
"string",
},
Tags = new[]
{
new Nsxt.Inputs.PolicyMetadataProxyTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyMetadataProxy(ctx, "policyMetadataProxyResource", &nsxt.PolicyMetadataProxyArgs{
DisplayName: pulumi.String("string"),
EdgeClusterPath: pulumi.String("string"),
Secret: pulumi.String("string"),
ServerAddress: pulumi.String("string"),
CryptoProtocols: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
EnableStandbyRelocation: pulumi.Bool(false),
NsxId: pulumi.String("string"),
PolicyMetadataProxyId: pulumi.String("string"),
PreferredEdgePaths: pulumi.StringArray{
pulumi.String("string"),
},
ServerCertificates: pulumi.StringArray{
pulumi.String("string"),
},
Tags: nsxt.PolicyMetadataProxyTagArray{
&nsxt.PolicyMetadataProxyTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyMetadataProxyResource = new PolicyMetadataProxy("policyMetadataProxyResource", PolicyMetadataProxyArgs.builder()
.displayName("string")
.edgeClusterPath("string")
.secret("string")
.serverAddress("string")
.cryptoProtocols("string")
.description("string")
.enableStandbyRelocation(false)
.nsxId("string")
.policyMetadataProxyId("string")
.preferredEdgePaths("string")
.serverCertificates("string")
.tags(PolicyMetadataProxyTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_metadata_proxy_resource = nsxt.PolicyMetadataProxy("policyMetadataProxyResource",
display_name="string",
edge_cluster_path="string",
secret="string",
server_address="string",
crypto_protocols=["string"],
description="string",
enable_standby_relocation=False,
nsx_id="string",
policy_metadata_proxy_id="string",
preferred_edge_paths=["string"],
server_certificates=["string"],
tags=[{
"scope": "string",
"tag": "string",
}])
const policyMetadataProxyResource = new nsxt.PolicyMetadataProxy("policyMetadataProxyResource", {
displayName: "string",
edgeClusterPath: "string",
secret: "string",
serverAddress: "string",
cryptoProtocols: ["string"],
description: "string",
enableStandbyRelocation: false,
nsxId: "string",
policyMetadataProxyId: "string",
preferredEdgePaths: ["string"],
serverCertificates: ["string"],
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyMetadataProxy
properties:
cryptoProtocols:
- string
description: string
displayName: string
edgeClusterPath: string
enableStandbyRelocation: false
nsxId: string
policyMetadataProxyId: string
preferredEdgePaths:
- string
secret: string
serverAddress: string
serverCertificates:
- string
tags:
- scope: string
tag: string
PolicyMetadataProxy 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 PolicyMetadataProxy resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - Policy path to Edge Cluster.
- Secret string
- Secret.
- Server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- Crypto
Protocols List<string> - Metadata proxy supported cryptographic protocols.
- Description string
- Description of the resource.
- Enable
Standby boolRelocation - Flag to enable standby relocation. Default is false.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Metadata stringProxy Id - ID of the resource.
- Preferred
Edge List<string>Paths - Preferred Edge Paths.
- Server
Certificates List<string> - Policy paths to Certificate Authority (CA) certificates.
- List<Policy
Metadata Proxy Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - Policy path to Edge Cluster.
- Secret string
- Secret.
- Server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- Crypto
Protocols []string - Metadata proxy supported cryptographic protocols.
- Description string
- Description of the resource.
- Enable
Standby boolRelocation - Flag to enable standby relocation. Default is false.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Metadata stringProxy Id - ID of the resource.
- Preferred
Edge []stringPaths - Preferred Edge Paths.
- Server
Certificates []string - Policy paths to Certificate Authority (CA) certificates.
- []Policy
Metadata Proxy Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - Policy path to Edge Cluster.
- secret String
- Secret.
- server
Address String - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- crypto
Protocols List<String> - Metadata proxy supported cryptographic protocols.
- description String
- Description of the resource.
- enable
Standby BooleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Metadata StringProxy Id - ID of the resource.
- preferred
Edge List<String>Paths - Preferred Edge Paths.
- server
Certificates List<String> - Policy paths to Certificate Authority (CA) certificates.
- List<Policy
Metadata Proxy Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- edge
Cluster stringPath - Policy path to Edge Cluster.
- secret string
- Secret.
- server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- crypto
Protocols string[] - Metadata proxy supported cryptographic protocols.
- description string
- Description of the resource.
- enable
Standby booleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Metadata stringProxy Id - ID of the resource.
- preferred
Edge string[]Paths - Preferred Edge Paths.
- server
Certificates string[] - Policy paths to Certificate Authority (CA) certificates.
- Policy
Metadata Proxy Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- edge_
cluster_ strpath - Policy path to Edge Cluster.
- secret str
- Secret.
- server_
address str - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- crypto_
protocols Sequence[str] - Metadata proxy supported cryptographic protocols.
- description str
- Description of the resource.
- enable_
standby_ boolrelocation - Flag to enable standby relocation. Default is false.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
metadata_ strproxy_ id - ID of the resource.
- preferred_
edge_ Sequence[str]paths - Preferred Edge Paths.
- server_
certificates Sequence[str] - Policy paths to Certificate Authority (CA) certificates.
- Sequence[Policy
Metadata Proxy Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - Policy path to Edge Cluster.
- secret String
- Secret.
- server
Address String - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- crypto
Protocols List<String> - Metadata proxy supported cryptographic protocols.
- description String
- Description of the resource.
- enable
Standby BooleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Metadata StringProxy Id - ID of the resource.
- preferred
Edge List<String>Paths - Preferred Edge Paths.
- server
Certificates List<String> - Policy paths to Certificate Authority (CA) certificates.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyMetadataProxy resource produces the following output properties:
Look up Existing PolicyMetadataProxy Resource
Get an existing PolicyMetadataProxy 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?: PolicyMetadataProxyState, opts?: CustomResourceOptions): PolicyMetadataProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
crypto_protocols: Optional[Sequence[str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
edge_cluster_path: Optional[str] = None,
enable_standby_relocation: Optional[bool] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_metadata_proxy_id: Optional[str] = None,
preferred_edge_paths: Optional[Sequence[str]] = None,
revision: Optional[float] = None,
secret: Optional[str] = None,
server_address: Optional[str] = None,
server_certificates: Optional[Sequence[str]] = None,
tags: Optional[Sequence[PolicyMetadataProxyTagArgs]] = None) -> PolicyMetadataProxy
func GetPolicyMetadataProxy(ctx *Context, name string, id IDInput, state *PolicyMetadataProxyState, opts ...ResourceOption) (*PolicyMetadataProxy, error)
public static PolicyMetadataProxy Get(string name, Input<string> id, PolicyMetadataProxyState? state, CustomResourceOptions? opts = null)
public static PolicyMetadataProxy get(String name, Output<String> id, PolicyMetadataProxyState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyMetadataProxy 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.
- Crypto
Protocols List<string> - Metadata proxy supported cryptographic protocols.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - Policy path to Edge Cluster.
- Enable
Standby boolRelocation - Flag to enable standby relocation. Default is false.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Metadata stringProxy Id - ID of the resource.
- Preferred
Edge List<string>Paths - Preferred Edge Paths.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Secret string
- Secret.
- Server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- Server
Certificates List<string> - Policy paths to Certificate Authority (CA) certificates.
- List<Policy
Metadata Proxy Tag> - A list of scope + tag pairs to associate with this resource.
- Crypto
Protocols []string - Metadata proxy supported cryptographic protocols.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Edge
Cluster stringPath - Policy path to Edge Cluster.
- Enable
Standby boolRelocation - Flag to enable standby relocation. Default is false.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Path string
- The NSX path of the policy resource.
- Policy
Metadata stringProxy Id - ID of the resource.
- Preferred
Edge []stringPaths - Preferred Edge Paths.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Secret string
- Secret.
- Server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- Server
Certificates []string - Policy paths to Certificate Authority (CA) certificates.
- []Policy
Metadata Proxy Tag Args - A list of scope + tag pairs to associate with this resource.
- crypto
Protocols List<String> - Metadata proxy supported cryptographic protocols.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - Policy path to Edge Cluster.
- enable
Standby BooleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Metadata StringProxy Id - ID of the resource.
- preferred
Edge List<String>Paths - Preferred Edge Paths.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- secret String
- Secret.
- server
Address String - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- server
Certificates List<String> - Policy paths to Certificate Authority (CA) certificates.
- List<Policy
Metadata Proxy Tag> - A list of scope + tag pairs to associate with this resource.
- crypto
Protocols string[] - Metadata proxy supported cryptographic protocols.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- edge
Cluster stringPath - Policy path to Edge Cluster.
- enable
Standby booleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path string
- The NSX path of the policy resource.
- policy
Metadata stringProxy Id - ID of the resource.
- preferred
Edge string[]Paths - Preferred Edge Paths.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- secret string
- Secret.
- server
Address string - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- server
Certificates string[] - Policy paths to Certificate Authority (CA) certificates.
- Policy
Metadata Proxy Tag[] - A list of scope + tag pairs to associate with this resource.
- crypto_
protocols Sequence[str] - Metadata proxy supported cryptographic protocols.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- edge_
cluster_ strpath - Policy path to Edge Cluster.
- enable_
standby_ boolrelocation - Flag to enable standby relocation. Default is false.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path str
- The NSX path of the policy resource.
- policy_
metadata_ strproxy_ id - ID of the resource.
- preferred_
edge_ Sequence[str]paths - Preferred Edge Paths.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- secret str
- Secret.
- server_
address str - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- server_
certificates Sequence[str] - Policy paths to Certificate Authority (CA) certificates.
- Sequence[Policy
Metadata Proxy Tag Args] - A list of scope + tag pairs to associate with this resource.
- crypto
Protocols List<String> - Metadata proxy supported cryptographic protocols.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- edge
Cluster StringPath - Policy path to Edge Cluster.
- enable
Standby BooleanRelocation - Flag to enable standby relocation. Default is false.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- path String
- The NSX path of the policy resource.
- policy
Metadata StringProxy Id - ID of the resource.
- preferred
Edge List<String>Paths - Preferred Edge Paths.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- secret String
- Secret.
- server
Address String - Server Address. This field is a URL. Example formats - http://1.2.3.4:3888/path, http://text-md-proxy:5001/. Port number should be between 3000-9000.
- server
Certificates List<String> - Policy paths to Certificate Authority (CA) certificates.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyMetadataProxyTag, PolicyMetadataProxyTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.