azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-03-01/containerregistry Index | Files | Directories

package containerregistry

import "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-03-01/containerregistry"

Package containerregistry implements the Azure ARM Containerregistry service API version 2017-03-01.

Index

Package Files

client.go models.go operations.go registries.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Containerregistry
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Containerregistry.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type OperationDefinition Uses

type OperationDefinition struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The display information for the container registry operation.
    Display *OperationDisplayDefinition `json:"display,omitempty"`
}

OperationDefinition the definition of a container registry operation.

type OperationDisplayDefinition Uses

type OperationDisplayDefinition struct {
    // Provider - The resource provider name: Microsoft.ContainerRegistry.
    Provider *string `json:"provider,omitempty"`
    // Resource - The resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
    // Operation - The operation that users can perform.
    Operation *string `json:"operation,omitempty"`
    // Description - The description for the operation.
    Description *string `json:"description,omitempty"`
}

OperationDisplayDefinition the display information for a container registry operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.
    Value *[]OperationDefinition `json:"value,omitempty"`
    // NextLink - The URI that can be used to request the next list of container registry operations.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult the result of a request to list container registry operations.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

type OperationListResultIterator struct {
    // contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of OperationDefinition values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationDefinition

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

type OperationListResultPage struct {
    // contains filtered or unexported fields
}

OperationListResultPage contains a page of OperationDefinition values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationDefinition

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the client for the Operations methods of the Containerregistry service.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Azure Container Registry REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PasswordName Uses

type PasswordName string

PasswordName enumerates the values for password name.

const (
    // Password ...
    Password PasswordName = "password"
    // Password2 ...
    Password2 PasswordName = "password2"
)

func PossiblePasswordNameValues Uses

func PossiblePasswordNameValues() []PasswordName

PossiblePasswordNameValues returns an array of possible values for the PasswordName const type.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RegenerateCredentialParameters Uses

type RegenerateCredentialParameters struct {
    // Name - Specifies name of the password which should be regenerated -- password or password2. Possible values include: 'Password', 'Password2'
    Name PasswordName `json:"name,omitempty"`
}

RegenerateCredentialParameters the parameters used to regenerate the login credential.

type RegistriesClient Uses

type RegistriesClient struct {
    BaseClient
}

RegistriesClient is the client for the Registries methods of the Containerregistry service.

func NewRegistriesClient Uses

func NewRegistriesClient(subscriptionID string) RegistriesClient

NewRegistriesClient creates an instance of the RegistriesClient client.

func NewRegistriesClientWithBaseURI Uses

func NewRegistriesClientWithBaseURI(baseURI string, subscriptionID string) RegistriesClient

NewRegistriesClientWithBaseURI creates an instance of the RegistriesClient client.

func (RegistriesClient) CheckNameAvailability Uses

func (client RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest) (result RegistryNameStatus, err error)

CheckNameAvailability checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. Parameters: registryNameCheckRequest - the object containing information for the availability request.

func (RegistriesClient) CheckNameAvailabilityPreparer Uses

func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (RegistriesClient) CheckNameAvailabilityResponder Uses

func (client RegistriesClient) CheckNameAvailabilityResponder(resp *http.Response) (result RegistryNameStatus, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (RegistriesClient) CheckNameAvailabilitySender Uses

func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) Create Uses

func (client RegistriesClient) Create(ctx context.Context, resourceGroupName string, registryName string, registryCreateParameters RegistryCreateParameters) (result RegistriesCreateFuture, err error)

Create creates a container registry with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. registryCreateParameters - the parameters for creating a container registry.

func (RegistriesClient) CreatePreparer Uses

func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, registryCreateParameters RegistryCreateParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RegistriesClient) CreateResponder Uses

func (client RegistriesClient) CreateResponder(resp *http.Response) (result Registry, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RegistriesClient) CreateSender Uses

func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) Delete Uses

func (client RegistriesClient) Delete(ctx context.Context, resourceGroupName string, registryName string) (result autorest.Response, err error)

Delete deletes a container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (RegistriesClient) DeletePreparer Uses

func (client RegistriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RegistriesClient) DeleteResponder Uses

func (client RegistriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RegistriesClient) DeleteSender Uses

func (client RegistriesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) Get Uses

func (client RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string) (result Registry, err error)

Get gets the properties of the specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (RegistriesClient) GetPreparer Uses

func (client RegistriesClient) GetPreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegistriesClient) GetResponder Uses

func (client RegistriesClient) GetResponder(resp *http.Response) (result Registry, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RegistriesClient) GetSender Uses

func (client RegistriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) List Uses

func (client RegistriesClient) List(ctx context.Context) (result RegistryListResultPage, err error)

List lists all the container registries under the specified subscription.

func (RegistriesClient) ListByResourceGroup Uses

func (client RegistriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RegistryListResultPage, err error)

ListByResourceGroup lists all the container registries under the specified resource group. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs.

func (RegistriesClient) ListByResourceGroupComplete Uses

func (client RegistriesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RegistryListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (RegistriesClient) ListByResourceGroupPreparer Uses

func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RegistriesClient) ListByResourceGroupResponder Uses

func (client RegistriesClient) ListByResourceGroupResponder(resp *http.Response) (result RegistryListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RegistriesClient) ListByResourceGroupSender Uses

func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) ListComplete Uses

func (client RegistriesClient) ListComplete(ctx context.Context) (result RegistryListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RegistriesClient) ListCredentials Uses

func (client RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string) (result RegistryListCredentialsResult, err error)

ListCredentials lists the login credentials for the specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (RegistriesClient) ListCredentialsPreparer Uses

func (client RegistriesClient) ListCredentialsPreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

ListCredentialsPreparer prepares the ListCredentials request.

func (RegistriesClient) ListCredentialsResponder Uses

func (client RegistriesClient) ListCredentialsResponder(resp *http.Response) (result RegistryListCredentialsResult, err error)

ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.

func (RegistriesClient) ListCredentialsSender Uses

func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error)

ListCredentialsSender sends the ListCredentials request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) ListPreparer Uses

func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (RegistriesClient) ListResponder Uses

func (client RegistriesClient) ListResponder(resp *http.Response) (result RegistryListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RegistriesClient) ListSender Uses

func (client RegistriesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) RegenerateCredential Uses

func (client RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters) (result RegistryListCredentialsResult, err error)

RegenerateCredential regenerates one of the login credentials for the specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. regenerateCredentialParameters - specifies name of the password which should be regenerated -- password or password2.

func (RegistriesClient) RegenerateCredentialPreparer Uses

func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters) (*http.Request, error)

RegenerateCredentialPreparer prepares the RegenerateCredential request.

func (RegistriesClient) RegenerateCredentialResponder Uses

func (client RegistriesClient) RegenerateCredentialResponder(resp *http.Response) (result RegistryListCredentialsResult, err error)

RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always closes the http.Response Body.

func (RegistriesClient) RegenerateCredentialSender Uses

func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error)

RegenerateCredentialSender sends the RegenerateCredential request. The method will close the http.Response Body if it receives an error.

func (RegistriesClient) Update Uses

func (client RegistriesClient) Update(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters) (result Registry, err error)

Update updates a container registry with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. registryUpdateParameters - the parameters for updating a container registry.

func (RegistriesClient) UpdatePreparer Uses

func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RegistriesClient) UpdateResponder Uses

func (client RegistriesClient) UpdateResponder(resp *http.Response) (result Registry, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RegistriesClient) UpdateSender Uses

func (client RegistriesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RegistriesCreateFuture Uses

type RegistriesCreateFuture struct {
    azure.Future
}

RegistriesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RegistriesCreateFuture) Result Uses

