akamai.AprGeneralSettings
Create AprGeneralSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AprGeneralSettings(name: string, args: AprGeneralSettingsArgs, opts?: CustomResourceOptions);@overload
def AprGeneralSettings(resource_name: str,
args: AprGeneralSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AprGeneralSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
general_settings: Optional[str] = None,
security_policy_id: Optional[str] = None)func NewAprGeneralSettings(ctx *Context, name string, args AprGeneralSettingsArgs, opts ...ResourceOption) (*AprGeneralSettings, error)public AprGeneralSettings(string name, AprGeneralSettingsArgs args, CustomResourceOptions? opts = null)
public AprGeneralSettings(String name, AprGeneralSettingsArgs args)
public AprGeneralSettings(String name, AprGeneralSettingsArgs args, CustomResourceOptions options)
type: akamai:AprGeneralSettings
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 AprGeneralSettingsArgs
- 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 AprGeneralSettingsArgs
- 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 AprGeneralSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AprGeneralSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AprGeneralSettingsArgs
- 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 aprGeneralSettingsResource = new Akamai.AprGeneralSettings("aprGeneralSettingsResource", new()
{
ConfigId = 0,
GeneralSettings = "string",
SecurityPolicyId = "string",
});
example, err := akamai.NewAprGeneralSettings(ctx, "aprGeneralSettingsResource", &akamai.AprGeneralSettingsArgs{
ConfigId: pulumi.Int(0),
GeneralSettings: pulumi.String("string"),
SecurityPolicyId: pulumi.String("string"),
})
var aprGeneralSettingsResource = new AprGeneralSettings("aprGeneralSettingsResource", AprGeneralSettingsArgs.builder()
.configId(0)
.generalSettings("string")
.securityPolicyId("string")
.build());
apr_general_settings_resource = akamai.AprGeneralSettings("aprGeneralSettingsResource",
config_id=0,
general_settings="string",
security_policy_id="string")
const aprGeneralSettingsResource = new akamai.AprGeneralSettings("aprGeneralSettingsResource", {
configId: 0,
generalSettings: "string",
securityPolicyId: "string",
});
type: akamai:AprGeneralSettings
properties:
configId: 0
generalSettings: string
securityPolicyId: string
AprGeneralSettings 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 AprGeneralSettings resource accepts the following input properties:
- Config
Id int - Identifies a security configuration.
- General
Settings string - Security
Policy stringId - Identifies a security policy.
- Config
Id int - Identifies a security configuration.
- General
Settings string - Security
Policy stringId - Identifies a security policy.
- config
Id Integer - Identifies a security configuration.
- general
Settings String - security
Policy StringId - Identifies a security policy.
- config
Id number - Identifies a security configuration.
- general
Settings string - security
Policy stringId - Identifies a security policy.
- config_
id int - Identifies a security configuration.
- general_
settings str - security_
policy_ strid - Identifies a security policy.
- config
Id Number - Identifies a security configuration.
- general
Settings String - security
Policy StringId - Identifies a security policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the AprGeneralSettings 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 AprGeneralSettings Resource
Get an existing AprGeneralSettings 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?: AprGeneralSettingsState, opts?: CustomResourceOptions): AprGeneralSettings@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
general_settings: Optional[str] = None,
security_policy_id: Optional[str] = None) -> AprGeneralSettingsfunc GetAprGeneralSettings(ctx *Context, name string, id IDInput, state *AprGeneralSettingsState, opts ...ResourceOption) (*AprGeneralSettings, error)public static AprGeneralSettings Get(string name, Input<string> id, AprGeneralSettingsState? state, CustomResourceOptions? opts = null)public static AprGeneralSettings get(String name, Output<String> id, AprGeneralSettingsState state, CustomResourceOptions options)resources: _: type: akamai:AprGeneralSettings 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.
- General
Settings string - Security
Policy stringId - Identifies a security policy.
- Config
Id int - Identifies a security configuration.
- General
Settings string - Security
Policy stringId - Identifies a security policy.
- config
Id Integer - Identifies a security configuration.
- general
Settings String - security
Policy StringId - Identifies a security policy.
- config
Id number - Identifies a security configuration.
- general
Settings string - security
Policy stringId - Identifies a security policy.
- config_
id int - Identifies a security configuration.
- general_
settings str - security_
policy_ strid - Identifies a security policy.
- config
Id Number - Identifies a security configuration.
- general
Settings 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.
