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
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)
public static Output<GetRegistryResult> getRegistry(GetRegistryArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:containerregistry:getRegistry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- RegistryName string
- The name of the container registry.
- ResourceGroup stringName 
- The name of the resource group to which the container registry belongs.
- RegistryName string
- The name of the container registry.
- ResourceGroup stringName 
- The name of the resource group to which the container registry belongs.
- registryName String
- The name of the container registry.
- resourceGroup StringName 
- The name of the resource group to which the container registry belongs.
- registryName string
- The name of the container registry.
- resourceGroup stringName 
- The name of the resource group to which the container registry belongs.
- registry_name str
- The name of the container registry.
- resource_group_ strname 
- The name of the resource group to which the container registry belongs.
- registryName String
- The name of the container registry.
- resourceGroup StringName 
- 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.Azure Native. Container Registry. Outputs. Sku Response 
- The SKU of the container registry.
- Status
Pulumi.Azure Native. Container Registry. Outputs. Status Response 
- The status of the container registry at the time the operation was called.
- Type string
- The type of the resource.
- AdminUser boolEnabled 
- The value that indicates whether the admin user is enabled.
- NetworkRule Pulumi.Set Azure Native. Container Registry. Outputs. Network Rule Set Response 
- The network rule set for a container registry.
- Policies
Pulumi.Azure Native. Container Registry. Outputs. Policies Response 
- The policies for a container registry.
- StorageAccount Pulumi.Azure Native. Container Registry. Outputs. Storage Account Properties Response 
- The properties of the storage account for the container registry. Only applicable to Classic SKU.
- 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.
- AdminUser boolEnabled 
- The value that indicates whether the admin user is enabled.
- NetworkRule NetworkSet Rule Set Response 
- The network rule set for a container registry.
- Policies
PoliciesResponse 
- The policies for a container registry.
- StorageAccount StorageAccount Properties Response 
- The properties of the storage account for the container registry. Only applicable to Classic SKU.
- 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.
- adminUser BooleanEnabled 
- The value that indicates whether the admin user is enabled.
- networkRule NetworkSet Rule Set Response 
- The network rule set for a container registry.
- policies
PoliciesResponse 
- The policies for a container registry.
- storageAccount StorageAccount Properties Response 
- The properties of the storage account for the container registry. Only applicable to Classic SKU.
- 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.
- adminUser booleanEnabled 
- The value that indicates whether the admin user is enabled.
- networkRule NetworkSet Rule Set Response 
- The network rule set for a container registry.
- policies
PoliciesResponse 
- The policies for a container registry.
- storageAccount StorageAccount Properties Response 
- The properties of the storage account for the container registry. Only applicable to Classic SKU.
- {[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_ boolenabled 
- The value that indicates whether the admin user is enabled.
- network_rule_ Networkset Rule Set Response 
- The network rule set for a container registry.
- policies
PoliciesResponse 
- The policies for a container registry.
- storage_account StorageAccount Properties Response 
- The properties of the storage account for the container registry. Only applicable to Classic SKU.
- 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.
- adminUser BooleanEnabled 
- The value that indicates whether the admin user is enabled.
- networkRule Property MapSet 
- 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.
- Map<String>
- The tags of the resource.
Supporting Types
IPRuleResponse 
- IPAddressOr stringRange 
- Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- Action string
- The action of IP ACL rule.
- IPAddressOr stringRange 
- Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- Action string
- The action of IP ACL rule.
- iPAddress StringOr Range 
- Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- action String
- The action of IP ACL rule.
- iPAddress stringOr Range 
- Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- action string
- The action of IP ACL rule.
- i_p_ straddress_ or_ range 
- Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
- action str
- The action of IP ACL rule.
- iPAddress StringOr Range 
- 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 List<Pulumi.Azure Native. Container Registry. Inputs. IPRule Response> 
- The IP ACL rules.
- VirtualNetwork List<Pulumi.Rules Azure Native. Container Registry. Inputs. Virtual Network Rule Response> 
- The virtual network rules.
- DefaultAction string
- The default action of allow or deny when no other rules match.
- IpRules []IPRuleResponse 
- The IP ACL rules.
- VirtualNetwork []VirtualRules Network Rule Response 
- 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.
- virtualNetwork List<VirtualRules Network Rule Response> 
- The virtual network rules.
- defaultAction string
- The default action of allow or deny when no other rules match.
- ipRules IPRuleResponse[] 
- The IP ACL rules.
- virtualNetwork VirtualRules Network Rule Response[] 
- 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_ Sequence[Virtualrules Network Rule Response] 
- 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.
- virtualNetwork List<Property Map>Rules 
- The virtual network rules.
PoliciesResponse 
- QuarantinePolicy Pulumi.Azure Native. Container Registry. Inputs. Quarantine Policy Response 
- The quarantine policy for a container registry.
- RetentionPolicy Pulumi.Azure Native. Container Registry. Inputs. Retention Policy Response 
- The retention policy for a container registry.
- TrustPolicy Pulumi.Azure Native. Container Registry. Inputs. Trust Policy Response 
- The content trust policy for a container registry.
- QuarantinePolicy QuarantinePolicy Response 
- The quarantine policy for a container registry.
- RetentionPolicy RetentionPolicy Response 
- The retention policy for a container registry.
- TrustPolicy TrustPolicy Response 
- The content trust policy for a container registry.
- quarantinePolicy QuarantinePolicy Response 
- The quarantine policy for a container registry.
- retentionPolicy RetentionPolicy Response 
- The retention policy for a container registry.
- trustPolicy TrustPolicy Response 
- The content trust policy for a container registry.
- quarantinePolicy QuarantinePolicy Response 
- The quarantine policy for a container registry.
- retentionPolicy RetentionPolicy Response 
- The retention policy for a container registry.
- trustPolicy TrustPolicy Response 
- The content trust policy for a container registry.
- quarantine_policy QuarantinePolicy Response 
- The quarantine policy for a container registry.
- retention_policy RetentionPolicy Response 
- The retention policy for a container registry.
- trust_policy TrustPolicy Response 
- 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  
- LastUpdated stringTime 
- 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.
- LastUpdated stringTime 
- 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.
- lastUpdated StringTime 
- 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.
- lastUpdated stringTime 
- 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_ strtime 
- 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.
- lastUpdated StringTime 
- 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 
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  
VirtualNetworkRuleResponse   
- VirtualNetwork stringResource Id 
- 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.
- VirtualNetwork stringResource Id 
- 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.
- virtualNetwork StringResource Id 
- 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.
- virtualNetwork stringResource Id 
- 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_ strresource_ id 
- 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.
- virtualNetwork StringResource Id 
- 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
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