Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networksecurity/v1beta1.FirewallEndpoint
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new FirewallEndpoint in a given project and location. Auto-naming is currently not supported for this resource.
Create FirewallEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallEndpoint(name: string, args: FirewallEndpointArgs, opts?: CustomResourceOptions);
@overload
def FirewallEndpoint(resource_name: str,
args: FirewallEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FirewallEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
firewall_endpoint_id: Optional[str] = None,
organization_id: Optional[str] = None,
billing_project_id: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
request_id: Optional[str] = None)
func NewFirewallEndpoint(ctx *Context, name string, args FirewallEndpointArgs, opts ...ResourceOption) (*FirewallEndpoint, error)
public FirewallEndpoint(string name, FirewallEndpointArgs args, CustomResourceOptions? opts = null)
public FirewallEndpoint(String name, FirewallEndpointArgs args)
public FirewallEndpoint(String name, FirewallEndpointArgs args, CustomResourceOptions options)
type: google-native:networksecurity/v1beta1:FirewallEndpoint
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 FirewallEndpointArgs
- 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 FirewallEndpointArgs
- 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 FirewallEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallEndpointArgs
- 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 firewallEndpointResource = new GoogleNative.NetworkSecurity.V1Beta1.FirewallEndpoint("firewallEndpointResource", new()
{
FirewallEndpointId = "string",
OrganizationId = "string",
BillingProjectId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
RequestId = "string",
});
example, err := networksecurityv1beta1.NewFirewallEndpoint(ctx, "firewallEndpointResource", &networksecurityv1beta1.FirewallEndpointArgs{
FirewallEndpointId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
BillingProjectId: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var firewallEndpointResource = new FirewallEndpoint("firewallEndpointResource", FirewallEndpointArgs.builder()
.firewallEndpointId("string")
.organizationId("string")
.billingProjectId("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.requestId("string")
.build());
firewall_endpoint_resource = google_native.networksecurity.v1beta1.FirewallEndpoint("firewallEndpointResource",
firewall_endpoint_id="string",
organization_id="string",
billing_project_id="string",
description="string",
labels={
"string": "string",
},
location="string",
request_id="string")
const firewallEndpointResource = new google_native.networksecurity.v1beta1.FirewallEndpoint("firewallEndpointResource", {
firewallEndpointId: "string",
organizationId: "string",
billingProjectId: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
requestId: "string",
});
type: google-native:networksecurity/v1beta1:FirewallEndpoint
properties:
billingProjectId: string
description: string
firewallEndpointId: string
labels:
string: string
location: string
organizationId: string
requestId: string
FirewallEndpoint 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 FirewallEndpoint resource accepts the following input properties:
- Firewall
Endpoint stringId - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- Organization
Id string - Billing
Project stringId - Optional. Project to bill on endpoint uptime usage.
- Description string
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs
- Location string
- Request
Id string - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
- Firewall
Endpoint stringId - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- Organization
Id string - Billing
Project stringId - Optional. Project to bill on endpoint uptime usage.
- Description string
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- Labels map[string]string
- Optional. Labels as key value pairs
- Location string
- Request
Id string - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
- firewall
Endpoint StringId - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- organization
Id String - billing
Project StringId - Optional. Project to bill on endpoint uptime usage.
- description String
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- labels Map<String,String>
- Optional. Labels as key value pairs
- location String
- request
Id String - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
- firewall
Endpoint stringId - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- organization
Id string - billing
Project stringId - Optional. Project to bill on endpoint uptime usage.
- description string
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- labels {[key: string]: string}
- Optional. Labels as key value pairs
- location string
- request
Id string - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
- firewall_
endpoint_ strid - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- organization_
id str - billing_
project_ strid - Optional. Project to bill on endpoint uptime usage.
- description str
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- labels Mapping[str, str]
- Optional. Labels as key value pairs
- location str
- request_
id str - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
- firewall
Endpoint StringId - Required. Id of the requesting object. If auto-generating Id server-side, remove this field and firewall_endpoint_id from the method_signature of Create RPC.
- organization
Id String - billing
Project StringId - Optional. Project to bill on endpoint uptime usage.
- description String
- Optional. Description of the firewall endpoint. Max length 2048 characters.
- labels Map<String>
- Optional. Labels as key value pairs
- location String
- request
Id String - Optional. 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. The server will guarantee that for at least 60 minutes since the first request. 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).
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallEndpoint resource produces the following output properties:
- Associated
Networks List<string> - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- Create
Time string - Create time stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- name of resource
- Reconciling bool
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- State string
- Current state of the endpoint.
- Update
Time string - Update time stamp
- Associated
Networks []string - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- Create
Time string - Create time stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- name of resource
- Reconciling bool
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- State string
- Current state of the endpoint.
- Update
Time string - Update time stamp
- associated
Networks List<String> - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- create
Time String - Create time stamp
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- name of resource
- reconciling Boolean
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- state String
- Current state of the endpoint.
- update
Time String - Update time stamp
- associated
Networks string[] - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- create
Time string - Create time stamp
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- name of resource
- reconciling boolean
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- state string
- Current state of the endpoint.
- update
Time string - Update time stamp
- associated_
networks Sequence[str] - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- create_
time str - Create time stamp
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- name of resource
- reconciling bool
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- state str
- Current state of the endpoint.
- update_
time str - Update time stamp
- associated
Networks List<String> - List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
- create
Time String - Create time stamp
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- name of resource
- reconciling Boolean
- Whether reconciling is in progress, recommended per https://google.aip.dev/128.
- state String
- Current state of the endpoint.
- update
Time String - Update time stamp
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.