Class Policy
f5bigip.ltm.Policy Configures Virtual Server
For resources should be named with their "full path". The full path is the combination of the partition + name of the resource. For example /Common/my-pool.
Inherited Members
Namespace: Pulumi.F5BigIP.Ltm
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Policy : CustomResource
Constructors
View SourcePolicy(String, PolicyArgs, CustomResourceOptions)
Create a Policy resource with the given unique name, arguments, and options.
Declaration
public Policy(string name, PolicyArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| PolicyArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceControls
Specifies the controls
Declaration
public Output<ImmutableArray<string>> Controls { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Name
Name of the Policy
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PublishedCopy
If you want to publish the policy else it will be deployed in Drafts mode.
Declaration
public Output<string> PublishedCopy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Requires
Specifies the protocol
Declaration
public Output<ImmutableArray<string>> Requires { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Rules
Rules can be applied using the policy
Declaration
public Output<ImmutableArray<PolicyRule>> Rules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<PolicyRule>> |
Strategy
Specifies the match strategy
Declaration
public Output<string> Strategy { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, PolicyState, CustomResourceOptions)
Get an existing Policy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Policy Get(string name, Input<string> id, PolicyState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| PolicyState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Policy |