Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networksecurity/v1.UrlList
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new UrlList in a given project and location.
Create UrlList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UrlList(name: string, args: UrlListArgs, opts?: CustomResourceOptions);
@overload
def UrlList(resource_name: str,
args: UrlListArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UrlList(resource_name: str,
opts: Optional[ResourceOptions] = None,
url_list_id: Optional[str] = None,
values: Optional[Sequence[str]] = None,
description: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewUrlList(ctx *Context, name string, args UrlListArgs, opts ...ResourceOption) (*UrlList, error)
public UrlList(string name, UrlListArgs args, CustomResourceOptions? opts = null)
public UrlList(String name, UrlListArgs args)
public UrlList(String name, UrlListArgs args, CustomResourceOptions options)
type: google-native:networksecurity/v1:UrlList
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 UrlListArgs
- 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 UrlListArgs
- 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 UrlListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UrlListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UrlListArgs
- 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 urlListResource = new GoogleNative.NetworkSecurity.V1.UrlList("urlListResource", new()
{
UrlListId = "string",
Values = new[]
{
"string",
},
Description = "string",
Location = "string",
Name = "string",
Project = "string",
});
example, err := networksecurity.NewUrlList(ctx, "urlListResource", &networksecurity.UrlListArgs{
UrlListId: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var urlListResource = new UrlList("urlListResource", UrlListArgs.builder()
.urlListId("string")
.values("string")
.description("string")
.location("string")
.name("string")
.project("string")
.build());
url_list_resource = google_native.networksecurity.v1.UrlList("urlListResource",
url_list_id="string",
values=["string"],
description="string",
location="string",
name="string",
project="string")
const urlListResource = new google_native.networksecurity.v1.UrlList("urlListResource", {
urlListId: "string",
values: ["string"],
description: "string",
location: "string",
name: "string",
project: "string",
});
type: google-native:networksecurity/v1:UrlList
properties:
description: string
location: string
name: string
project: string
urlListId: string
values:
- string
UrlList 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 UrlList resource accepts the following input properties:
- Url
List stringId - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- Values List<string>
- FQDNs and URLs.
- Description string
- Optional. Free-text description of the resource.
- Location string
- Name string
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- Project string
- Url
List stringId - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- Values []string
- FQDNs and URLs.
- Description string
- Optional. Free-text description of the resource.
- Location string
- Name string
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- Project string
- url
List StringId - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- values List<String>
- FQDNs and URLs.
- description String
- Optional. Free-text description of the resource.
- location String
- name String
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- project String
- url
List stringId - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- values string[]
- FQDNs and URLs.
- description string
- Optional. Free-text description of the resource.
- location string
- name string
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- project string
- url_
list_ strid - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- values Sequence[str]
- FQDNs and URLs.
- description str
- Optional. Free-text description of the resource.
- location str
- name str
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- project str
- url
List StringId - Required. Short name of the UrlList resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "url_list".
- values List<String>
- FQDNs and URLs.
- description String
- Optional. Free-text description of the resource.
- location String
- name String
- Name of the resource provided by the user. Name is of the form projects/{project}/locations/{location}/urlLists/{url_list} url_list should match the pattern:(^a-z?$).
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the UrlList resource produces the following output properties:
- Create
Time string - Time when the security policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time when the security policy was updated.
- Create
Time string - Time when the security policy was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - Time when the security policy was updated.
- create
Time String - Time when the security policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time when the security policy was updated.
- create
Time string - Time when the security policy was created.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - Time when the security policy was updated.
- create_
time str - Time when the security policy was created.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - Time when the security policy was updated.
- create
Time String - Time when the security policy was created.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - Time when the security policy was updated.
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.