1. Packages
  2. Nsxt Provider
  3. API Docs
  4. PolicyMetadataProxy
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

nsxt.PolicyMetadataProxy

Explore with Pulumi AI

nsxt logo
nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware

    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:

    DisplayName string
    Display name of the resource.
    EdgeClusterPath string
    Policy path to Edge Cluster.
    Secret string
    Secret.
    ServerAddress 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.
    CryptoProtocols List<string>
    Metadata proxy supported cryptographic protocols.
    Description string
    Description of the resource.
    EnableStandbyRelocation bool
    Flag to enable standby relocation. Default is false.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyMetadataProxyId string
    ID of the resource.
    PreferredEdgePaths List<string>
    Preferred Edge Paths.
    ServerCertificates List<string>
    Policy paths to Certificate Authority (CA) certificates.
    Tags List<PolicyMetadataProxyTag>
    A list of scope + tag pairs to associate with this resource.
    DisplayName string
    Display name of the resource.
    EdgeClusterPath string
    Policy path to Edge Cluster.
    Secret string
    Secret.
    ServerAddress 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.
    CryptoProtocols []string
    Metadata proxy supported cryptographic protocols.
    Description string
    Description of the resource.
    EnableStandbyRelocation bool
    Flag to enable standby relocation. Default is false.
    NsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    PolicyMetadataProxyId string
    ID of the resource.
    PreferredEdgePaths []string
    Preferred Edge Paths.
    ServerCertificates []string
    Policy paths to Certificate Authority (CA) certificates.
    Tags []PolicyMetadataProxyTagArgs
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    edgeClusterPath String
    Policy path to Edge Cluster.
    secret String
    Secret.
    serverAddress 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.
    cryptoProtocols List<String>
    Metadata proxy supported cryptographic protocols.
    description String
    Description of the resource.
    enableStandbyRelocation Boolean
    Flag to enable standby relocation. Default is false.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyMetadataProxyId String
    ID of the resource.
    preferredEdgePaths List<String>
    Preferred Edge Paths.
    serverCertificates List<String>
    Policy paths to Certificate Authority (CA) certificates.
    tags List<PolicyMetadataProxyTag>
    A list of scope + tag pairs to associate with this resource.
    displayName string
    Display name of the resource.
    edgeClusterPath string
    Policy path to Edge Cluster.
    secret string
    Secret.
    serverAddress 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.
    cryptoProtocols string[]
    Metadata proxy supported cryptographic protocols.
    description string
    Description of the resource.
    enableStandbyRelocation boolean
    Flag to enable standby relocation. Default is false.
    nsxId string
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyMetadataProxyId string
    ID of the resource.
    preferredEdgePaths string[]
    Preferred Edge Paths.
    serverCertificates string[]
    Policy paths to Certificate Authority (CA) certificates.
    tags PolicyMetadataProxyTag[]
    A list of scope + tag pairs to associate with this resource.
    display_name str
    Display name of the resource.
    edge_cluster_path str
    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_relocation bool
    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_proxy_id str
    ID of the resource.
    preferred_edge_paths Sequence[str]
    Preferred Edge Paths.
    server_certificates Sequence[str]
    Policy paths to Certificate Authority (CA) certificates.
    tags Sequence[PolicyMetadataProxyTagArgs]
    A list of scope + tag pairs to associate with this resource.
    displayName String
    Display name of the resource.
    edgeClusterPath String
    Policy path to Edge Cluster.
    secret String
    Secret.
    serverAddress 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.
    cryptoProtocols List<String>
    Metadata proxy supported cryptographic protocols.
    description String
    Description of the resource.
    enableStandbyRelocation Boolean
    Flag to enable standby relocation. Default is false.
    nsxId String
    The NSX ID of this resource. If set, this ID will be used to create the resource.
    policyMetadataProxyId String
    ID of the resource.
    preferredEdgePaths List<String>
    Preferred Edge Paths.
    serverCertificates List<String>
    Policy paths to Certificate Authority (CA) certificates.
    tags 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:

    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the policy resource.
    Revision double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    Id string
    The provider-assigned unique ID for this managed resource.
    Path string
    The NSX path of the policy resource.
    Revision float64
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the policy resource.
    revision Double
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id string
    The provider-assigned unique ID for this managed resource.
    path string
    The NSX path of the policy resource.
    revision number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id str
    The provider-assigned unique ID for this managed resource.
    path str
    The NSX path of the policy resource.
    revision float
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
    id String
    The provider-assigned unique ID for this managed resource.
    path String
    The NSX path of the policy resource.
    revision Number
    Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.

    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.
    The following state arguments are supported:
    CryptoProtocols List<string>
    Metadata proxy supported cryptographic protocols.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    EdgeClusterPath string
    Policy path to Edge Cluster.
    EnableStandbyRelocation bool
    Flag to enable standby relocation. Default is false.
    NsxId 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.
    PolicyMetadataProxyId string
    ID of the resource.
    PreferredEdgePaths List<string>
    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.
    ServerAddress 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.
    ServerCertificates List<string>
    Policy paths to Certificate Authority (CA) certificates.
    Tags List<PolicyMetadataProxyTag>
    A list of scope + tag pairs to associate with this resource.
    CryptoProtocols []string
    Metadata proxy supported cryptographic protocols.
    Description string
    Description of the resource.
    DisplayName string
    Display name of the resource.
    EdgeClusterPath string
    Policy path to Edge Cluster.
    EnableStandbyRelocation bool
    Flag to enable standby relocation. Default is false.
    NsxId 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.
    PolicyMetadataProxyId string
    ID of the resource.
    PreferredEdgePaths []string
    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.
    ServerAddress 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.
    ServerCertificates []string
    Policy paths to Certificate Authority (CA) certificates.
    Tags []PolicyMetadataProxyTagArgs
    A list of scope + tag pairs to associate with this resource.
    cryptoProtocols List<String>
    Metadata proxy supported cryptographic protocols.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    edgeClusterPath String
    Policy path to Edge Cluster.
    enableStandbyRelocation Boolean
    Flag to enable standby relocation. Default is false.
    nsxId 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.
    policyMetadataProxyId String
    ID of the resource.
    preferredEdgePaths List<String>
    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.
    serverAddress 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.
    serverCertificates List<String>
    Policy paths to Certificate Authority (CA) certificates.
    tags List<PolicyMetadataProxyTag>
    A list of scope + tag pairs to associate with this resource.
    cryptoProtocols string[]
    Metadata proxy supported cryptographic protocols.
    description string
    Description of the resource.
    displayName string
    Display name of the resource.
    edgeClusterPath string
    Policy path to Edge Cluster.
    enableStandbyRelocation boolean
    Flag to enable standby relocation. Default is false.
    nsxId 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.
    policyMetadataProxyId string
    ID of the resource.
    preferredEdgePaths string[]
    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.
    serverAddress 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.
    serverCertificates string[]
    Policy paths to Certificate Authority (CA) certificates.
    tags PolicyMetadataProxyTag[]
    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_path str
    Policy path to Edge Cluster.
    enable_standby_relocation bool
    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_proxy_id str
    ID of the resource.
    preferred_edge_paths Sequence[str]
    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.
    tags Sequence[PolicyMetadataProxyTagArgs]
    A list of scope + tag pairs to associate with this resource.
    cryptoProtocols List<String>
    Metadata proxy supported cryptographic protocols.
    description String
    Description of the resource.
    displayName String
    Display name of the resource.
    edgeClusterPath String
    Policy path to Edge Cluster.
    enableStandbyRelocation Boolean
    Flag to enable standby relocation. Default is false.
    nsxId 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.
    policyMetadataProxyId String
    ID of the resource.
    preferredEdgePaths List<String>
    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.
    serverAddress 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.
    serverCertificates List<String>
    Policy paths to Certificate Authority (CA) certificates.
    tags List<Property Map>
    A list of scope + tag pairs to associate with this resource.

    Supporting Types

    PolicyMetadataProxyTag, PolicyMetadataProxyTagArgs

    Scope string
    Tag string
    A list of scope + tag pairs to associate with this resource.
    Scope string
    Tag string
    A list of scope + tag pairs to associate with this resource.
    scope String
    tag String
    A list of scope + tag pairs to associate with this resource.
    scope string
    tag string
    A list of scope + tag pairs to associate with this resource.
    scope str
    tag str
    A list of scope + tag pairs to associate with this resource.
    scope String
    tag String
    A list of scope + tag pairs to associate with this resource.

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt logo
    nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware