1. Packages
  2. Azure Native v1
  3. API Docs
  4. containerregistry
  5. getRegistry
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.containerregistry.getRegistry

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the properties of the specified container registry. API Version: 2019-05-01.

    Using getRegistry

    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 getRegistry(args: GetRegistryArgs, opts?: InvokeOptions): Promise<GetRegistryResult>
    function getRegistryOutput(args: GetRegistryOutputArgs, opts?: InvokeOptions): Output<GetRegistryResult>
    def get_registry(registry_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetRegistryResult
    def get_registry_output(registry_name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetRegistryResult]
    func LookupRegistry(ctx *Context, args *LookupRegistryArgs, opts ...InvokeOption) (*LookupRegistryResult, error)
    func LookupRegistryOutput(ctx *Context, args *LookupRegistryOutputArgs, opts ...InvokeOption) LookupRegistryResultOutput

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

    public static class GetRegistry 
    {
        public static Task<GetRegistryResult> InvokeAsync(GetRegistryArgs args, InvokeOptions? opts = null)
        public static Output<GetRegistryResult> Invoke(GetRegistryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:containerregistry:getRegistry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group to which the container registry belongs.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group to which the container registry belongs.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.

    getRegistry Result

    The following output properties are available:

    CreationDate string
    The creation date of the container registry in ISO8601 format.
    Id string
    The resource ID.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    LoginServer string
    The URL that can be used to log into the container registry.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of the container registry at the time the operation was called.
    Sku Pulumi.AzureNative.ContainerRegistry.Outputs.SkuResponse
    The SKU of the container registry.
    Status Pulumi.AzureNative.ContainerRegistry.Outputs.StatusResponse
    The status of the container registry at the time the operation was called.
    Type string
    The type of the resource.
    AdminUserEnabled bool
    The value that indicates whether the admin user is enabled.
    NetworkRuleSet Pulumi.AzureNative.ContainerRegistry.Outputs.NetworkRuleSetResponse
    The network rule set for a container registry.
    Policies Pulumi.AzureNative.ContainerRegistry.Outputs.PoliciesResponse
    The policies for a container registry.
    StorageAccount Pulumi.AzureNative.ContainerRegistry.Outputs.StorageAccountPropertiesResponse
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    Tags Dictionary<string, string>
    The tags of the resource.
    CreationDate string
    The creation date of the container registry in ISO8601 format.
    Id string
    The resource ID.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    LoginServer string
    The URL that can be used to log into the container registry.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of the container registry at the time the operation was called.
    Sku SkuResponse
    The SKU of the container registry.
    Status StatusResponse
    The status of the container registry at the time the operation was called.
    Type string
    The type of the resource.
    AdminUserEnabled bool
    The value that indicates whether the admin user is enabled.
    NetworkRuleSet NetworkRuleSetResponse
    The network rule set for a container registry.
    Policies PoliciesResponse
    The policies for a container registry.
    StorageAccount StorageAccountPropertiesResponse
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    Tags map[string]string
    The tags of the resource.
    creationDate String
    The creation date of the container registry in ISO8601 format.
    id String
    The resource ID.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    loginServer String
    The URL that can be used to log into the container registry.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the container registry at the time the operation was called.
    sku SkuResponse
    The SKU of the container registry.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    type String
    The type of the resource.
    adminUserEnabled Boolean
    The value that indicates whether the admin user is enabled.
    networkRuleSet NetworkRuleSetResponse
    The network rule set for a container registry.
    policies PoliciesResponse
    The policies for a container registry.
    storageAccount StorageAccountPropertiesResponse
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    tags Map<String,String>
    The tags of the resource.
    creationDate string
    The creation date of the container registry in ISO8601 format.
    id string
    The resource ID.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    loginServer string
    The URL that can be used to log into the container registry.
    name string
    The name of the resource.
    provisioningState string
    The provisioning state of the container registry at the time the operation was called.
    sku SkuResponse
    The SKU of the container registry.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    type string
    The type of the resource.
    adminUserEnabled boolean
    The value that indicates whether the admin user is enabled.
    networkRuleSet NetworkRuleSetResponse
    The network rule set for a container registry.
    policies PoliciesResponse
    The policies for a container registry.
    storageAccount StorageAccountPropertiesResponse
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    tags {[key: string]: string}
    The tags of the resource.
    creation_date str
    The creation date of the container registry in ISO8601 format.
    id str
    The resource ID.
    location str
    The location of the resource. This cannot be changed after the resource is created.
    login_server str
    The URL that can be used to log into the container registry.
    name str
    The name of the resource.
    provisioning_state str
    The provisioning state of the container registry at the time the operation was called.
    sku SkuResponse
    The SKU of the container registry.
    status StatusResponse
    The status of the container registry at the time the operation was called.
    type str
    The type of the resource.
    admin_user_enabled bool
    The value that indicates whether the admin user is enabled.
    network_rule_set NetworkRuleSetResponse
    The network rule set for a container registry.
    policies PoliciesResponse
    The policies for a container registry.
    storage_account StorageAccountPropertiesResponse
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    tags Mapping[str, str]
    The tags of the resource.
    creationDate String
    The creation date of the container registry in ISO8601 format.
    id String
    The resource ID.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    loginServer String
    The URL that can be used to log into the container registry.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the container registry at the time the operation was called.
    sku Property Map
    The SKU of the container registry.
    status Property Map
    The status of the container registry at the time the operation was called.
    type String
    The type of the resource.
    adminUserEnabled Boolean
    The value that indicates whether the admin user is enabled.
    networkRuleSet Property Map
    The network rule set for a container registry.
    policies Property Map
    The policies for a container registry.
    storageAccount Property Map
    The properties of the storage account for the container registry. Only applicable to Classic SKU.
    tags Map<String>
    The tags of the resource.

    Supporting Types

    IPRuleResponse

    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string
    The action of IP ACL rule.
    IPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    Action string
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String
    The action of IP ACL rule.
    iPAddressOrRange string
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action string
    The action of IP ACL rule.
    i_p_address_or_range str
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action str
    The action of IP ACL rule.
    iPAddressOrRange String
    Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
    action String
    The action of IP ACL rule.

    NetworkRuleSetResponse

    DefaultAction string
    The default action of allow or deny when no other rules match.
    IpRules []IPRuleResponse
    The IP ACL rules.
    VirtualNetworkRules []VirtualNetworkRuleResponse
    The virtual network rules.
    defaultAction String
    The default action of allow or deny when no other rules match.
    ipRules List<IPRuleResponse>
    The IP ACL rules.
    virtualNetworkRules List<VirtualNetworkRuleResponse>
    The virtual network rules.
    defaultAction string
    The default action of allow or deny when no other rules match.
    ipRules IPRuleResponse[]
    The IP ACL rules.
    virtualNetworkRules VirtualNetworkRuleResponse[]
    The virtual network rules.
    default_action str
    The default action of allow or deny when no other rules match.
    ip_rules Sequence[IPRuleResponse]
    The IP ACL rules.
    virtual_network_rules Sequence[VirtualNetworkRuleResponse]
    The virtual network rules.
    defaultAction String
    The default action of allow or deny when no other rules match.
    ipRules List<Property Map>
    The IP ACL rules.
    virtualNetworkRules List<Property Map>
    The virtual network rules.

    PoliciesResponse

    QuarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    RetentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    TrustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    quarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    trustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    quarantinePolicy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retentionPolicy RetentionPolicyResponse
    The retention policy for a container registry.
    trustPolicy TrustPolicyResponse
    The content trust policy for a container registry.
    quarantine_policy QuarantinePolicyResponse
    The quarantine policy for a container registry.
    retention_policy RetentionPolicyResponse
    The retention policy for a container registry.
    trust_policy TrustPolicyResponse
    The content trust policy for a container registry.
    quarantinePolicy Property Map
    The quarantine policy for a container registry.
    retentionPolicy Property Map
    The retention policy for a container registry.
    trustPolicy Property Map
    The content trust policy for a container registry.

    QuarantinePolicyResponse

    Status string
    The value that indicates whether the policy is enabled or not.
    Status string
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.
    status string
    The value that indicates whether the policy is enabled or not.
    status str
    The value that indicates whether the policy is enabled or not.
    status String
    The value that indicates whether the policy is enabled or not.

    RetentionPolicyResponse

    LastUpdatedTime string
    The timestamp when the policy was last updated.
    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string
    The value that indicates whether the policy is enabled or not.
    LastUpdatedTime string
    The timestamp when the policy was last updated.
    Days int
    The number of days to retain an untagged manifest after which it gets purged.
    Status string
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    days Integer
    The number of days to retain an untagged manifest after which it gets purged.
    status String
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime string
    The timestamp when the policy was last updated.
    days number
    The number of days to retain an untagged manifest after which it gets purged.
    status string
    The value that indicates whether the policy is enabled or not.
    last_updated_time str
    The timestamp when the policy was last updated.
    days int
    The number of days to retain an untagged manifest after which it gets purged.
    status str
    The value that indicates whether the policy is enabled or not.
    lastUpdatedTime String
    The timestamp when the policy was last updated.
    days Number
    The number of days to retain an untagged manifest after which it gets purged.
    status String
    The value that indicates whether the policy is enabled or not.

    SkuResponse

    Name string
    The SKU name of the container registry. Required for registry creation.
    Tier string
    The SKU tier based on the SKU name.
    Name string
    The SKU name of the container registry. Required for registry creation.
    Tier string
    The SKU tier based on the SKU name.
    name String
    The SKU name of the container registry. Required for registry creation.
    tier String
    The SKU tier based on the SKU name.
    name string
    The SKU name of the container registry. Required for registry creation.
    tier string
    The SKU tier based on the SKU name.
    name str
    The SKU name of the container registry. Required for registry creation.
    tier str
    The SKU tier based on the SKU name.
    name String
    The SKU name of the container registry. Required for registry creation.
    tier String
    The SKU tier based on the SKU name.

    StatusResponse

    DisplayStatus string
    The short label for the status.
    Message string
    The detailed message for the status, including alerts and error messages.
    Timestamp string
    The timestamp when the status was changed to the current value.
    DisplayStatus string
    The short label for the status.
    Message string
    The detailed message for the status, including alerts and error messages.
    Timestamp string
    The timestamp when the status was changed to the current value.
    displayStatus String
    The short label for the status.
    message String
    The detailed message for the status, including alerts and error messages.
    timestamp String
    The timestamp when the status was changed to the current value.
    displayStatus string
    The short label for the status.
    message string
    The detailed message for the status, including alerts and error messages.
    timestamp string
    The timestamp when the status was changed to the current value.
    display_status str
    The short label for the status.
    message str
    The detailed message for the status, including alerts and error messages.
    timestamp str
    The timestamp when the status was changed to the current value.
    displayStatus String
    The short label for the status.
    message String
    The detailed message for the status, including alerts and error messages.
    timestamp String
    The timestamp when the status was changed to the current value.

    StorageAccountPropertiesResponse

    Id string
    The resource ID of the storage account.
    Id string
    The resource ID of the storage account.
    id String
    The resource ID of the storage account.
    id string
    The resource ID of the storage account.
    id str
    The resource ID of the storage account.
    id String
    The resource ID of the storage account.

    TrustPolicyResponse

    Status string
    The value that indicates whether the policy is enabled or not.
    Type string
    The type of trust policy.
    Status string
    The value that indicates whether the policy is enabled or not.
    Type string
    The type of trust policy.
    status String
    The value that indicates whether the policy is enabled or not.
    type String
    The type of trust policy.
    status string
    The value that indicates whether the policy is enabled or not.
    type string
    The type of trust policy.
    status str
    The value that indicates whether the policy is enabled or not.
    type str
    The type of trust policy.
    status String
    The value that indicates whether the policy is enabled or not.
    type String
    The type of trust policy.

    VirtualNetworkRuleResponse

    VirtualNetworkResourceId string
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    Action string
    The action of virtual network rule.
    VirtualNetworkResourceId string
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    Action string
    The action of virtual network rule.
    virtualNetworkResourceId String
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    action String
    The action of virtual network rule.
    virtualNetworkResourceId string
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    action string
    The action of virtual network rule.
    virtual_network_resource_id str
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    action str
    The action of virtual network rule.
    virtualNetworkResourceId String
    Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
    action String
    The action of virtual network rule.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi