sdwan.ActivateCentralizedPolicy
Explore with Pulumi AI
This resource can activate a centralized policy.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: sdwan:ActivateCentralizedPolicy
properties:
id: ${POLICY1.id}
Create ActivateCentralizedPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ActivateCentralizedPolicy(name: string, args?: ActivateCentralizedPolicyArgs, opts?: CustomResourceOptions);
@overload
def ActivateCentralizedPolicy(resource_name: str,
args: Optional[ActivateCentralizedPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ActivateCentralizedPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
version: Optional[int] = None)
func NewActivateCentralizedPolicy(ctx *Context, name string, args *ActivateCentralizedPolicyArgs, opts ...ResourceOption) (*ActivateCentralizedPolicy, error)
public ActivateCentralizedPolicy(string name, ActivateCentralizedPolicyArgs? args = null, CustomResourceOptions? opts = null)
public ActivateCentralizedPolicy(String name, ActivateCentralizedPolicyArgs args)
public ActivateCentralizedPolicy(String name, ActivateCentralizedPolicyArgs args, CustomResourceOptions options)
type: sdwan:ActivateCentralizedPolicy
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 ActivateCentralizedPolicyArgs
- 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 ActivateCentralizedPolicyArgs
- 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 ActivateCentralizedPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActivateCentralizedPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ActivateCentralizedPolicyArgs
- 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 activateCentralizedPolicyResource = new Sdwan.ActivateCentralizedPolicy("activateCentralizedPolicyResource", new()
{
Version = 0,
});
example, err := sdwan.NewActivateCentralizedPolicy(ctx, "activateCentralizedPolicyResource", &sdwan.ActivateCentralizedPolicyArgs{
Version: pulumi.Int(0),
})
var activateCentralizedPolicyResource = new ActivateCentralizedPolicy("activateCentralizedPolicyResource", ActivateCentralizedPolicyArgs.builder()
.version(0)
.build());
activate_centralized_policy_resource = sdwan.ActivateCentralizedPolicy("activateCentralizedPolicyResource", version=0)
const activateCentralizedPolicyResource = new sdwan.ActivateCentralizedPolicy("activateCentralizedPolicyResource", {version: 0});
type: sdwan:ActivateCentralizedPolicy
properties:
version: 0
ActivateCentralizedPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ActivateCentralizedPolicy resource accepts the following input properties:
- Version int
- The version of the centralized policy
- Version int
- The version of the centralized policy
- version Integer
- The version of the centralized policy
- version number
- The version of the centralized policy
- version int
- The version of the centralized policy
- version Number
- The version of the centralized policy
Outputs
All input properties are implicitly available as output properties. Additionally, the ActivateCentralizedPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ActivateCentralizedPolicy Resource
Get an existing ActivateCentralizedPolicy 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?: ActivateCentralizedPolicyState, opts?: CustomResourceOptions): ActivateCentralizedPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
version: Optional[int] = None) -> ActivateCentralizedPolicy
func GetActivateCentralizedPolicy(ctx *Context, name string, id IDInput, state *ActivateCentralizedPolicyState, opts ...ResourceOption) (*ActivateCentralizedPolicy, error)
public static ActivateCentralizedPolicy Get(string name, Input<string> id, ActivateCentralizedPolicyState? state, CustomResourceOptions? opts = null)
public static ActivateCentralizedPolicy get(String name, Output<String> id, ActivateCentralizedPolicyState 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.
- Version int
- The version of the centralized policy
- Version int
- The version of the centralized policy
- version Integer
- The version of the centralized policy
- version number
- The version of the centralized policy
- version int
- The version of the centralized policy
- version Number
- The version of the centralized policy
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.