akamai.AprProtectedOperations
Create AprProtectedOperations Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AprProtectedOperations(name: string, args: AprProtectedOperationsArgs, opts?: CustomResourceOptions);@overload
def AprProtectedOperations(resource_name: str,
args: AprProtectedOperationsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AprProtectedOperations(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
operation_id: Optional[str] = None,
protected_operation: Optional[str] = None,
security_policy_id: Optional[str] = None)func NewAprProtectedOperations(ctx *Context, name string, args AprProtectedOperationsArgs, opts ...ResourceOption) (*AprProtectedOperations, error)public AprProtectedOperations(string name, AprProtectedOperationsArgs args, CustomResourceOptions? opts = null)
public AprProtectedOperations(String name, AprProtectedOperationsArgs args)
public AprProtectedOperations(String name, AprProtectedOperationsArgs args, CustomResourceOptions options)
type: akamai:AprProtectedOperations
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 AprProtectedOperationsArgs
- 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 AprProtectedOperationsArgs
- 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 AprProtectedOperationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AprProtectedOperationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AprProtectedOperationsArgs
- 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 aprProtectedOperationsResource = new Akamai.AprProtectedOperations("aprProtectedOperationsResource", new()
{
ConfigId = 0,
OperationId = "string",
ProtectedOperation = "string",
SecurityPolicyId = "string",
});
example, err := akamai.NewAprProtectedOperations(ctx, "aprProtectedOperationsResource", &akamai.AprProtectedOperationsArgs{
ConfigId: pulumi.Int(0),
OperationId: pulumi.String("string"),
ProtectedOperation: pulumi.String("string"),
SecurityPolicyId: pulumi.String("string"),
})
var aprProtectedOperationsResource = new AprProtectedOperations("aprProtectedOperationsResource", AprProtectedOperationsArgs.builder()
.configId(0)
.operationId("string")
.protectedOperation("string")
.securityPolicyId("string")
.build());
apr_protected_operations_resource = akamai.AprProtectedOperations("aprProtectedOperationsResource",
config_id=0,
operation_id="string",
protected_operation="string",
security_policy_id="string")
const aprProtectedOperationsResource = new akamai.AprProtectedOperations("aprProtectedOperationsResource", {
configId: 0,
operationId: "string",
protectedOperation: "string",
securityPolicyId: "string",
});
type: akamai:AprProtectedOperations
properties:
configId: 0
operationId: string
protectedOperation: string
securityPolicyId: string
AprProtectedOperations 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 AprProtectedOperations resource accepts the following input properties:
- Config
Id int - Identifies a security configuration.
- Operation
Id string - Identifies a protected operation
- Protected
Operation string - Security
Policy stringId - Identifies a security policy.
- Config
Id int - Identifies a security configuration.
- Operation
Id string - Identifies a protected operation
- Protected
Operation string - Security
Policy stringId - Identifies a security policy.
- config
Id Integer - Identifies a security configuration.
- operation
Id String - Identifies a protected operation
- protected
Operation String - security
Policy StringId - Identifies a security policy.
- config
Id number - Identifies a security configuration.
- operation
Id string - Identifies a protected operation
- protected
Operation string - security
Policy stringId - Identifies a security policy.
- config_
id int - Identifies a security configuration.
- operation_
id str - Identifies a protected operation
- protected_
operation str - security_
policy_ strid - Identifies a security policy.
- config
Id Number - Identifies a security configuration.
- operation
Id String - Identifies a protected operation
- protected
Operation String - security
Policy StringId - Identifies a security policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the AprProtectedOperations 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 AprProtectedOperations Resource
Get an existing AprProtectedOperations 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?: AprProtectedOperationsState, opts?: CustomResourceOptions): AprProtectedOperations@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
operation_id: Optional[str] = None,
protected_operation: Optional[str] = None,
security_policy_id: Optional[str] = None) -> AprProtectedOperationsfunc GetAprProtectedOperations(ctx *Context, name string, id IDInput, state *AprProtectedOperationsState, opts ...ResourceOption) (*AprProtectedOperations, error)public static AprProtectedOperations Get(string name, Input<string> id, AprProtectedOperationsState? state, CustomResourceOptions? opts = null)public static AprProtectedOperations get(String name, Output<String> id, AprProtectedOperationsState state, CustomResourceOptions options)resources: _: type: akamai:AprProtectedOperations 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.
- Config
Id int - Identifies a security configuration.
- Operation
Id string - Identifies a protected operation
- Protected
Operation string - Security
Policy stringId - Identifies a security policy.
- Config
Id int - Identifies a security configuration.
- Operation
Id string - Identifies a protected operation
- Protected
Operation string - Security
Policy stringId - Identifies a security policy.
- config
Id Integer - Identifies a security configuration.
- operation
Id String - Identifies a protected operation
- protected
Operation String - security
Policy StringId - Identifies a security policy.
- config
Id number - Identifies a security configuration.
- operation
Id string - Identifies a protected operation
- protected
Operation string - security
Policy stringId - Identifies a security policy.
- config_
id int - Identifies a security configuration.
- operation_
id str - Identifies a protected operation
- protected_
operation str - security_
policy_ strid - Identifies a security policy.
- config
Id Number - Identifies a security configuration.
- operation
Id String - Identifies a protected operation
- protected
Operation String - security
Policy StringId - Identifies a security policy.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamaiTerraform Provider.
