nsxt.PolicyGlobalManager
Explore with Pulumi AI
Create PolicyGlobalManager Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGlobalManager(name: string, args: PolicyGlobalManagerArgs, opts?: CustomResourceOptions);
@overload
def PolicyGlobalManager(resource_name: str,
args: PolicyGlobalManagerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGlobalManager(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
mode: Optional[str] = None,
connection_infos: Optional[Sequence[PolicyGlobalManagerConnectionInfoArgs]] = None,
description: Optional[str] = None,
fail_if_rtt_exceeded: Optional[bool] = None,
maximum_rtt: Optional[float] = None,
nsx_id: Optional[str] = None,
policy_global_manager_id: Optional[str] = None,
tags: Optional[Sequence[PolicyGlobalManagerTagArgs]] = None)
func NewPolicyGlobalManager(ctx *Context, name string, args PolicyGlobalManagerArgs, opts ...ResourceOption) (*PolicyGlobalManager, error)
public PolicyGlobalManager(string name, PolicyGlobalManagerArgs args, CustomResourceOptions? opts = null)
public PolicyGlobalManager(String name, PolicyGlobalManagerArgs args)
public PolicyGlobalManager(String name, PolicyGlobalManagerArgs args, CustomResourceOptions options)
type: nsxt:PolicyGlobalManager
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 PolicyGlobalManagerArgs
- 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 PolicyGlobalManagerArgs
- 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 PolicyGlobalManagerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGlobalManagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGlobalManagerArgs
- 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 policyGlobalManagerResource = new Nsxt.PolicyGlobalManager("policyGlobalManagerResource", new()
{
DisplayName = "string",
Mode = "string",
ConnectionInfos = new[]
{
new Nsxt.Inputs.PolicyGlobalManagerConnectionInfoArgs
{
Fqdn = "string",
Password = "string",
SiteUuid = "string",
Thumbprint = "string",
Username = "string",
},
},
Description = "string",
FailIfRttExceeded = false,
MaximumRtt = 0,
NsxId = "string",
PolicyGlobalManagerId = "string",
Tags = new[]
{
new Nsxt.Inputs.PolicyGlobalManagerTagArgs
{
Scope = "string",
Tag = "string",
},
},
});
example, err := nsxt.NewPolicyGlobalManager(ctx, "policyGlobalManagerResource", &nsxt.PolicyGlobalManagerArgs{
DisplayName: pulumi.String("string"),
Mode: pulumi.String("string"),
ConnectionInfos: nsxt.PolicyGlobalManagerConnectionInfoArray{
&nsxt.PolicyGlobalManagerConnectionInfoArgs{
Fqdn: pulumi.String("string"),
Password: pulumi.String("string"),
SiteUuid: pulumi.String("string"),
Thumbprint: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
FailIfRttExceeded: pulumi.Bool(false),
MaximumRtt: pulumi.Float64(0),
NsxId: pulumi.String("string"),
PolicyGlobalManagerId: pulumi.String("string"),
Tags: nsxt.PolicyGlobalManagerTagArray{
&nsxt.PolicyGlobalManagerTagArgs{
Scope: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
})
var policyGlobalManagerResource = new PolicyGlobalManager("policyGlobalManagerResource", PolicyGlobalManagerArgs.builder()
.displayName("string")
.mode("string")
.connectionInfos(PolicyGlobalManagerConnectionInfoArgs.builder()
.fqdn("string")
.password("string")
.siteUuid("string")
.thumbprint("string")
.username("string")
.build())
.description("string")
.failIfRttExceeded(false)
.maximumRtt(0)
.nsxId("string")
.policyGlobalManagerId("string")
.tags(PolicyGlobalManagerTagArgs.builder()
.scope("string")
.tag("string")
.build())
.build());
policy_global_manager_resource = nsxt.PolicyGlobalManager("policyGlobalManagerResource",
display_name="string",
mode="string",
connection_infos=[{
"fqdn": "string",
"password": "string",
"site_uuid": "string",
"thumbprint": "string",
"username": "string",
}],
description="string",
fail_if_rtt_exceeded=False,
maximum_rtt=0,
nsx_id="string",
policy_global_manager_id="string",
tags=[{
"scope": "string",
"tag": "string",
}])
const policyGlobalManagerResource = new nsxt.PolicyGlobalManager("policyGlobalManagerResource", {
displayName: "string",
mode: "string",
connectionInfos: [{
fqdn: "string",
password: "string",
siteUuid: "string",
thumbprint: "string",
username: "string",
}],
description: "string",
failIfRttExceeded: false,
maximumRtt: 0,
nsxId: "string",
policyGlobalManagerId: "string",
tags: [{
scope: "string",
tag: "string",
}],
});
type: nsxt:PolicyGlobalManager
properties:
connectionInfos:
- fqdn: string
password: string
siteUuid: string
thumbprint: string
username: string
description: string
displayName: string
failIfRttExceeded: false
maximumRtt: 0
mode: string
nsxId: string
policyGlobalManagerId: string
tags:
- scope: string
tag: string
PolicyGlobalManager 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 PolicyGlobalManager resource accepts the following input properties:
- Display
Name string - Display name of the resource.
- Mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - Connection
Infos List<PolicyGlobal Manager Connection Info> - Connection information.
- Description string
- Description of the resource.
- Fail
If boolRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- Maximum
Rtt double - Maximum acceptable packet round trip time (RTT). Default is 250.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Global stringManager Id - ID of the resource.
- List<Policy
Global Manager Tag> - A list of scope + tag pairs to associate with this resource.
- Display
Name string - Display name of the resource.
- Mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - Connection
Infos []PolicyGlobal Manager Connection Info Args - Connection information.
- Description string
- Description of the resource.
- Fail
If boolRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- Maximum
Rtt float64 - Maximum acceptable packet round trip time (RTT). Default is 250.
- Nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- Policy
Global stringManager Id - ID of the resource.
- []Policy
Global Manager Tag Args - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- mode String
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - connection
Infos List<PolicyGlobal Manager Connection Info> - Connection information.
- description String
- Description of the resource.
- fail
If BooleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt Double - Maximum acceptable packet round trip time (RTT). Default is 250.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Global StringManager Id - ID of the resource.
- List<Policy
Global Manager Tag> - A list of scope + tag pairs to associate with this resource.
- display
Name string - Display name of the resource.
- mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - connection
Infos PolicyGlobal Manager Connection Info[] - Connection information.
- description string
- Description of the resource.
- fail
If booleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt number - Maximum acceptable packet round trip time (RTT). Default is 250.
- nsx
Id string - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Global stringManager Id - ID of the resource.
- Policy
Global Manager Tag[] - A list of scope + tag pairs to associate with this resource.
- display_
name str - Display name of the resource.
- mode str
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - connection_
infos Sequence[PolicyGlobal Manager Connection Info Args] - Connection information.
- description str
- Description of the resource.
- fail_
if_ boolrtt_ exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum_
rtt float - Maximum acceptable packet round trip time (RTT). Default is 250.
- nsx_
id str - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy_
global_ strmanager_ id - ID of the resource.
- Sequence[Policy
Global Manager Tag Args] - A list of scope + tag pairs to associate with this resource.
- display
Name String - Display name of the resource.
- mode String
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - connection
Infos List<Property Map> - Connection information.
- description String
- Description of the resource.
- fail
If BooleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt Number - Maximum acceptable packet round trip time (RTT). Default is 250.
- nsx
Id String - The NSX ID of this resource. If set, this ID will be used to create the resource.
- policy
Global StringManager Id - ID of the resource.
- 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 PolicyGlobalManager resource produces the following output properties:
Look up Existing PolicyGlobalManager Resource
Get an existing PolicyGlobalManager 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?: PolicyGlobalManagerState, opts?: CustomResourceOptions): PolicyGlobalManager
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_infos: Optional[Sequence[PolicyGlobalManagerConnectionInfoArgs]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
fail_if_rtt_exceeded: Optional[bool] = None,
maximum_rtt: Optional[float] = None,
mode: Optional[str] = None,
nsx_id: Optional[str] = None,
path: Optional[str] = None,
policy_global_manager_id: Optional[str] = None,
revision: Optional[float] = None,
tags: Optional[Sequence[PolicyGlobalManagerTagArgs]] = None) -> PolicyGlobalManager
func GetPolicyGlobalManager(ctx *Context, name string, id IDInput, state *PolicyGlobalManagerState, opts ...ResourceOption) (*PolicyGlobalManager, error)
public static PolicyGlobalManager Get(string name, Input<string> id, PolicyGlobalManagerState? state, CustomResourceOptions? opts = null)
public static PolicyGlobalManager get(String name, Output<String> id, PolicyGlobalManagerState state, CustomResourceOptions options)
resources: _: type: nsxt:PolicyGlobalManager 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.
- Connection
Infos List<PolicyGlobal Manager Connection Info> - Connection information.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Fail
If boolRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- Maximum
Rtt double - Maximum acceptable packet round trip time (RTT). Default is 250.
- Mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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
Global stringManager Id - ID of the resource.
- Revision double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Global Manager Tag> - A list of scope + tag pairs to associate with this resource.
- Connection
Infos []PolicyGlobal Manager Connection Info Args - Connection information.
- Description string
- Description of the resource.
- Display
Name string - Display name of the resource.
- Fail
If boolRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- Maximum
Rtt float64 - Maximum acceptable packet round trip time (RTT). Default is 250.
- Mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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
Global stringManager Id - ID of the resource.
- Revision float64
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- []Policy
Global Manager Tag Args - A list of scope + tag pairs to associate with this resource.
- connection
Infos List<PolicyGlobal Manager Connection Info> - Connection information.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fail
If BooleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt Double - Maximum acceptable packet round trip time (RTT). Default is 250.
- mode String
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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
Global StringManager Id - ID of the resource.
- revision Double
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Policy
Global Manager Tag> - A list of scope + tag pairs to associate with this resource.
- connection
Infos PolicyGlobal Manager Connection Info[] - Connection information.
- description string
- Description of the resource.
- display
Name string - Display name of the resource.
- fail
If booleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt number - Maximum acceptable packet round trip time (RTT). Default is 250.
- mode string
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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
Global stringManager Id - ID of the resource.
- revision number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Policy
Global Manager Tag[] - A list of scope + tag pairs to associate with this resource.
- connection_
infos Sequence[PolicyGlobal Manager Connection Info Args] - Connection information.
- description str
- Description of the resource.
- display_
name str - Display name of the resource.
- fail_
if_ boolrtt_ exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum_
rtt float - Maximum acceptable packet round trip time (RTT). Default is 250.
- mode str
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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_
global_ strmanager_ id - ID of the resource.
- revision float
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- Sequence[Policy
Global Manager Tag Args] - A list of scope + tag pairs to associate with this resource.
- connection
Infos List<Property Map> - Connection information.
- description String
- Description of the resource.
- display
Name String - Display name of the resource.
- fail
If BooleanRtt Exceeded - Fail onboarding if maximum RTT exceeded. Default is true.
- maximum
Rtt Number - Maximum acceptable packet round trip time (RTT). Default is 250.
- mode String
- Mode of the global manager. Allowed values are
ACTIVE
,STANDBY
. - 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
Global StringManager Id - ID of the resource.
- revision Number
- Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging.
- List<Property Map>
- A list of scope + tag pairs to associate with this resource.
Supporting Types
PolicyGlobalManagerConnectionInfo, PolicyGlobalManagerConnectionInfoArgs
- Fqdn string
- Fully Qualified Domain Name of the Management Node.
- Password string
- Password.
- Site
Uuid string - ID of Global Manager.
- Thumbprint string
- Thumbprint of Enforcement Point.
- Username string
- Username.
- Fqdn string
- Fully Qualified Domain Name of the Management Node.
- Password string
- Password.
- Site
Uuid string - ID of Global Manager.
- Thumbprint string
- Thumbprint of Enforcement Point.
- Username string
- Username.
- fqdn String
- Fully Qualified Domain Name of the Management Node.
- password String
- Password.
- site
Uuid String - ID of Global Manager.
- thumbprint String
- Thumbprint of Enforcement Point.
- username String
- Username.
- fqdn string
- Fully Qualified Domain Name of the Management Node.
- password string
- Password.
- site
Uuid string - ID of Global Manager.
- thumbprint string
- Thumbprint of Enforcement Point.
- username string
- Username.
- fqdn str
- Fully Qualified Domain Name of the Management Node.
- password str
- Password.
- site_
uuid str - ID of Global Manager.
- thumbprint str
- Thumbprint of Enforcement Point.
- username str
- Username.
- fqdn String
- Fully Qualified Domain Name of the Management Node.
- password String
- Password.
- site
Uuid String - ID of Global Manager.
- thumbprint String
- Thumbprint of Enforcement Point.
- username String
- Username.
PolicyGlobalManagerTag, PolicyGlobalManagerTagArgs
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.