akamai.IamCidrBlock
Explore with Pulumi AI
Create IamCidrBlock Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamCidrBlock(name: string, args: IamCidrBlockArgs, opts?: CustomResourceOptions);@overload
def IamCidrBlock(resource_name: str,
                 args: IamCidrBlockArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def IamCidrBlock(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cidr_block: Optional[str] = None,
                 enabled: Optional[bool] = None,
                 comments: Optional[str] = None)func NewIamCidrBlock(ctx *Context, name string, args IamCidrBlockArgs, opts ...ResourceOption) (*IamCidrBlock, error)public IamCidrBlock(string name, IamCidrBlockArgs args, CustomResourceOptions? opts = null)
public IamCidrBlock(String name, IamCidrBlockArgs args)
public IamCidrBlock(String name, IamCidrBlockArgs args, CustomResourceOptions options)
type: akamai:IamCidrBlock
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 IamCidrBlockArgs
- 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 IamCidrBlockArgs
- 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 IamCidrBlockArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamCidrBlockArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamCidrBlockArgs
- 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 iamCidrBlockResource = new Akamai.IamCidrBlock("iamCidrBlockResource", new()
{
    CidrBlock = "string",
    Enabled = false,
    Comments = "string",
});
example, err := akamai.NewIamCidrBlock(ctx, "iamCidrBlockResource", &akamai.IamCidrBlockArgs{
	CidrBlock: pulumi.String("string"),
	Enabled:   pulumi.Bool(false),
	Comments:  pulumi.String("string"),
})
var iamCidrBlockResource = new IamCidrBlock("iamCidrBlockResource", IamCidrBlockArgs.builder()
    .cidrBlock("string")
    .enabled(false)
    .comments("string")
    .build());
iam_cidr_block_resource = akamai.IamCidrBlock("iamCidrBlockResource",
    cidr_block="string",
    enabled=False,
    comments="string")
const iamCidrBlockResource = new akamai.IamCidrBlock("iamCidrBlockResource", {
    cidrBlock: "string",
    enabled: false,
    comments: "string",
});
type: akamai:IamCidrBlock
properties:
    cidrBlock: string
    comments: string
    enabled: false
IamCidrBlock 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 IamCidrBlock resource accepts the following input properties:
- cidr_block str
- The value of an IP address or IP address range.
- enabled bool
- Enables the CIDR block on the account.
- comments str
- Descriptive label you provide for the CIDR block.
Outputs
All input properties are implicitly available as output properties. Additionally, the IamCidrBlock resource produces the following output properties:
- Actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- CidrBlock intId 
- Unique identifier for each CIDR block.
- CreatedBy string
- The user who created the CIDR block.
- CreatedDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedBy string
- The user who last edited the CIDR block.
- ModifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- Actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- CidrBlock intId 
- Unique identifier for each CIDR block.
- CreatedBy string
- The user who created the CIDR block.
- CreatedDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- ModifiedBy string
- The user who last edited the CIDR block.
- ModifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- cidrBlock IntegerId 
- Unique identifier for each CIDR block.
- createdBy String
- The user who created the CIDR block.
- createdDate String
- ISO 8601 timestamp indicating when the CIDR block was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedBy String
- The user who last edited the CIDR block.
- modifiedDate String
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- cidrBlock numberId 
- Unique identifier for each CIDR block.
- createdBy string
- The user who created the CIDR block.
- createdDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modifiedBy string
- The user who last edited the CIDR block.
- modifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- cidr_block_ intid 
- Unique identifier for each CIDR block.
- created_by str
- The user who created the CIDR block.
- created_date str
- ISO 8601 timestamp indicating when the CIDR block was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_by str
- The user who last edited the CIDR block.
- modified_date str
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions Property Map
- Specifies activities available for the CIDR block.
- cidrBlock NumberId 
- Unique identifier for each CIDR block.
- createdBy String
- The user who created the CIDR block.
- createdDate String
- ISO 8601 timestamp indicating when the CIDR block was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modifiedBy String
- The user who last edited the CIDR block.
- modifiedDate String
- ISO 8601 timestamp indicating when the CIDR block was last modified.
Look up Existing IamCidrBlock Resource
Get an existing IamCidrBlock 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?: IamCidrBlockState, opts?: CustomResourceOptions): IamCidrBlock@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        actions: Optional[IamCidrBlockActionsArgs] = None,
        cidr_block: Optional[str] = None,
        cidr_block_id: Optional[int] = None,
        comments: Optional[str] = None,
        created_by: Optional[str] = None,
        created_date: Optional[str] = None,
        enabled: Optional[bool] = None,
        modified_by: Optional[str] = None,
        modified_date: Optional[str] = None) -> IamCidrBlockfunc GetIamCidrBlock(ctx *Context, name string, id IDInput, state *IamCidrBlockState, opts ...ResourceOption) (*IamCidrBlock, error)public static IamCidrBlock Get(string name, Input<string> id, IamCidrBlockState? state, CustomResourceOptions? opts = null)public static IamCidrBlock get(String name, Output<String> id, IamCidrBlockState state, CustomResourceOptions options)resources:  _:    type: akamai:IamCidrBlock    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.
- Actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- CidrBlock string
- The value of an IP address or IP address range.
- CidrBlock intId 
- Unique identifier for each CIDR block.
- Comments string
- Descriptive label you provide for the CIDR block.
- CreatedBy string
- The user who created the CIDR block.
- CreatedDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- Enabled bool
- Enables the CIDR block on the account.
- ModifiedBy string
- The user who last edited the CIDR block.
- ModifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- Actions
IamCidr Block Actions Args 
- Specifies activities available for the CIDR block.
- CidrBlock string
- The value of an IP address or IP address range.
- CidrBlock intId 
- Unique identifier for each CIDR block.
- Comments string
- Descriptive label you provide for the CIDR block.
- CreatedBy string
- The user who created the CIDR block.
- CreatedDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- Enabled bool
- Enables the CIDR block on the account.
- ModifiedBy string
- The user who last edited the CIDR block.
- ModifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- cidrBlock String
- The value of an IP address or IP address range.
- cidrBlock IntegerId 
- Unique identifier for each CIDR block.
- comments String
- Descriptive label you provide for the CIDR block.
- createdBy String
- The user who created the CIDR block.
- createdDate String
- ISO 8601 timestamp indicating when the CIDR block was created.
- enabled Boolean
- Enables the CIDR block on the account.
- modifiedBy String
- The user who last edited the CIDR block.
- modifiedDate String
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions 
- Specifies activities available for the CIDR block.
- cidrBlock string
- The value of an IP address or IP address range.
- cidrBlock numberId 
- Unique identifier for each CIDR block.
- comments string
- Descriptive label you provide for the CIDR block.
- createdBy string
- The user who created the CIDR block.
- createdDate string
- ISO 8601 timestamp indicating when the CIDR block was created.
- enabled boolean
- Enables the CIDR block on the account.
- modifiedBy string
- The user who last edited the CIDR block.
- modifiedDate string
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions
IamCidr Block Actions Args 
- Specifies activities available for the CIDR block.
- cidr_block str
- The value of an IP address or IP address range.
- cidr_block_ intid 
- Unique identifier for each CIDR block.
- comments str
- Descriptive label you provide for the CIDR block.
- created_by str
- The user who created the CIDR block.
- created_date str
- ISO 8601 timestamp indicating when the CIDR block was created.
- enabled bool
- Enables the CIDR block on the account.
- modified_by str
- The user who last edited the CIDR block.
- modified_date str
- ISO 8601 timestamp indicating when the CIDR block was last modified.
- actions Property Map
- Specifies activities available for the CIDR block.
- cidrBlock String
- The value of an IP address or IP address range.
- cidrBlock NumberId 
- Unique identifier for each CIDR block.
- comments String
- Descriptive label you provide for the CIDR block.
- createdBy String
- The user who created the CIDR block.
- createdDate String
- ISO 8601 timestamp indicating when the CIDR block was created.
- enabled Boolean
- Enables the CIDR block on the account.
- modifiedBy String
- The user who last edited the CIDR block.
- modifiedDate String
- ISO 8601 timestamp indicating when the CIDR block was last modified.
Supporting Types
IamCidrBlockActions, IamCidrBlockActionsArgs        
- Delete bool
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- Edit bool
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- Delete bool
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- Edit bool
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- delete Boolean
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- edit Boolean
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- delete boolean
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- edit boolean
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- delete bool
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- edit bool
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- delete Boolean
- Whether you can delete this CIDR block. You can't delete a CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
- edit Boolean
- Whether you can edit this CIDR block. You can't edit CIDR block from an IP address not on the allowlist, or if the CIDR block is the only one on the allowlist.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the akamaiTerraform Provider.