Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAction() []string + func PossibleValuesForActionsRequired() []string + func PossibleValuesForConnectionStatus() []string + func PossibleValuesForDefaultAction() []string + func PossibleValuesForEncryptionStatus() []string + func PossibleValuesForExportPolicyStatus() []string + func PossibleValuesForImportMode() []string + func PossibleValuesForNetworkRuleBypassOptions() []string + func PossibleValuesForPasswordName() []string + func PossibleValuesForPolicyStatus() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForPublicNetworkAccess() []string + func PossibleValuesForRegistryUsageUnit() []string + func PossibleValuesForSkuName() []string + func PossibleValuesForSkuTier() []string + func PossibleValuesForTokenPasswordName() []string + func PossibleValuesForTrustPolicyType() []string + func PossibleValuesForZoneRedundancy() []string + func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error) + type Action string + const ActionAllow + func (s *Action) UnmarshalJSON(bytes []byte) error + type ActionsRequired string + const ActionsRequiredNone + const ActionsRequiredRecreate + func (s *ActionsRequired) UnmarshalJSON(bytes []byte) error + type ConnectionStatus string + const ConnectionStatusApproved + const ConnectionStatusDisconnected + const ConnectionStatusPending + const ConnectionStatusRejected + func (s *ConnectionStatus) UnmarshalJSON(bytes []byte) error + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Registry + OData *odata.OData + Poller pollers.Poller + type DefaultAction string + const DefaultActionAllow + const DefaultActionDeny + func (s *DefaultAction) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type EncryptionProperty struct + KeyVaultProperties *KeyVaultProperties + Status *EncryptionStatus + type EncryptionStatus string + const EncryptionStatusDisabled + const EncryptionStatusEnabled + func (s *EncryptionStatus) UnmarshalJSON(bytes []byte) error + type ExportPolicy struct + Status *ExportPolicyStatus + type ExportPolicyStatus string + const ExportPolicyStatusDisabled + const ExportPolicyStatusEnabled + func (s *ExportPolicyStatus) UnmarshalJSON(bytes []byte) error + type GenerateCredentialsOperationResponse struct + HttpResponse *http.Response + Model *GenerateCredentialsResult + OData *odata.OData + Poller pollers.Poller + type GenerateCredentialsParameters struct + Expiry *string + Name *TokenPasswordName + TokenId *string + func (o *GenerateCredentialsParameters) GetExpiryAsTime() (*time.Time, error) + func (o *GenerateCredentialsParameters) SetExpiryAsTime(input time.Time) + type GenerateCredentialsResult struct + Passwords *[]TokenPassword + Username *string + type GetOperationResponse struct + HttpResponse *http.Response + Model *Registry + OData *odata.OData + type GetPrivateLinkResourceOperationResponse struct + HttpResponse *http.Response + Model *PrivateLinkResource + OData *odata.OData + type IPRule struct + Action *Action + Value string + type ImportImageOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ImportImageParameters struct + Mode *ImportMode + Source ImportSource + TargetTags *[]string + UntaggedTargetRepositories *[]string + type ImportMode string + const ImportModeForce + const ImportModeNoForce + func (s *ImportMode) UnmarshalJSON(bytes []byte) error + type ImportSource struct + Credentials *ImportSourceCredentials + RegistryUri *string + ResourceId *string + SourceImage string + type ImportSourceCredentials struct + Password string + Username *string + type KeyVaultProperties struct + Identity *string + KeyIdentifier *string + KeyRotationEnabled *bool + LastKeyRotationTimestamp *string + VersionedKeyIdentifier *string + func (o *KeyVaultProperties) GetLastKeyRotationTimestampAsTime() (*time.Time, error) + func (o *KeyVaultProperties) SetLastKeyRotationTimestampAsTime(input time.Time) + type ListByResourceGroupCompleteResult struct + Items []Registry + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Registry + OData *odata.OData + type ListCompleteResult struct + Items []Registry + LatestHttpResponse *http.Response + type ListCredentialsOperationResponse struct + HttpResponse *http.Response + Model *RegistryListCredentialsResult + OData *odata.OData + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Registry + OData *odata.OData + type ListPrivateLinkResourcesCompleteResult struct + Items []PrivateLinkResource + LatestHttpResponse *http.Response + type ListPrivateLinkResourcesCustomPager struct + NextLink *odata.Link + func (p *ListPrivateLinkResourcesCustomPager) NextPageLink() *odata.Link + type ListPrivateLinkResourcesOperationResponse struct + HttpResponse *http.Response + Model *[]PrivateLinkResource + OData *odata.OData + type ListUsagesOperationResponse struct + HttpResponse *http.Response + Model *RegistryUsageListResult + OData *odata.OData + type NetworkRuleBypassOptions string + const NetworkRuleBypassOptionsAzureServices + const NetworkRuleBypassOptionsNone + func (s *NetworkRuleBypassOptions) UnmarshalJSON(bytes []byte) error + type NetworkRuleSet struct + DefaultAction DefaultAction + IPRules *[]IPRule + type PasswordName string + const PasswordNamePassword + const PasswordNamePasswordTwo + func (s *PasswordName) UnmarshalJSON(bytes []byte) error + type Policies struct + ExportPolicy *ExportPolicy + QuarantinePolicy *QuarantinePolicy + RetentionPolicy *RetentionPolicy + TrustPolicy *TrustPolicy + type PolicyStatus string + const PolicyStatusDisabled + const PolicyStatusEnabled + func (s *PolicyStatus) UnmarshalJSON(bytes []byte) error + type PrivateEndpoint struct + Id *string + type PrivateEndpointConnection struct + Id *string + Name *string + Properties *PrivateEndpointConnectionProperties + SystemData *systemdata.SystemData + Type *string + type PrivateEndpointConnectionProperties struct + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState + ProvisioningState *ProvisioningState + type PrivateLinkResource struct + Id *string + Name *string + Properties *PrivateLinkResourceProperties + Type *string + type PrivateLinkResourceId struct + PrivateLinkResourceName string + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewPrivateLinkResourceID(subscriptionId string, resourceGroupName string, registryName string, ...) PrivateLinkResourceId + func ParsePrivateLinkResourceID(input string) (*PrivateLinkResourceId, error) + func ParsePrivateLinkResourceIDInsensitively(input string) (*PrivateLinkResourceId, error) + func (id *PrivateLinkResourceId) FromParseResult(input resourceids.ParseResult) error + func (id PrivateLinkResourceId) ID() string + func (id PrivateLinkResourceId) Segments() []resourceids.Segment + func (id PrivateLinkResourceId) String() string + type PrivateLinkResourceOperationPredicate struct + Id *string + Name *string + Type *string + func (p PrivateLinkResourceOperationPredicate) Matches(input PrivateLinkResource) bool + type PrivateLinkResourceProperties struct + GroupId *string + RequiredMembers *[]string + RequiredZoneNames *[]string + type PrivateLinkServiceConnectionState struct + ActionsRequired *ActionsRequired + Description *string + Status *ConnectionStatus + type ProvisioningState string + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type PublicNetworkAccess string + const PublicNetworkAccessDisabled + const PublicNetworkAccessEnabled + func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error + type QuarantinePolicy struct + Status *PolicyStatus + type RegenerateCredentialOperationResponse struct + HttpResponse *http.Response + Model *RegistryListCredentialsResult + OData *odata.OData + type RegenerateCredentialParameters struct + Name PasswordName + type RegistriesClient struct + Client *resourcemanager.Client + func NewRegistriesClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistriesClient, error) + func (c RegistriesClient) Create(ctx context.Context, id RegistryId, input Registry) (result CreateOperationResponse, err error) + func (c RegistriesClient) CreateThenPoll(ctx context.Context, id RegistryId, input Registry) error + func (c RegistriesClient) Delete(ctx context.Context, id RegistryId) (result DeleteOperationResponse, err error) + func (c RegistriesClient) DeleteThenPoll(ctx context.Context, id RegistryId) error + func (c RegistriesClient) GenerateCredentials(ctx context.Context, id RegistryId, input GenerateCredentialsParameters) (result GenerateCredentialsOperationResponse, err error) + func (c RegistriesClient) GenerateCredentialsThenPoll(ctx context.Context, id RegistryId, input GenerateCredentialsParameters) error + func (c RegistriesClient) Get(ctx context.Context, id RegistryId) (result GetOperationResponse, err error) + func (c RegistriesClient) GetPrivateLinkResource(ctx context.Context, id PrivateLinkResourceId) (result GetPrivateLinkResourceOperationResponse, err error) + func (c RegistriesClient) ImportImage(ctx context.Context, id RegistryId, input ImportImageParameters) (result ImportImageOperationResponse, err error) + func (c RegistriesClient) ImportImageThenPoll(ctx context.Context, id RegistryId, input ImportImageParameters) error + func (c RegistriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) + func (c RegistriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c RegistriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c RegistriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c RegistriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) + func (c RegistriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error) + func (c RegistriesClient) ListCredentials(ctx context.Context, id RegistryId) (result ListCredentialsOperationResponse, err error) + func (c RegistriesClient) ListPrivateLinkResources(ctx context.Context, id RegistryId) (result ListPrivateLinkResourcesOperationResponse, err error) + func (c RegistriesClient) ListPrivateLinkResourcesComplete(ctx context.Context, id RegistryId) (ListPrivateLinkResourcesCompleteResult, error) + func (c RegistriesClient) ListPrivateLinkResourcesCompleteMatchingPredicate(ctx context.Context, id RegistryId, ...) (result ListPrivateLinkResourcesCompleteResult, err error) + func (c RegistriesClient) ListUsages(ctx context.Context, id RegistryId) (result ListUsagesOperationResponse, err error) + func (c RegistriesClient) RegenerateCredential(ctx context.Context, id RegistryId, input RegenerateCredentialParameters) (result RegenerateCredentialOperationResponse, err error) + func (c RegistriesClient) Update(ctx context.Context, id RegistryId, input RegistryUpdateParameters) (result UpdateOperationResponse, err error) + func (c RegistriesClient) UpdateThenPoll(ctx context.Context, id RegistryId, input RegistryUpdateParameters) error + type Registry struct + Id *string + Identity *identity.SystemAndUserAssignedMap + Location string + Name *string + Properties *RegistryProperties + Sku Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type RegistryId struct + RegistryName string + ResourceGroupName string + SubscriptionId string + func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId + func ParseRegistryID(input string) (*RegistryId, error) + func ParseRegistryIDInsensitively(input string) (*RegistryId, error) + func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error + func (id RegistryId) ID() string + func (id RegistryId) Segments() []resourceids.Segment + func (id RegistryId) String() string + type RegistryListCredentialsResult struct + Passwords *[]RegistryPassword + Username *string + type RegistryOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p RegistryOperationPredicate) Matches(input Registry) bool + type RegistryPassword struct + Name *PasswordName + Value *string + type RegistryProperties struct + AdminUserEnabled *bool + CreationDate *string + DataEndpointEnabled *bool + DataEndpointHostNames *[]string + Encryption *EncryptionProperty + LoginServer *string + NetworkRuleBypassOptions *NetworkRuleBypassOptions + NetworkRuleSet *NetworkRuleSet + Policies *Policies + PrivateEndpointConnections *[]PrivateEndpointConnection + ProvisioningState *ProvisioningState + PublicNetworkAccess *PublicNetworkAccess + Status *Status + ZoneRedundancy *ZoneRedundancy + func (o *RegistryProperties) GetCreationDateAsTime() (*time.Time, error) + func (o *RegistryProperties) SetCreationDateAsTime(input time.Time) + type RegistryPropertiesUpdateParameters struct + AdminUserEnabled *bool + DataEndpointEnabled *bool + Encryption *EncryptionProperty + NetworkRuleBypassOptions *NetworkRuleBypassOptions + NetworkRuleSet *NetworkRuleSet + Policies *Policies + PublicNetworkAccess *PublicNetworkAccess + type RegistryUpdateParameters struct + Identity *identity.SystemAndUserAssignedMap + Properties *RegistryPropertiesUpdateParameters + Sku *Sku + Tags *map[string]string + type RegistryUsage struct + CurrentValue *int64 + Limit *int64 + Name *string + Unit *RegistryUsageUnit + type RegistryUsageListResult struct + Value *[]RegistryUsage + type RegistryUsageUnit string + const RegistryUsageUnitBytes + const RegistryUsageUnitCount + func (s *RegistryUsageUnit) UnmarshalJSON(bytes []byte) error + type RetentionPolicy struct + Days *int64 + LastUpdatedTime *string + Status *PolicyStatus + func (o *RetentionPolicy) GetLastUpdatedTimeAsTime() (*time.Time, error) + func (o *RetentionPolicy) SetLastUpdatedTimeAsTime(input time.Time) + type Sku struct + Name SkuName + Tier *SkuTier + type SkuName string + const SkuNameBasic + const SkuNameClassic + const SkuNamePremium + const SkuNameStandard + func (s *SkuName) UnmarshalJSON(bytes []byte) error + type SkuTier string + const SkuTierBasic + const SkuTierClassic + const SkuTierPremium + const SkuTierStandard + func (s *SkuTier) UnmarshalJSON(bytes []byte) error + type Status struct + DisplayStatus *string + Message *string + Timestamp *string + func (o *Status) GetTimestampAsTime() (*time.Time, error) + func (o *Status) SetTimestampAsTime(input time.Time) + type TokenPassword struct + CreationTime *string + Expiry *string + Name *TokenPasswordName + Value *string + func (o *TokenPassword) GetCreationTimeAsTime() (*time.Time, error) + func (o *TokenPassword) GetExpiryAsTime() (*time.Time, error) + func (o *TokenPassword) SetCreationTimeAsTime(input time.Time) + func (o *TokenPassword) SetExpiryAsTime(input time.Time) + type TokenPasswordName string + const TokenPasswordNamePasswordOne + const TokenPasswordNamePasswordTwo + func (s *TokenPasswordName) UnmarshalJSON(bytes []byte) error + type TrustPolicy struct + Status *PolicyStatus + Type *TrustPolicyType + type TrustPolicyType string + const TrustPolicyTypeNotary + func (s *TrustPolicyType) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Registry + OData *odata.OData + Poller pollers.Poller + type ZoneRedundancy string + const ZoneRedundancyDisabled + const ZoneRedundancyEnabled + func (s *ZoneRedundancy) UnmarshalJSON(bytes []byte) error