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

alicloud.cr.getChartNamespaces

Explore with Pulumi AI

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

    This data source provides the Cr Chart Namespaces of the current Alibaba Cloud user.

    NOTE: Available in v1.149.0+.

    Using getChartNamespaces

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getChartNamespaces(args: GetChartNamespacesArgs, opts?: InvokeOptions): Promise<GetChartNamespacesResult>
    function getChartNamespacesOutput(args: GetChartNamespacesOutputArgs, opts?: InvokeOptions): Output<GetChartNamespacesResult>
    def get_chart_namespaces(ids: Optional[Sequence[str]] = None,
                             instance_id: Optional[str] = None,
                             name_regex: Optional[str] = None,
                             output_file: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetChartNamespacesResult
    def get_chart_namespaces_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                             instance_id: Optional[pulumi.Input[str]] = None,
                             name_regex: Optional[pulumi.Input[str]] = None,
                             output_file: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetChartNamespacesResult]
    func GetChartNamespaces(ctx *Context, args *GetChartNamespacesArgs, opts ...InvokeOption) (*GetChartNamespacesResult, error)
    func GetChartNamespacesOutput(ctx *Context, args *GetChartNamespacesOutputArgs, opts ...InvokeOption) GetChartNamespacesResultOutput

    > Note: This function is named GetChartNamespaces in the Go SDK.

    public static class GetChartNamespaces 
    {
        public static Task<GetChartNamespacesResult> InvokeAsync(GetChartNamespacesArgs args, InvokeOptions? opts = null)
        public static Output<GetChartNamespacesResult> Invoke(GetChartNamespacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetChartNamespacesResult> getChartNamespaces(GetChartNamespacesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:cr/getChartNamespaces:getChartNamespaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The ID of the Container Registry instance.
    Ids List<string>
    A list of matched Container Registry Enterprise Edition namespaces.
    NameRegex string
    A regex string to filter results by name space name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    InstanceId string
    The ID of the Container Registry instance.
    Ids []string
    A list of matched Container Registry Enterprise Edition namespaces.
    NameRegex string
    A regex string to filter results by name space name.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    instanceId String
    The ID of the Container Registry instance.
    ids List<String>
    A list of matched Container Registry Enterprise Edition namespaces.
    nameRegex String
    A regex string to filter results by name space name.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    instanceId string
    The ID of the Container Registry instance.
    ids string[]
    A list of matched Container Registry Enterprise Edition namespaces.
    nameRegex string
    A regex string to filter results by name space name.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    instance_id str
    The ID of the Container Registry instance.
    ids Sequence[str]
    A list of matched Container Registry Enterprise Edition namespaces.
    name_regex str
    A regex string to filter results by name space name.
    output_file str
    File name where to save data source results (after running pulumi preview).
    instanceId String
    The ID of the Container Registry instance.
    ids List<String>
    A list of matched Container Registry Enterprise Edition namespaces.
    nameRegex String
    A regex string to filter results by name space name.
    outputFile String
    File name where to save data source results (after running pulumi preview).

    getChartNamespaces Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    InstanceId string
    Names List<string>
    Namespaces List<Pulumi.AliCloud.CR.Outputs.GetChartNamespacesNamespace>
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    InstanceId string
    Names []string
    Namespaces []GetChartNamespacesNamespace
    NameRegex string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instanceId String
    names List<String>
    namespaces List<GetChartNamespacesNamespace>
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    instanceId string
    names string[]
    namespaces GetChartNamespacesNamespace[]
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    instance_id str
    names Sequence[str]
    namespaces Sequence[GetChartNamespacesNamespace]
    name_regex str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instanceId String
    names List<String>
    namespaces List<Property Map>
    nameRegex String
    outputFile String

    Supporting Types

    GetChartNamespacesNamespace

    AutoCreateRepo bool
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    ChartNamespaceId string
    The ID of the namespace.
    DefaultRepoType string
    The default repository type. Valid values: PUBLIC,PRIVATE.
    Id string
    The ID of the Chart Namespace.
    InstanceId string
    The ID of the namespace.
    NamespaceName string
    The name of the namespace.
    AutoCreateRepo bool
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    ChartNamespaceId string
    The ID of the namespace.
    DefaultRepoType string
    The default repository type. Valid values: PUBLIC,PRIVATE.
    Id string
    The ID of the Chart Namespace.
    InstanceId string
    The ID of the namespace.
    NamespaceName string
    The name of the namespace.
    autoCreateRepo Boolean
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    chartNamespaceId String
    The ID of the namespace.
    defaultRepoType String
    The default repository type. Valid values: PUBLIC,PRIVATE.
    id String
    The ID of the Chart Namespace.
    instanceId String
    The ID of the namespace.
    namespaceName String
    The name of the namespace.
    autoCreateRepo boolean
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    chartNamespaceId string
    The ID of the namespace.
    defaultRepoType string
    The default repository type. Valid values: PUBLIC,PRIVATE.
    id string
    The ID of the Chart Namespace.
    instanceId string
    The ID of the namespace.
    namespaceName string
    The name of the namespace.
    auto_create_repo bool
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    chart_namespace_id str
    The ID of the namespace.
    default_repo_type str
    The default repository type. Valid values: PUBLIC,PRIVATE.
    id str
    The ID of the Chart Namespace.
    instance_id str
    The ID of the namespace.
    namespace_name str
    The name of the namespace.
    autoCreateRepo Boolean
    Indicates whether a repository is automatically created when an image is pushed to the namespace.
    chartNamespaceId String
    The ID of the namespace.
    defaultRepoType String
    The default repository type. Valid values: PUBLIC,PRIVATE.
    id String
    The ID of the Chart Namespace.
    instanceId String
    The ID of the namespace.
    namespaceName String
    The name of the namespace.

    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