1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networksecurity
  5. networksecurity/v1beta1
  6. UrlList

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networksecurity/v1beta1.UrlList

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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/v1beta1: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 google_nativeUrlListResource = new GoogleNative.NetworkSecurity.V1Beta1.UrlList("google-nativeUrlListResource", new()
    {
        UrlListId = "string",
        Values = new[]
        {
            "string",
        },
        Description = "string",
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := networksecurityv1beta1.NewUrlList(ctx, "google-nativeUrlListResource", &networksecurityv1beta1.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 google_nativeUrlListResource = new UrlList("google-nativeUrlListResource", UrlListArgs.builder()
        .urlListId("string")
        .values("string")
        .description("string")
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    google_native_url_list_resource = google_native.networksecurity.v1beta1.UrlList("google-nativeUrlListResource",
        url_list_id="string",
        values=["string"],
        description="string",
        location="string",
        name="string",
        project="string")
    
    const google_nativeUrlListResource = new google_native.networksecurity.v1beta1.UrlList("google-nativeUrlListResource", {
        urlListId: "string",
        values: ["string"],
        description: "string",
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:networksecurity/v1beta1: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:

    UrlListId string
    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
    UrlListId string
    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
    urlListId String
    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
    urlListId string
    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_id str
    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
    urlListId String
    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:

    CreateTime string
    Time when the security policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Time when the security policy was updated.
    CreateTime string
    Time when the security policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    Time when the security policy was updated.
    createTime String
    Time when the security policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Time when the security policy was updated.
    createTime string
    Time when the security policy was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime 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.
    createTime String
    Time when the security policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    Time when the security policy was updated.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi