1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. threatdetection
  5. FileUploadLimit
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.threatdetection.FileUploadLimit

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Import

    Threat Detection File Upload Limit can be imported using the id, e.g.

    $ pulumi import alicloud:threatdetection/fileUploadLimit:FileUploadLimit example
    

    Create FileUploadLimit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FileUploadLimit(name: string, args: FileUploadLimitArgs, opts?: CustomResourceOptions);
    @overload
    def FileUploadLimit(resource_name: str,
                        args: FileUploadLimitArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FileUploadLimit(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        limit: Optional[int] = None)
    func NewFileUploadLimit(ctx *Context, name string, args FileUploadLimitArgs, opts ...ResourceOption) (*FileUploadLimit, error)
    public FileUploadLimit(string name, FileUploadLimitArgs args, CustomResourceOptions? opts = null)
    public FileUploadLimit(String name, FileUploadLimitArgs args)
    public FileUploadLimit(String name, FileUploadLimitArgs args, CustomResourceOptions options)
    
    type: alicloud:threatdetection:FileUploadLimit
    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 FileUploadLimitArgs
    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 FileUploadLimitArgs
    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 FileUploadLimitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FileUploadLimitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FileUploadLimitArgs
    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 fileUploadLimitResource = new AliCloud.ThreatDetection.FileUploadLimit("fileUploadLimitResource", new()
    {
        Limit = 0,
    });
    
    example, err := threatdetection.NewFileUploadLimit(ctx, "fileUploadLimitResource", &threatdetection.FileUploadLimitArgs{
    	Limit: pulumi.Int(0),
    })
    
    var fileUploadLimitResource = new FileUploadLimit("fileUploadLimitResource", FileUploadLimitArgs.builder()
        .limit(0)
        .build());
    
    file_upload_limit_resource = alicloud.threatdetection.FileUploadLimit("fileUploadLimitResource", limit=0)
    
    const fileUploadLimitResource = new alicloud.threatdetection.FileUploadLimit("fileUploadLimitResource", {limit: 0});
    
    type: alicloud:threatdetection:FileUploadLimit
    properties:
        limit: 0
    

    FileUploadLimit Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FileUploadLimit resource accepts the following input properties:

    Limit int
    File Upload Threshold.
    Limit int
    File Upload Threshold.
    limit Integer
    File Upload Threshold.
    limit number
    File Upload Threshold.
    limit int
    File Upload Threshold.
    limit Number
    File Upload Threshold.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FileUploadLimit 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 FileUploadLimit Resource

    Get an existing FileUploadLimit 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?: FileUploadLimitState, opts?: CustomResourceOptions): FileUploadLimit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            limit: Optional[int] = None) -> FileUploadLimit
    func GetFileUploadLimit(ctx *Context, name string, id IDInput, state *FileUploadLimitState, opts ...ResourceOption) (*FileUploadLimit, error)
    public static FileUploadLimit Get(string name, Input<string> id, FileUploadLimitState? state, CustomResourceOptions? opts = null)
    public static FileUploadLimit get(String name, Output<String> id, FileUploadLimitState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    Limit int
    File Upload Threshold.
    Limit int
    File Upload Threshold.
    limit Integer
    File Upload Threshold.
    limit number
    File Upload Threshold.
    limit int
    File Upload Threshold.
    limit Number
    File Upload Threshold.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi