akamai.AppSecIPGeo
Explore with Pulumi AI
Create AppSecIPGeo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppSecIPGeo(name: string, args: AppSecIPGeoArgs, opts?: CustomResourceOptions);@overload
def AppSecIPGeo(resource_name: str,
                args: AppSecIPGeoArgs,
                opts: Optional[ResourceOptions] = None)
@overload
def AppSecIPGeo(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                config_id: Optional[int] = None,
                mode: Optional[str] = None,
                security_policy_id: Optional[str] = None,
                asn_network_lists: Optional[Sequence[str]] = None,
                exception_ip_network_lists: Optional[Sequence[str]] = None,
                geo_network_lists: Optional[Sequence[str]] = None,
                ip_network_lists: Optional[Sequence[str]] = None,
                ukraine_geo_control_action: Optional[str] = None)func NewAppSecIPGeo(ctx *Context, name string, args AppSecIPGeoArgs, opts ...ResourceOption) (*AppSecIPGeo, error)public AppSecIPGeo(string name, AppSecIPGeoArgs args, CustomResourceOptions? opts = null)
public AppSecIPGeo(String name, AppSecIPGeoArgs args)
public AppSecIPGeo(String name, AppSecIPGeoArgs args, CustomResourceOptions options)
type: akamai:AppSecIPGeo
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 AppSecIPGeoArgs
- 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 AppSecIPGeoArgs
- 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 AppSecIPGeoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecIPGeoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecIPGeoArgs
- 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 appSecIPGeoResource = new Akamai.AppSecIPGeo("appSecIPGeoResource", new()
{
    ConfigId = 0,
    Mode = "string",
    SecurityPolicyId = "string",
    AsnNetworkLists = new[]
    {
        "string",
    },
    ExceptionIpNetworkLists = new[]
    {
        "string",
    },
    GeoNetworkLists = new[]
    {
        "string",
    },
    IpNetworkLists = new[]
    {
        "string",
    },
    UkraineGeoControlAction = "string",
});
example, err := akamai.NewAppSecIPGeo(ctx, "appSecIPGeoResource", &akamai.AppSecIPGeoArgs{
	ConfigId:         pulumi.Int(0),
	Mode:             pulumi.String("string"),
	SecurityPolicyId: pulumi.String("string"),
	AsnNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExceptionIpNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	GeoNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	IpNetworkLists: pulumi.StringArray{
		pulumi.String("string"),
	},
	UkraineGeoControlAction: pulumi.String("string"),
})
var appSecIPGeoResource = new AppSecIPGeo("appSecIPGeoResource", AppSecIPGeoArgs.builder()
    .configId(0)
    .mode("string")
    .securityPolicyId("string")
    .asnNetworkLists("string")
    .exceptionIpNetworkLists("string")
    .geoNetworkLists("string")
    .ipNetworkLists("string")
    .ukraineGeoControlAction("string")
    .build());
app_sec_ip_geo_resource = akamai.AppSecIPGeo("appSecIPGeoResource",
    config_id=0,
    mode="string",
    security_policy_id="string",
    asn_network_lists=["string"],
    exception_ip_network_lists=["string"],
    geo_network_lists=["string"],
    ip_network_lists=["string"],
    ukraine_geo_control_action="string")
const appSecIPGeoResource = new akamai.AppSecIPGeo("appSecIPGeoResource", {
    configId: 0,
    mode: "string",
    securityPolicyId: "string",
    asnNetworkLists: ["string"],
    exceptionIpNetworkLists: ["string"],
    geoNetworkLists: ["string"],
    ipNetworkLists: ["string"],
    ukraineGeoControlAction: "string",
});
type: akamai:AppSecIPGeo
properties:
    asnNetworkLists:
        - string
    configId: 0
    exceptionIpNetworkLists:
        - string
    geoNetworkLists:
        - string
    ipNetworkLists:
        - string
    mode: string
    securityPolicyId: string
    ukraineGeoControlAction: string
AppSecIPGeo 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 AppSecIPGeo resource accepts the following input properties:
- ConfigId int
- Unique identifier of the security configuration
- Mode string
- Protection mode (block or allow)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- AsnNetwork List<string>Lists 
- List of IDs of ASN network list to be blocked
- ExceptionIp List<string>Network Lists 
- List of IDs of network list that are always allowed
- GeoNetwork List<string>Lists 
- List of IDs of geographic network list to be blocked
- IpNetwork List<string>Lists 
- List of IDs of IP network list to be blocked
- UkraineGeo stringControl Action 
- Action set for Ukraine geo control
- ConfigId int
- Unique identifier of the security configuration
- Mode string
- Protection mode (block or allow)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- AsnNetwork []stringLists 
- List of IDs of ASN network list to be blocked
- ExceptionIp []stringNetwork Lists 
- List of IDs of network list that are always allowed
- GeoNetwork []stringLists 
- List of IDs of geographic network list to be blocked
- IpNetwork []stringLists 
- List of IDs of IP network list to be blocked
- UkraineGeo stringControl Action 
- Action set for Ukraine geo control
- configId Integer
- Unique identifier of the security configuration
- mode String
- Protection mode (block or allow)
- securityPolicy StringId 
- Unique identifier of the security policy
- asnNetwork List<String>Lists 
- List of IDs of ASN network list to be blocked
- exceptionIp List<String>Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork List<String>Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork List<String>Lists 
- List of IDs of IP network list to be blocked
- ukraineGeo StringControl Action 
- Action set for Ukraine geo control
- configId number
- Unique identifier of the security configuration
- mode string
- Protection mode (block or allow)
- securityPolicy stringId 
- Unique identifier of the security policy
- asnNetwork string[]Lists 
- List of IDs of ASN network list to be blocked
- exceptionIp string[]Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork string[]Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork string[]Lists 
- List of IDs of IP network list to be blocked
- ukraineGeo stringControl Action 
- Action set for Ukraine geo control
- config_id int
- Unique identifier of the security configuration
- mode str
- Protection mode (block or allow)
- security_policy_ strid 
- Unique identifier of the security policy
- asn_network_ Sequence[str]lists 
- List of IDs of ASN network list to be blocked
- exception_ip_ Sequence[str]network_ lists 
- List of IDs of network list that are always allowed
- geo_network_ Sequence[str]lists 
- List of IDs of geographic network list to be blocked
- ip_network_ Sequence[str]lists 
- List of IDs of IP network list to be blocked
- ukraine_geo_ strcontrol_ action 
- Action set for Ukraine geo control
- configId Number
- Unique identifier of the security configuration
- mode String
- Protection mode (block or allow)
- securityPolicy StringId 
- Unique identifier of the security policy
- asnNetwork List<String>Lists 
- List of IDs of ASN network list to be blocked
- exceptionIp List<String>Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork List<String>Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork List<String>Lists 
- List of IDs of IP network list to be blocked
- ukraineGeo StringControl Action 
- Action set for Ukraine geo control
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecIPGeo 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 AppSecIPGeo Resource
Get an existing AppSecIPGeo 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?: AppSecIPGeoState, opts?: CustomResourceOptions): AppSecIPGeo@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        asn_network_lists: Optional[Sequence[str]] = None,
        config_id: Optional[int] = None,
        exception_ip_network_lists: Optional[Sequence[str]] = None,
        geo_network_lists: Optional[Sequence[str]] = None,
        ip_network_lists: Optional[Sequence[str]] = None,
        mode: Optional[str] = None,
        security_policy_id: Optional[str] = None,
        ukraine_geo_control_action: Optional[str] = None) -> AppSecIPGeofunc GetAppSecIPGeo(ctx *Context, name string, id IDInput, state *AppSecIPGeoState, opts ...ResourceOption) (*AppSecIPGeo, error)public static AppSecIPGeo Get(string name, Input<string> id, AppSecIPGeoState? state, CustomResourceOptions? opts = null)public static AppSecIPGeo get(String name, Output<String> id, AppSecIPGeoState state, CustomResourceOptions options)resources:  _:    type: akamai:AppSecIPGeo    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.
- AsnNetwork List<string>Lists 
- List of IDs of ASN network list to be blocked
- ConfigId int
- Unique identifier of the security configuration
- ExceptionIp List<string>Network Lists 
- List of IDs of network list that are always allowed
- GeoNetwork List<string>Lists 
- List of IDs of geographic network list to be blocked
- IpNetwork List<string>Lists 
- List of IDs of IP network list to be blocked
- Mode string
- Protection mode (block or allow)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- UkraineGeo stringControl Action 
- Action set for Ukraine geo control
- AsnNetwork []stringLists 
- List of IDs of ASN network list to be blocked
- ConfigId int
- Unique identifier of the security configuration
- ExceptionIp []stringNetwork Lists 
- List of IDs of network list that are always allowed
- GeoNetwork []stringLists 
- List of IDs of geographic network list to be blocked
- IpNetwork []stringLists 
- List of IDs of IP network list to be blocked
- Mode string
- Protection mode (block or allow)
- SecurityPolicy stringId 
- Unique identifier of the security policy
- UkraineGeo stringControl Action 
- Action set for Ukraine geo control
- asnNetwork List<String>Lists 
- List of IDs of ASN network list to be blocked
- configId Integer
- Unique identifier of the security configuration
- exceptionIp List<String>Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork List<String>Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork List<String>Lists 
- List of IDs of IP network list to be blocked
- mode String
- Protection mode (block or allow)
- securityPolicy StringId 
- Unique identifier of the security policy
- ukraineGeo StringControl Action 
- Action set for Ukraine geo control
- asnNetwork string[]Lists 
- List of IDs of ASN network list to be blocked
- configId number
- Unique identifier of the security configuration
- exceptionIp string[]Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork string[]Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork string[]Lists 
- List of IDs of IP network list to be blocked
- mode string
- Protection mode (block or allow)
- securityPolicy stringId 
- Unique identifier of the security policy
- ukraineGeo stringControl Action 
- Action set for Ukraine geo control
- asn_network_ Sequence[str]lists 
- List of IDs of ASN network list to be blocked
- config_id int
- Unique identifier of the security configuration
- exception_ip_ Sequence[str]network_ lists 
- List of IDs of network list that are always allowed
- geo_network_ Sequence[str]lists 
- List of IDs of geographic network list to be blocked
- ip_network_ Sequence[str]lists 
- List of IDs of IP network list to be blocked
- mode str
- Protection mode (block or allow)
- security_policy_ strid 
- Unique identifier of the security policy
- ukraine_geo_ strcontrol_ action 
- Action set for Ukraine geo control
- asnNetwork List<String>Lists 
- List of IDs of ASN network list to be blocked
- configId Number
- Unique identifier of the security configuration
- exceptionIp List<String>Network Lists 
- List of IDs of network list that are always allowed
- geoNetwork List<String>Lists 
- List of IDs of geographic network list to be blocked
- ipNetwork List<String>Lists 
- List of IDs of IP network list to be blocked
- mode String
- Protection mode (block or allow)
- securityPolicy StringId 
- Unique identifier of the security policy
- ukraineGeo StringControl Action 
- Action set for Ukraine geo control
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the akamaiTerraform Provider.