1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. eci
  5. OpenApiImageCache
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

alicloud.eci.OpenApiImageCache

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.51.0 published on Saturday, Mar 23, 2024 by Pulumi

    Create OpenApiImageCache Resource

    new OpenApiImageCache(name: string, args: OpenApiImageCacheArgs, opts?: CustomResourceOptions);
    @overload
    def OpenApiImageCache(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          eip_instance_id: Optional[str] = None,
                          image_cache_name: Optional[str] = None,
                          image_cache_size: Optional[int] = None,
                          image_registry_credentials: Optional[Sequence[OpenApiImageCacheImageRegistryCredentialArgs]] = None,
                          images: Optional[Sequence[str]] = None,
                          resource_group_id: Optional[str] = None,
                          retention_days: Optional[int] = None,
                          security_group_id: Optional[str] = None,
                          vswitch_id: Optional[str] = None,
                          zone_id: Optional[str] = None)
    @overload
    def OpenApiImageCache(resource_name: str,
                          args: OpenApiImageCacheArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewOpenApiImageCache(ctx *Context, name string, args OpenApiImageCacheArgs, opts ...ResourceOption) (*OpenApiImageCache, error)
    public OpenApiImageCache(string name, OpenApiImageCacheArgs args, CustomResourceOptions? opts = null)
    public OpenApiImageCache(String name, OpenApiImageCacheArgs args)
    public OpenApiImageCache(String name, OpenApiImageCacheArgs args, CustomResourceOptions options)
    
    type: alicloud:eci:OpenApiImageCache
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OpenApiImageCacheArgs
    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 OpenApiImageCacheArgs
    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 OpenApiImageCacheArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OpenApiImageCacheArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OpenApiImageCacheArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OpenApiImageCache 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 OpenApiImageCache resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OpenApiImageCache resource produces the following output properties:

    ContainerGroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    ContainerGroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    containerGroupId String
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    containerGroupId string
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    container_group_id str
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    containerGroupId String
    id String
    The provider-assigned unique ID for this managed resource.
    status String

    Look up Existing OpenApiImageCache Resource

    Get an existing OpenApiImageCache 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?: OpenApiImageCacheState, opts?: CustomResourceOptions): OpenApiImageCache
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_group_id: Optional[str] = None,
            eip_instance_id: Optional[str] = None,
            image_cache_name: Optional[str] = None,
            image_cache_size: Optional[int] = None,
            image_registry_credentials: Optional[Sequence[OpenApiImageCacheImageRegistryCredentialArgs]] = None,
            images: Optional[Sequence[str]] = None,
            resource_group_id: Optional[str] = None,
            retention_days: Optional[int] = None,
            security_group_id: Optional[str] = None,
            status: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> OpenApiImageCache
    func GetOpenApiImageCache(ctx *Context, name string, id IDInput, state *OpenApiImageCacheState, opts ...ResourceOption) (*OpenApiImageCache, error)
    public static OpenApiImageCache Get(string name, Input<string> id, OpenApiImageCacheState? state, CustomResourceOptions? opts = null)
    public static OpenApiImageCache get(String name, Output<String> id, OpenApiImageCacheState 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:

    Supporting Types

    OpenApiImageCacheImageRegistryCredential, OpenApiImageCacheImageRegistryCredentialArgs

    Password string
    Server string
    UserName string
    Password string
    Server string
    UserName string
    password String
    server String
    userName String
    password string
    server string
    userName string
    password String
    server String
    userName String

    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.51.0 published on Saturday, Mar 23, 2024 by Pulumi