Documentation ¶
Index ¶
- 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 ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type ActionsRequired
- type ConnectionStatus
- type CreateOperationResponse
- type DefaultAction
- type DeleteOperationResponse
- type EncryptionProperty
- type EncryptionStatus
- type ExportPolicy
- type ExportPolicyStatus
- type GenerateCredentialsOperationResponse
- type GenerateCredentialsParameters
- type GenerateCredentialsResult
- type GetOperationResponse
- type IPRule
- type ImportImageOperationResponse
- type ImportImageParameters
- type ImportMode
- type ImportSource
- type ImportSourceCredentials
- type KeyVaultProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCredentialsOperationResponse
- type ListOperationResponse
- type ListPrivateLinkResourcesCompleteResult
- type ListPrivateLinkResourcesOperationResponse
- type ListUsagesOperationResponse
- type NetworkRuleBypassOptions
- type NetworkRuleSet
- type PasswordName
- type Policies
- type PolicyStatus
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateLinkResource
- type PrivateLinkResourceOperationPredicate
- type PrivateLinkResourceProperties
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type QuarantinePolicy
- type RegenerateCredentialOperationResponse
- type RegenerateCredentialParameters
- type RegistriesClient
- 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) 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
- type RegistryId
- type RegistryListCredentialsResult
- type RegistryOperationPredicate
- type RegistryPassword
- type RegistryProperties
- type RegistryPropertiesUpdateParameters
- type RegistryUpdateParameters
- type RegistryUsage
- type RegistryUsageListResult
- type RegistryUsageUnit
- type RetentionPolicy
- type Sku
- type SkuName
- type SkuTier
- type Status
- type TokenPassword
- type TokenPasswordName
- type TrustPolicy
- type TrustPolicyType
- type UpdateOperationResponse
- type VirtualNetworkRule
- type ZoneRedundancy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAction ¶
func PossibleValuesForAction() []string
func PossibleValuesForActionsRequired ¶
func PossibleValuesForActionsRequired() []string
func PossibleValuesForConnectionStatus ¶
func PossibleValuesForConnectionStatus() []string
func PossibleValuesForDefaultAction ¶
func PossibleValuesForDefaultAction() []string
func PossibleValuesForEncryptionStatus ¶
func PossibleValuesForEncryptionStatus() []string
func PossibleValuesForExportPolicyStatus ¶
func PossibleValuesForExportPolicyStatus() []string
func PossibleValuesForImportMode ¶
func PossibleValuesForImportMode() []string
func PossibleValuesForNetworkRuleBypassOptions ¶
func PossibleValuesForNetworkRuleBypassOptions() []string
func PossibleValuesForPasswordName ¶
func PossibleValuesForPasswordName() []string
func PossibleValuesForPolicyStatus ¶
func PossibleValuesForPolicyStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForRegistryUsageUnit ¶
func PossibleValuesForRegistryUsageUnit() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForTokenPasswordName ¶
func PossibleValuesForTokenPasswordName() []string
func PossibleValuesForTrustPolicyType ¶
func PossibleValuesForTrustPolicyType() []string
func PossibleValuesForZoneRedundancy ¶
func PossibleValuesForZoneRedundancy() []string
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
Types ¶
type Action ¶
type Action string
const (
ActionAllow Action = "Allow"
)
func (*Action) UnmarshalJSON ¶ added in v0.20230406.1124617
type ActionsRequired ¶
type ActionsRequired string
const ( ActionsRequiredNone ActionsRequired = "None" ActionsRequiredRecreate ActionsRequired = "Recreate" )
func (*ActionsRequired) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ActionsRequired) UnmarshalJSON(bytes []byte) error
type ConnectionStatus ¶
type ConnectionStatus string
const ( ConnectionStatusApproved ConnectionStatus = "Approved" ConnectionStatusDisconnected ConnectionStatus = "Disconnected" ConnectionStatusPending ConnectionStatus = "Pending" ConnectionStatusRejected ConnectionStatus = "Rejected" )
func (*ConnectionStatus) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ConnectionStatus) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type DefaultAction ¶
type DefaultAction string
const ( DefaultActionAllow DefaultAction = "Allow" DefaultActionDeny DefaultAction = "Deny" )
func (*DefaultAction) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *DefaultAction) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type EncryptionProperty ¶
type EncryptionProperty struct { KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` Status *EncryptionStatus `json:"status,omitempty"` }
type EncryptionStatus ¶
type EncryptionStatus string
const ( EncryptionStatusDisabled EncryptionStatus = "disabled" EncryptionStatusEnabled EncryptionStatus = "enabled" )
func (*EncryptionStatus) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *EncryptionStatus) UnmarshalJSON(bytes []byte) error
type ExportPolicy ¶
type ExportPolicy struct {
Status *ExportPolicyStatus `json:"status,omitempty"`
}
type ExportPolicyStatus ¶
type ExportPolicyStatus string
const ( ExportPolicyStatusDisabled ExportPolicyStatus = "disabled" ExportPolicyStatusEnabled ExportPolicyStatus = "enabled" )
func (*ExportPolicyStatus) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ExportPolicyStatus) UnmarshalJSON(bytes []byte) error
type GenerateCredentialsParameters ¶
type GenerateCredentialsParameters struct { Expiry *string `json:"expiry,omitempty"` Name *TokenPasswordName `json:"name,omitempty"` TokenId *string `json:"tokenId,omitempty"` }
func (*GenerateCredentialsParameters) GetExpiryAsTime ¶
func (o *GenerateCredentialsParameters) GetExpiryAsTime() (*time.Time, error)
func (*GenerateCredentialsParameters) SetExpiryAsTime ¶
func (o *GenerateCredentialsParameters) SetExpiryAsTime(input time.Time)
type GenerateCredentialsResult ¶
type GenerateCredentialsResult struct { Passwords *[]TokenPassword `json:"passwords,omitempty"` Username *string `json:"username,omitempty"` }
type GetOperationResponse ¶
type ImportImageParameters ¶
type ImportImageParameters struct { Mode *ImportMode `json:"mode,omitempty"` Source ImportSource `json:"source"` TargetTags *[]string `json:"targetTags,omitempty"` UntaggedTargetRepositories *[]string `json:"untaggedTargetRepositories,omitempty"` }
type ImportMode ¶
type ImportMode string
const ( ImportModeForce ImportMode = "Force" ImportModeNoForce ImportMode = "NoForce" )
func (*ImportMode) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ImportMode) UnmarshalJSON(bytes []byte) error
type ImportSource ¶
type ImportSource struct { Credentials *ImportSourceCredentials `json:"credentials,omitempty"` RegistryUri *string `json:"registryUri,omitempty"` ResourceId *string `json:"resourceId,omitempty"` SourceImage string `json:"sourceImage"` }
type ImportSourceCredentials ¶
type KeyVaultProperties ¶
type KeyVaultProperties struct { Identity *string `json:"identity,omitempty"` KeyIdentifier *string `json:"keyIdentifier,omitempty"` KeyRotationEnabled *bool `json:"keyRotationEnabled,omitempty"` LastKeyRotationTimestamp *string `json:"lastKeyRotationTimestamp,omitempty"` VersionedKeyIdentifier *string `json:"versionedKeyIdentifier,omitempty"` }
func (*KeyVaultProperties) GetLastKeyRotationTimestampAsTime ¶
func (o *KeyVaultProperties) GetLastKeyRotationTimestampAsTime() (*time.Time, error)
func (*KeyVaultProperties) SetLastKeyRotationTimestampAsTime ¶
func (o *KeyVaultProperties) SetLastKeyRotationTimestampAsTime(input time.Time)
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Registry
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Registry
}
type ListCredentialsOperationResponse ¶
type ListCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistryListCredentialsResult }
type ListOperationResponse ¶
type ListPrivateLinkResourcesCompleteResult ¶
type ListPrivateLinkResourcesCompleteResult struct {
Items []PrivateLinkResource
}
type ListPrivateLinkResourcesOperationResponse ¶
type ListPrivateLinkResourcesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PrivateLinkResource }
type ListUsagesOperationResponse ¶
type ListUsagesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistryUsageListResult }
type NetworkRuleBypassOptions ¶
type NetworkRuleBypassOptions string
const ( NetworkRuleBypassOptionsAzureServices NetworkRuleBypassOptions = "AzureServices" NetworkRuleBypassOptionsNone NetworkRuleBypassOptions = "None" )
func (*NetworkRuleBypassOptions) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *NetworkRuleBypassOptions) UnmarshalJSON(bytes []byte) error
type NetworkRuleSet ¶
type NetworkRuleSet struct { DefaultAction DefaultAction `json:"defaultAction"` IPRules *[]IPRule `json:"ipRules,omitempty"` VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` }
type PasswordName ¶
type PasswordName string
const ( PasswordNamePassword PasswordName = "password" PasswordNamePasswordTwo PasswordName = "password2" )
func (*PasswordName) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *PasswordName) UnmarshalJSON(bytes []byte) error
type Policies ¶
type Policies struct { ExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"` QuarantinePolicy *QuarantinePolicy `json:"quarantinePolicy,omitempty"` RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` TrustPolicy *TrustPolicy `json:"trustPolicy,omitempty"` }
type PolicyStatus ¶
type PolicyStatus string
const ( PolicyStatusDisabled PolicyStatus = "disabled" PolicyStatusEnabled PolicyStatus = "enabled" )
func (*PolicyStatus) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *PolicyStatus) UnmarshalJSON(bytes []byte) error
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type PrivateLinkResource ¶
type PrivateLinkResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceOperationPredicate ¶
func (PrivateLinkResourceOperationPredicate) Matches ¶
func (p PrivateLinkResourceOperationPredicate) Matches(input PrivateLinkResource) bool
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *ActionsRequired `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *ConnectionStatus `json:"status,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type QuarantinePolicy ¶
type QuarantinePolicy struct {
Status *PolicyStatus `json:"status,omitempty"`
}
type RegenerateCredentialOperationResponse ¶
type RegenerateCredentialOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistryListCredentialsResult }
type RegenerateCredentialParameters ¶
type RegenerateCredentialParameters struct {
Name PasswordName `json:"name"`
}
type RegistriesClient ¶
type RegistriesClient struct {
Client *resourcemanager.Client
}
func NewRegistriesClientWithBaseURI ¶
func NewRegistriesClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistriesClient, error)
func (RegistriesClient) Create ¶
func (c RegistriesClient) Create(ctx context.Context, id RegistryId, input Registry) (result CreateOperationResponse, err error)
Create ...
func (RegistriesClient) CreateThenPoll ¶
func (c RegistriesClient) CreateThenPoll(ctx context.Context, id RegistryId, input Registry) error
CreateThenPoll performs Create then polls until it's completed
func (RegistriesClient) Delete ¶
func (c RegistriesClient) Delete(ctx context.Context, id RegistryId) (result DeleteOperationResponse, err error)
Delete ...
func (RegistriesClient) DeleteThenPoll ¶
func (c RegistriesClient) DeleteThenPoll(ctx context.Context, id RegistryId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RegistriesClient) GenerateCredentials ¶
func (c RegistriesClient) GenerateCredentials(ctx context.Context, id RegistryId, input GenerateCredentialsParameters) (result GenerateCredentialsOperationResponse, err error)
GenerateCredentials ...
func (RegistriesClient) GenerateCredentialsThenPoll ¶
func (c RegistriesClient) GenerateCredentialsThenPoll(ctx context.Context, id RegistryId, input GenerateCredentialsParameters) error
GenerateCredentialsThenPoll performs GenerateCredentials then polls until it's completed
func (RegistriesClient) Get ¶
func (c RegistriesClient) Get(ctx context.Context, id RegistryId) (result GetOperationResponse, err error)
Get ...
func (RegistriesClient) ImportImage ¶
func (c RegistriesClient) ImportImage(ctx context.Context, id RegistryId, input ImportImageParameters) (result ImportImageOperationResponse, err error)
ImportImage ...
func (RegistriesClient) ImportImageThenPoll ¶
func (c RegistriesClient) ImportImageThenPoll(ctx context.Context, id RegistryId, input ImportImageParameters) error
ImportImageThenPoll performs ImportImage then polls until it's completed
func (RegistriesClient) List ¶
func (c RegistriesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (RegistriesClient) ListByResourceGroup ¶
func (c RegistriesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (RegistriesClient) ListByResourceGroupComplete ¶
func (c RegistriesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (RegistriesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c RegistriesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate RegistryOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RegistriesClient) ListComplete ¶
func (c RegistriesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RegistriesClient) ListCompleteMatchingPredicate ¶
func (c RegistriesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate RegistryOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RegistriesClient) ListCredentials ¶
func (c RegistriesClient) ListCredentials(ctx context.Context, id RegistryId) (result ListCredentialsOperationResponse, err error)
ListCredentials ...
func (RegistriesClient) ListPrivateLinkResources ¶
func (c RegistriesClient) ListPrivateLinkResources(ctx context.Context, id RegistryId) (result ListPrivateLinkResourcesOperationResponse, err error)
ListPrivateLinkResources ...
func (RegistriesClient) ListPrivateLinkResourcesComplete ¶
func (c RegistriesClient) ListPrivateLinkResourcesComplete(ctx context.Context, id RegistryId) (ListPrivateLinkResourcesCompleteResult, error)
ListPrivateLinkResourcesComplete retrieves all the results into a single object
func (RegistriesClient) ListPrivateLinkResourcesCompleteMatchingPredicate ¶
func (c RegistriesClient) ListPrivateLinkResourcesCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate PrivateLinkResourceOperationPredicate) (result ListPrivateLinkResourcesCompleteResult, err error)
ListPrivateLinkResourcesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RegistriesClient) ListUsages ¶
func (c RegistriesClient) ListUsages(ctx context.Context, id RegistryId) (result ListUsagesOperationResponse, err error)
ListUsages ...
func (RegistriesClient) RegenerateCredential ¶
func (c RegistriesClient) RegenerateCredential(ctx context.Context, id RegistryId, input RegenerateCredentialParameters) (result RegenerateCredentialOperationResponse, err error)
RegenerateCredential ...
func (RegistriesClient) Update ¶
func (c RegistriesClient) Update(ctx context.Context, id RegistryId, input RegistryUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (RegistriesClient) UpdateThenPoll ¶
func (c RegistriesClient) UpdateThenPoll(ctx context.Context, id RegistryId, input RegistryUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type Registry ¶
type Registry struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *RegistryProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type RegistryId ¶
RegistryId is a struct representing the Resource ID for a Registry
func NewRegistryID ¶
func NewRegistryID(subscriptionId string, resourceGroupName string, registryName string) RegistryId
NewRegistryID returns a new RegistryId struct
func ParseRegistryID ¶
func ParseRegistryID(input string) (*RegistryId, error)
ParseRegistryID parses 'input' into a RegistryId
func ParseRegistryIDInsensitively ¶
func ParseRegistryIDInsensitively(input string) (*RegistryId, error)
ParseRegistryIDInsensitively parses 'input' case-insensitively into a RegistryId note: this method should only be used for API response data and not user input
func (RegistryId) Segments ¶
func (id RegistryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Registry ID
func (RegistryId) String ¶
func (id RegistryId) String() string
String returns a human-readable description of this Registry ID
type RegistryListCredentialsResult ¶
type RegistryListCredentialsResult struct { Passwords *[]RegistryPassword `json:"passwords,omitempty"` Username *string `json:"username,omitempty"` }
type RegistryOperationPredicate ¶
func (RegistryOperationPredicate) Matches ¶
func (p RegistryOperationPredicate) Matches(input Registry) bool
type RegistryPassword ¶
type RegistryPassword struct { Name *PasswordName `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
type RegistryProperties ¶
type RegistryProperties struct { AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"` AnonymousPullEnabled *bool `json:"anonymousPullEnabled,omitempty"` CreationDate *string `json:"creationDate,omitempty"` DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"` DataEndpointHostNames *[]string `json:"dataEndpointHostNames,omitempty"` Encryption *EncryptionProperty `json:"encryption,omitempty"` LoginServer *string `json:"loginServer,omitempty"` NetworkRuleBypassOptions *NetworkRuleBypassOptions `json:"networkRuleBypassOptions,omitempty"` NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"` Policies *Policies `json:"policies,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` Status *Status `json:"status,omitempty"` ZoneRedundancy *ZoneRedundancy `json:"zoneRedundancy,omitempty"` }
func (*RegistryProperties) GetCreationDateAsTime ¶
func (o *RegistryProperties) GetCreationDateAsTime() (*time.Time, error)
func (*RegistryProperties) SetCreationDateAsTime ¶
func (o *RegistryProperties) SetCreationDateAsTime(input time.Time)
type RegistryPropertiesUpdateParameters ¶
type RegistryPropertiesUpdateParameters struct { AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"` AnonymousPullEnabled *bool `json:"anonymousPullEnabled,omitempty"` DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"` Encryption *EncryptionProperty `json:"encryption,omitempty"` NetworkRuleBypassOptions *NetworkRuleBypassOptions `json:"networkRuleBypassOptions,omitempty"` NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"` Policies *Policies `json:"policies,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
type RegistryUpdateParameters ¶
type RegistryUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Properties *RegistryPropertiesUpdateParameters `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type RegistryUsage ¶
type RegistryUsage struct { CurrentValue *int64 `json:"currentValue,omitempty"` Limit *int64 `json:"limit,omitempty"` Name *string `json:"name,omitempty"` Unit *RegistryUsageUnit `json:"unit,omitempty"` }
type RegistryUsageListResult ¶
type RegistryUsageListResult struct {
Value *[]RegistryUsage `json:"value,omitempty"`
}
type RegistryUsageUnit ¶
type RegistryUsageUnit string
const ( RegistryUsageUnitBytes RegistryUsageUnit = "Bytes" RegistryUsageUnitCount RegistryUsageUnit = "Count" )
func (*RegistryUsageUnit) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *RegistryUsageUnit) UnmarshalJSON(bytes []byte) error
type RetentionPolicy ¶
type RetentionPolicy struct { Days *int64 `json:"days,omitempty"` LastUpdatedTime *string `json:"lastUpdatedTime,omitempty"` Status *PolicyStatus `json:"status,omitempty"` }
func (*RetentionPolicy) GetLastUpdatedTimeAsTime ¶
func (o *RetentionPolicy) GetLastUpdatedTimeAsTime() (*time.Time, error)
func (*RetentionPolicy) SetLastUpdatedTimeAsTime ¶
func (o *RetentionPolicy) SetLastUpdatedTimeAsTime(input time.Time)
type Status ¶
type Status struct { DisplayStatus *string `json:"displayStatus,omitempty"` Message *string `json:"message,omitempty"` Timestamp *string `json:"timestamp,omitempty"` }
func (*Status) SetTimestampAsTime ¶
type TokenPassword ¶
type TokenPassword struct { CreationTime *string `json:"creationTime,omitempty"` Expiry *string `json:"expiry,omitempty"` Name *TokenPasswordName `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
func (*TokenPassword) GetCreationTimeAsTime ¶
func (o *TokenPassword) GetCreationTimeAsTime() (*time.Time, error)
func (*TokenPassword) GetExpiryAsTime ¶
func (o *TokenPassword) GetExpiryAsTime() (*time.Time, error)
func (*TokenPassword) SetCreationTimeAsTime ¶
func (o *TokenPassword) SetCreationTimeAsTime(input time.Time)
func (*TokenPassword) SetExpiryAsTime ¶
func (o *TokenPassword) SetExpiryAsTime(input time.Time)
type TokenPasswordName ¶
type TokenPasswordName string
const ( TokenPasswordNamePasswordOne TokenPasswordName = "password1" TokenPasswordNamePasswordTwo TokenPasswordName = "password2" )
func (*TokenPasswordName) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *TokenPasswordName) UnmarshalJSON(bytes []byte) error
type TrustPolicy ¶
type TrustPolicy struct { Status *PolicyStatus `json:"status,omitempty"` Type *TrustPolicyType `json:"type,omitempty"` }
type TrustPolicyType ¶
type TrustPolicyType string
const (
TrustPolicyTypeNotary TrustPolicyType = "Notary"
)
func (*TrustPolicyType) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *TrustPolicyType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualNetworkRule ¶
type ZoneRedundancy ¶
type ZoneRedundancy string
const ( ZoneRedundancyDisabled ZoneRedundancy = "Disabled" ZoneRedundancyEnabled ZoneRedundancy = "Enabled" )
func (*ZoneRedundancy) UnmarshalJSON ¶ added in v0.20230406.1124617
func (s *ZoneRedundancy) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_registry.go
- method_create.go
- method_delete.go
- method_generatecredentials.go
- method_get.go
- method_importimage.go
- method_list.go
- method_listbyresourcegroup.go
- method_listcredentials.go
- method_listprivatelinkresources.go
- method_listusages.go
- method_regeneratecredential.go
- method_update.go
- model_encryptionproperty.go
- model_exportpolicy.go
- model_generatecredentialsparameters.go
- model_generatecredentialsresult.go
- model_importimageparameters.go
- model_importsource.go
- model_importsourcecredentials.go
- model_iprule.go
- model_keyvaultproperties.go
- model_networkruleset.go
- model_policies.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkresource.go
- model_privatelinkresourceproperties.go
- model_privatelinkserviceconnectionstate.go
- model_quarantinepolicy.go
- model_regeneratecredentialparameters.go
- model_registry.go
- model_registrylistcredentialsresult.go
- model_registrypassword.go
- model_registryproperties.go
- model_registrypropertiesupdateparameters.go
- model_registryupdateparameters.go
- model_registryusage.go
- model_registryusagelistresult.go
- model_retentionpolicy.go
- model_sku.go
- model_status.go
- model_tokenpassword.go
- model_trustpolicy.go
- model_virtualnetworkrule.go
- predicates.go
- version.go