mso.FabricPoliciesSynceInterfacePolicy
Create FabricPoliciesSynceInterfacePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FabricPoliciesSynceInterfacePolicy(name: string, args: FabricPoliciesSynceInterfacePolicyArgs, opts?: CustomResourceOptions);@overload
def FabricPoliciesSynceInterfacePolicy(resource_name: str,
args: FabricPoliciesSynceInterfacePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FabricPoliciesSynceInterfacePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
template_id: Optional[str] = None,
admin_state: Optional[str] = None,
description: Optional[str] = None,
fabric_policies_synce_interface_policy_id: Optional[str] = None,
name: Optional[str] = None,
selection_input: Optional[str] = None,
src_priority: Optional[float] = None,
sync_state_msg: Optional[str] = None,
wait_to_restore: Optional[float] = None)func NewFabricPoliciesSynceInterfacePolicy(ctx *Context, name string, args FabricPoliciesSynceInterfacePolicyArgs, opts ...ResourceOption) (*FabricPoliciesSynceInterfacePolicy, error)public FabricPoliciesSynceInterfacePolicy(string name, FabricPoliciesSynceInterfacePolicyArgs args, CustomResourceOptions? opts = null)
public FabricPoliciesSynceInterfacePolicy(String name, FabricPoliciesSynceInterfacePolicyArgs args)
public FabricPoliciesSynceInterfacePolicy(String name, FabricPoliciesSynceInterfacePolicyArgs args, CustomResourceOptions options)
type: mso:FabricPoliciesSynceInterfacePolicy
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 FabricPoliciesSynceInterfacePolicyArgs
- 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 FabricPoliciesSynceInterfacePolicyArgs
- 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 FabricPoliciesSynceInterfacePolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FabricPoliciesSynceInterfacePolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FabricPoliciesSynceInterfacePolicyArgs
- 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 fabricPoliciesSynceInterfacePolicyResource = new Mso.FabricPoliciesSynceInterfacePolicy("fabricPoliciesSynceInterfacePolicyResource", new()
{
TemplateId = "string",
AdminState = "string",
Description = "string",
FabricPoliciesSynceInterfacePolicyId = "string",
Name = "string",
SelectionInput = "string",
SrcPriority = 0,
SyncStateMsg = "string",
WaitToRestore = 0,
});
example, err := mso.NewFabricPoliciesSynceInterfacePolicy(ctx, "fabricPoliciesSynceInterfacePolicyResource", &mso.FabricPoliciesSynceInterfacePolicyArgs{
TemplateId: pulumi.String("string"),
AdminState: pulumi.String("string"),
Description: pulumi.String("string"),
FabricPoliciesSynceInterfacePolicyId: pulumi.String("string"),
Name: pulumi.String("string"),
SelectionInput: pulumi.String("string"),
SrcPriority: pulumi.Float64(0),
SyncStateMsg: pulumi.String("string"),
WaitToRestore: pulumi.Float64(0),
})
var fabricPoliciesSynceInterfacePolicyResource = new FabricPoliciesSynceInterfacePolicy("fabricPoliciesSynceInterfacePolicyResource", FabricPoliciesSynceInterfacePolicyArgs.builder()
.templateId("string")
.adminState("string")
.description("string")
.fabricPoliciesSynceInterfacePolicyId("string")
.name("string")
.selectionInput("string")
.srcPriority(0.0)
.syncStateMsg("string")
.waitToRestore(0.0)
.build());
fabric_policies_synce_interface_policy_resource = mso.FabricPoliciesSynceInterfacePolicy("fabricPoliciesSynceInterfacePolicyResource",
template_id="string",
admin_state="string",
description="string",
fabric_policies_synce_interface_policy_id="string",
name="string",
selection_input="string",
src_priority=0,
sync_state_msg="string",
wait_to_restore=0)
const fabricPoliciesSynceInterfacePolicyResource = new mso.FabricPoliciesSynceInterfacePolicy("fabricPoliciesSynceInterfacePolicyResource", {
templateId: "string",
adminState: "string",
description: "string",
fabricPoliciesSynceInterfacePolicyId: "string",
name: "string",
selectionInput: "string",
srcPriority: 0,
syncStateMsg: "string",
waitToRestore: 0,
});
type: mso:FabricPoliciesSynceInterfacePolicy
properties:
adminState: string
description: string
fabricPoliciesSynceInterfacePolicyId: string
name: string
selectionInput: string
srcPriority: 0
syncStateMsg: string
templateId: string
waitToRestore: 0
FabricPoliciesSynceInterfacePolicy 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 FabricPoliciesSynceInterfacePolicy resource accepts the following input properties:
- Template
Id string - Admin
State string - Description string
- Fabric
Policies stringSynce Interface Policy Id - Name string
- Selection
Input string - Src
Priority double - Sync
State stringMsg - Wait
To doubleRestore
- Template
Id string - Admin
State string - Description string
- Fabric
Policies stringSynce Interface Policy Id - Name string
- Selection
Input string - Src
Priority float64 - Sync
State stringMsg - Wait
To float64Restore
- template
Id String - admin
State String - description String
- fabric
Policies StringSynce Interface Policy Id - name String
- selection
Input String - src
Priority Double - sync
State StringMsg - wait
To DoubleRestore
- template
Id string - admin
State string - description string
- fabric
Policies stringSynce Interface Policy Id - name string
- selection
Input string - src
Priority number - sync
State stringMsg - wait
To numberRestore
- template_
id str - admin_
state str - description str
- fabric_
policies_ strsynce_ interface_ policy_ id - name str
- selection_
input str - src_
priority float - sync_
state_ strmsg - wait_
to_ floatrestore
- template
Id String - admin
State String - description String
- fabric
Policies StringSynce Interface Policy Id - name String
- selection
Input String - src
Priority Number - sync
State StringMsg - wait
To NumberRestore
Outputs
All input properties are implicitly available as output properties. Additionally, the FabricPoliciesSynceInterfacePolicy resource produces the following output properties:
Look up Existing FabricPoliciesSynceInterfacePolicy Resource
Get an existing FabricPoliciesSynceInterfacePolicy 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?: FabricPoliciesSynceInterfacePolicyState, opts?: CustomResourceOptions): FabricPoliciesSynceInterfacePolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_state: Optional[str] = None,
description: Optional[str] = None,
fabric_policies_synce_interface_policy_id: Optional[str] = None,
name: Optional[str] = None,
selection_input: Optional[str] = None,
src_priority: Optional[float] = None,
sync_state_msg: Optional[str] = None,
template_id: Optional[str] = None,
uuid: Optional[str] = None,
wait_to_restore: Optional[float] = None) -> FabricPoliciesSynceInterfacePolicyfunc GetFabricPoliciesSynceInterfacePolicy(ctx *Context, name string, id IDInput, state *FabricPoliciesSynceInterfacePolicyState, opts ...ResourceOption) (*FabricPoliciesSynceInterfacePolicy, error)public static FabricPoliciesSynceInterfacePolicy Get(string name, Input<string> id, FabricPoliciesSynceInterfacePolicyState? state, CustomResourceOptions? opts = null)public static FabricPoliciesSynceInterfacePolicy get(String name, Output<String> id, FabricPoliciesSynceInterfacePolicyState state, CustomResourceOptions options)resources: _: type: mso:FabricPoliciesSynceInterfacePolicy 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.
- Admin
State string - Description string
- Fabric
Policies stringSynce Interface Policy Id - Name string
- Selection
Input string - Src
Priority double - Sync
State stringMsg - Template
Id string - Uuid string
- Wait
To doubleRestore
- Admin
State string - Description string
- Fabric
Policies stringSynce Interface Policy Id - Name string
- Selection
Input string - Src
Priority float64 - Sync
State stringMsg - Template
Id string - Uuid string
- Wait
To float64Restore
- admin
State String - description String
- fabric
Policies StringSynce Interface Policy Id - name String
- selection
Input String - src
Priority Double - sync
State StringMsg - template
Id String - uuid String
- wait
To DoubleRestore
- admin
State string - description string
- fabric
Policies stringSynce Interface Policy Id - name string
- selection
Input string - src
Priority number - sync
State stringMsg - template
Id string - uuid string
- wait
To numberRestore
- admin_
state str - description str
- fabric_
policies_ strsynce_ interface_ policy_ id - name str
- selection_
input str - src_
priority float - sync_
state_ strmsg - template_
id str - uuid str
- wait_
to_ floatrestore
- admin
State String - description String
- fabric
Policies StringSynce Interface Policy Id - name String
- selection
Input String - src
Priority Number - sync
State StringMsg - template
Id String - uuid String
- wait
To NumberRestore
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