func (future *RegistriesCreateFuture) Result(client RegistriesClient) (r Registry, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Registry Uses

type Registry struct {
    autorest.Response `json:"-"`
    // Sku - The SKU of the container registry.
    Sku *Sku `json:"sku,omitempty"`
    // RegistryProperties - The properties of the container registry.
    *RegistryProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource. This cannot be changed after the resource is created.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

Registry an object that represents a container registry.

func (Registry) MarshalJSON Uses

func (r Registry) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Registry.

func (*Registry) UnmarshalJSON Uses

func (r *Registry) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Registry struct.

type RegistryCreateParameters Uses

type RegistryCreateParameters struct {
    // Tags - The tags for the container registry.
    Tags map[string]*string `json:"tags"`
    // Location - The location of the container registry. This cannot be changed after the resource is created.
    Location *string `json:"location,omitempty"`
    // Sku - The SKU of the container registry.
    Sku *Sku `json:"sku,omitempty"`
    // RegistryPropertiesCreateParameters - The properties that the container registry will be created with.
    *RegistryPropertiesCreateParameters `json:"properties,omitempty"`
}

RegistryCreateParameters the parameters for creating a container registry.

func (RegistryCreateParameters) MarshalJSON Uses

func (rcp RegistryCreateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegistryCreateParameters.

func (*RegistryCreateParameters) UnmarshalJSON Uses

func (rcp *RegistryCreateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegistryCreateParameters struct.

type RegistryListCredentialsResult Uses

type RegistryListCredentialsResult struct {
    autorest.Response `json:"-"`
    // Username - The username for a container registry.
    Username *string `json:"username,omitempty"`
    // Passwords - The list of passwords for a container registry.
    Passwords *[]RegistryPassword `json:"passwords,omitempty"`
}

RegistryListCredentialsResult the response from the ListCredentials operation.

type RegistryListResult Uses

type RegistryListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of container registries. Since this list may be incomplete, the nextLink field should be used to request the next list of container registries.
    Value *[]Registry `json:"value,omitempty"`
    // NextLink - The URI that can be used to request the next list of container registries.
    NextLink *string `json:"nextLink,omitempty"`
}

RegistryListResult the result of a request to list container registries.

func (RegistryListResult) IsEmpty Uses

func (rlr RegistryListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RegistryListResultIterator Uses

type RegistryListResultIterator struct {
    // contains filtered or unexported fields
}

RegistryListResultIterator provides access to a complete listing of Registry values.

func NewRegistryListResultIterator Uses

func NewRegistryListResultIterator(page RegistryListResultPage) RegistryListResultIterator

Creates a new instance of the RegistryListResultIterator type.

func (*RegistryListResultIterator) Next Uses

func (iter *RegistryListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegistryListResultIterator) NextWithContext Uses

func (iter *RegistryListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RegistryListResultIterator) NotDone Uses

func (iter RegistryListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RegistryListResultIterator) Response Uses

func (iter RegistryListResultIterator) Response() RegistryListResult

Response returns the raw server response from the last page request.

func (RegistryListResultIterator) Value Uses

func (iter RegistryListResultIterator) Value() Registry

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RegistryListResultPage Uses

type RegistryListResultPage struct {
    // contains filtered or unexported fields
}

RegistryListResultPage contains a page of Registry values.

func NewRegistryListResultPage Uses

func NewRegistryListResultPage(getNextPage func(context.Context, RegistryListResult) (RegistryListResult, error)) RegistryListResultPage

Creates a new instance of the RegistryListResultPage type.

func (*RegistryListResultPage) Next Uses

func (page *RegistryListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RegistryListResultPage) NextWithContext Uses

func (page *RegistryListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RegistryListResultPage) NotDone Uses

func (page RegistryListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RegistryListResultPage) Response Uses

func (page RegistryListResultPage) Response() RegistryListResult

Response returns the raw server response from the last page request.

func (RegistryListResultPage) Values Uses

func (page RegistryListResultPage) Values() []Registry

Values returns the slice of values for the current page or nil if there are no values.

type RegistryNameCheckRequest Uses

type RegistryNameCheckRequest struct {
    // Name - The name of the container registry.
    Name *string `json:"name,omitempty"`
    // Type - The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.
    Type *string `json:"type,omitempty"`
}

RegistryNameCheckRequest a request to check whether a container registry name is available.

type RegistryNameStatus Uses

type RegistryNameStatus struct {
    autorest.Response `json:"-"`
    // NameAvailable - The value that indicates whether the name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - If any, the reason that the name is not available.
    Reason *string `json:"reason,omitempty"`
    // Message - If any, the error message that provides more detail for the reason that the name is not available.
    Message *string `json:"message,omitempty"`
}

RegistryNameStatus the result of a request to check the availability of a container registry name.

type RegistryPassword Uses

type RegistryPassword struct {
    // Name - The password name. Possible values include: 'Password', 'Password2'
    Name PasswordName `json:"name,omitempty"`
    // Value - The password value.
    Value *string `json:"value,omitempty"`
}

RegistryPassword the login password for the container registry.

type RegistryProperties Uses

type RegistryProperties struct {
    // LoginServer - READ-ONLY; The URL that can be used to log into the container registry.
    LoginServer *string `json:"loginServer,omitempty"`
    // CreationDate - READ-ONLY; The creation date of the container registry in ISO8601 format.
    CreationDate *date.Time `json:"creationDate,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the container registry at the time the operation was called. Possible values include: 'Creating', 'Succeeded'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // AdminUserEnabled - The value that indicates whether the admin user is enabled.
    AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
    // StorageAccount - The properties of the storage account for the container registry.
    StorageAccount *StorageAccountProperties `json:"storageAccount,omitempty"`
}

RegistryProperties the properties of a container registry.

type RegistryPropertiesCreateParameters Uses

type RegistryPropertiesCreateParameters struct {
    // AdminUserEnabled - The value that indicates whether the admin user is enabled.
    AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
    // StorageAccount - The parameters of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry.
    StorageAccount *StorageAccountParameters `json:"storageAccount,omitempty"`
}

RegistryPropertiesCreateParameters the parameters for creating the properties of a container registry.

type RegistryPropertiesUpdateParameters Uses

type RegistryPropertiesUpdateParameters struct {
    // AdminUserEnabled - The value that indicates whether the admin user is enabled.
    AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
    // StorageAccount - The parameters of a storage account for the container registry. If specified, the storage account must be in the same physical location as the container registry.
    StorageAccount *StorageAccountParameters `json:"storageAccount,omitempty"`
}

RegistryPropertiesUpdateParameters the parameters for updating the properties of a container registry.

type RegistryUpdateParameters Uses

type RegistryUpdateParameters struct {
    // Tags - The tags for the container registry.
    Tags map[string]*string `json:"tags"`
    // RegistryPropertiesUpdateParameters - The properties that the container registry will be updated with.
    *RegistryPropertiesUpdateParameters `json:"properties,omitempty"`
}

RegistryUpdateParameters the parameters for updating a container registry.

func (RegistryUpdateParameters) MarshalJSON Uses

func (rup RegistryUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegistryUpdateParameters.

func (*RegistryUpdateParameters) UnmarshalJSON Uses

func (rup *RegistryUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegistryUpdateParameters struct.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; The resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource. This cannot be changed after the resource is created.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

Resource an Azure resource.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type Sku Uses

type Sku struct {
    // Name - The SKU name of the container registry. Required for registry creation. Allowed value: Basic.
    Name *string `json:"name,omitempty"`
    // Tier - READ-ONLY; The SKU tier based on the SKU name. Possible values include: 'Basic'
    Tier SkuTier `json:"tier,omitempty"`
}

Sku the SKU of a container registry.

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
    // Basic ...
    Basic SkuTier = "Basic"
)

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type StorageAccountParameters Uses

type StorageAccountParameters struct {
    // Name - The name of the storage account.
    Name *string `json:"name,omitempty"`
    // AccessKey - The access key to the storage account.
    AccessKey *string `json:"accessKey,omitempty"`
}

StorageAccountParameters the parameters of a storage account for a container registry.

type StorageAccountProperties Uses

type StorageAccountProperties struct {
    // Name - The name of the storage account.
    Name *string `json:"name,omitempty"`
}

StorageAccountProperties the properties of a storage account for a container registry.

Directories

PathSynopsis
containerregistryapi

Package containerregistry imports 10 packages (graph) and is imported by 4 packages. Updated 2019-07-30. Refresh now. Tools for package owners.