Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.NetworkEdgeSecurityService
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new service in the specified project using the data included in the request.
Create NetworkEdgeSecurityService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkEdgeSecurityService(name: string, args: NetworkEdgeSecurityServiceArgs, opts?: CustomResourceOptions);
@overload
def NetworkEdgeSecurityService(resource_name: str,
args: NetworkEdgeSecurityServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkEdgeSecurityService(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
security_policy: Optional[str] = None)
func NewNetworkEdgeSecurityService(ctx *Context, name string, args NetworkEdgeSecurityServiceArgs, opts ...ResourceOption) (*NetworkEdgeSecurityService, error)
public NetworkEdgeSecurityService(string name, NetworkEdgeSecurityServiceArgs args, CustomResourceOptions? opts = null)
public NetworkEdgeSecurityService(String name, NetworkEdgeSecurityServiceArgs args)
public NetworkEdgeSecurityService(String name, NetworkEdgeSecurityServiceArgs args, CustomResourceOptions options)
type: google-native:compute/v1:NetworkEdgeSecurityService
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 NetworkEdgeSecurityServiceArgs
- 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 NetworkEdgeSecurityServiceArgs
- 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 NetworkEdgeSecurityServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkEdgeSecurityServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkEdgeSecurityServiceArgs
- 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 examplenetworkEdgeSecurityServiceResourceResourceFromComputev1 = new GoogleNative.Compute.V1.NetworkEdgeSecurityService("examplenetworkEdgeSecurityServiceResourceResourceFromComputev1", new()
{
Region = "string",
Description = "string",
Name = "string",
Project = "string",
RequestId = "string",
SecurityPolicy = "string",
});
example, err := computev1.NewNetworkEdgeSecurityService(ctx, "examplenetworkEdgeSecurityServiceResourceResourceFromComputev1", &computev1.NetworkEdgeSecurityServiceArgs{
Region: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
SecurityPolicy: pulumi.String("string"),
})
var examplenetworkEdgeSecurityServiceResourceResourceFromComputev1 = new NetworkEdgeSecurityService("examplenetworkEdgeSecurityServiceResourceResourceFromComputev1", NetworkEdgeSecurityServiceArgs.builder()
.region("string")
.description("string")
.name("string")
.project("string")
.requestId("string")
.securityPolicy("string")
.build());
examplenetwork_edge_security_service_resource_resource_from_computev1 = google_native.compute.v1.NetworkEdgeSecurityService("examplenetworkEdgeSecurityServiceResourceResourceFromComputev1",
region="string",
description="string",
name="string",
project="string",
request_id="string",
security_policy="string")
const examplenetworkEdgeSecurityServiceResourceResourceFromComputev1 = new google_native.compute.v1.NetworkEdgeSecurityService("examplenetworkEdgeSecurityServiceResourceResourceFromComputev1", {
region: "string",
description: "string",
name: "string",
project: "string",
requestId: "string",
securityPolicy: "string",
});
type: google-native:compute/v1:NetworkEdgeSecurityService
properties:
description: string
name: string
project: string
region: string
requestId: string
securityPolicy: string
NetworkEdgeSecurityService 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 NetworkEdgeSecurityService resource accepts the following input properties:
- Region string
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Security
Policy string - The resource URL for the network edge security service associated with this network edge security service.
- Region string
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Security
Policy string - The resource URL for the network edge security service associated with this network edge security service.
- region String
- description String
- An optional description of this resource. Provide this property when you create the resource.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- security
Policy String - The resource URL for the network edge security service associated with this network edge security service.
- region string
- description string
- An optional description of this resource. Provide this property when you create the resource.
- name string
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - project string
- request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- security
Policy string - The resource URL for the network edge security service associated with this network edge security service.
- region str
- description str
- An optional description of this resource. Provide this property when you create the resource.
- name str
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - project str
- request_
id str - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- security_
policy str - The resource URL for the network edge security service associated with this network edge security service.
- region String
- description String
- An optional description of this resource. Provide this property when you create the resource.
- name String
- Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- security
Policy String - The resource URL for the network edge security service associated with this network edge security service.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkEdgeSecurityService resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- Self
Link string - Server-defined URL for the resource.
- Self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- self
Link string - Server-defined URL for the resource.
- self
Link stringWith Id - Server-defined URL for this resource with the resource id.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- self_
link str - Server-defined URL for the resource.
- self_
link_ strwith_ id - Server-defined URL for this resource with the resource id.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
- self
Link String - Server-defined URL for the resource.
- self
Link StringWith Id - Server-defined URL for this resource with the resource id.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.