Documentation ¶
Index ¶
- func PossibleValuesForCredentialHealthStatus() []string
- func PossibleValuesForCredentialName() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCredentialSetID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- type AuthCredential
- type CreateOperationResponse
- type CredentialHealth
- type CredentialHealthStatus
- type CredentialName
- type CredentialSet
- type CredentialSetId
- type CredentialSetOperationPredicate
- type CredentialSetProperties
- type CredentialSetUpdateParameters
- type CredentialSetUpdateProperties
- type CredentialSetsClient
- func (c CredentialSetsClient) Create(ctx context.Context, id CredentialSetId, input CredentialSet) (result CreateOperationResponse, err error)
- func (c CredentialSetsClient) CreateThenPoll(ctx context.Context, id CredentialSetId, input CredentialSet) error
- func (c CredentialSetsClient) Delete(ctx context.Context, id CredentialSetId) (result DeleteOperationResponse, err error)
- func (c CredentialSetsClient) DeleteThenPoll(ctx context.Context, id CredentialSetId) error
- func (c CredentialSetsClient) Get(ctx context.Context, id CredentialSetId) (result GetOperationResponse, err error)
- func (c CredentialSetsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c CredentialSetsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c CredentialSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate CredentialSetOperationPredicate) (result ListCompleteResult, err error)
- func (c CredentialSetsClient) Update(ctx context.Context, id CredentialSetId, input CredentialSetUpdateParameters) (result UpdateOperationResponse, err error)
- func (c CredentialSetsClient) UpdateThenPoll(ctx context.Context, id CredentialSetId, input CredentialSetUpdateParameters) error
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type RegistryId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCredentialHealthStatus ¶
func PossibleValuesForCredentialHealthStatus() []string
func PossibleValuesForCredentialName ¶
func PossibleValuesForCredentialName() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCredentialSetID ¶
ValidateCredentialSetID checks that 'input' can be parsed as a Credential Set ID
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
Types ¶
type AuthCredential ¶
type AuthCredential struct { CredentialHealth *CredentialHealth `json:"credentialHealth,omitempty"` Name *CredentialName `json:"name,omitempty"` PasswordSecretIdentifier *string `json:"passwordSecretIdentifier,omitempty"` UsernameSecretIdentifier *string `json:"usernameSecretIdentifier,omitempty"` }
type CreateOperationResponse ¶
type CredentialHealth ¶
type CredentialHealth struct { ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` Status *CredentialHealthStatus `json:"status,omitempty"` }
type CredentialHealthStatus ¶
type CredentialHealthStatus string
const ( CredentialHealthStatusHealthy CredentialHealthStatus = "Healthy" CredentialHealthStatusUnhealthy CredentialHealthStatus = "Unhealthy" )
func (*CredentialHealthStatus) UnmarshalJSON ¶
func (s *CredentialHealthStatus) UnmarshalJSON(bytes []byte) error
type CredentialName ¶
type CredentialName string
const (
CredentialNameCredentialOne CredentialName = "Credential1"
)
func (*CredentialName) UnmarshalJSON ¶
func (s *CredentialName) UnmarshalJSON(bytes []byte) error
type CredentialSet ¶
type CredentialSet struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *CredentialSetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CredentialSetId ¶
type CredentialSetId struct { SubscriptionId string ResourceGroupName string RegistryName string CredentialSetName string }
CredentialSetId is a struct representing the Resource ID for a Credential Set
func NewCredentialSetID ¶
func NewCredentialSetID(subscriptionId string, resourceGroupName string, registryName string, credentialSetName string) CredentialSetId
NewCredentialSetID returns a new CredentialSetId struct
func ParseCredentialSetID ¶
func ParseCredentialSetID(input string) (*CredentialSetId, error)
ParseCredentialSetID parses 'input' into a CredentialSetId
func ParseCredentialSetIDInsensitively ¶
func ParseCredentialSetIDInsensitively(input string) (*CredentialSetId, error)
ParseCredentialSetIDInsensitively parses 'input' case-insensitively into a CredentialSetId note: this method should only be used for API response data and not user input
func (*CredentialSetId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CredentialSetId) FromParseResult(input resourceids.ParseResult) error
func (CredentialSetId) ID ¶
func (id CredentialSetId) ID() string
ID returns the formatted Credential Set ID
func (CredentialSetId) Segments ¶
func (id CredentialSetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Credential Set ID
func (CredentialSetId) String ¶
func (id CredentialSetId) String() string
String returns a human-readable description of this Credential Set ID
type CredentialSetOperationPredicate ¶
func (CredentialSetOperationPredicate) Matches ¶
func (p CredentialSetOperationPredicate) Matches(input CredentialSet) bool
type CredentialSetProperties ¶
type CredentialSetProperties struct { AuthCredentials *[]AuthCredential `json:"authCredentials,omitempty"` CreationDate *string `json:"creationDate,omitempty"` LoginServer *string `json:"loginServer,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
func (*CredentialSetProperties) GetCreationDateAsTime ¶
func (o *CredentialSetProperties) GetCreationDateAsTime() (*time.Time, error)
func (*CredentialSetProperties) SetCreationDateAsTime ¶
func (o *CredentialSetProperties) SetCreationDateAsTime(input time.Time)
type CredentialSetUpdateParameters ¶
type CredentialSetUpdateParameters struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Properties *CredentialSetUpdateProperties `json:"properties,omitempty"` }
type CredentialSetUpdateProperties ¶
type CredentialSetUpdateProperties struct {
AuthCredentials *[]AuthCredential `json:"authCredentials,omitempty"`
}
type CredentialSetsClient ¶
type CredentialSetsClient struct {
Client *resourcemanager.Client
}
func NewCredentialSetsClientWithBaseURI ¶
func NewCredentialSetsClientWithBaseURI(sdkApi sdkEnv.Api) (*CredentialSetsClient, error)
func (CredentialSetsClient) Create ¶
func (c CredentialSetsClient) Create(ctx context.Context, id CredentialSetId, input CredentialSet) (result CreateOperationResponse, err error)
Create ...
func (CredentialSetsClient) CreateThenPoll ¶
func (c CredentialSetsClient) CreateThenPoll(ctx context.Context, id CredentialSetId, input CredentialSet) error
CreateThenPoll performs Create then polls until it's completed
func (CredentialSetsClient) Delete ¶
func (c CredentialSetsClient) Delete(ctx context.Context, id CredentialSetId) (result DeleteOperationResponse, err error)
Delete ...
func (CredentialSetsClient) DeleteThenPoll ¶
func (c CredentialSetsClient) DeleteThenPoll(ctx context.Context, id CredentialSetId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CredentialSetsClient) Get ¶
func (c CredentialSetsClient) Get(ctx context.Context, id CredentialSetId) (result GetOperationResponse, err error)
Get ...
func (CredentialSetsClient) List ¶
func (c CredentialSetsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (CredentialSetsClient) ListComplete ¶
func (c CredentialSetsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CredentialSetsClient) ListCompleteMatchingPredicate ¶
func (c CredentialSetsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate CredentialSetOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CredentialSetsClient) Update ¶
func (c CredentialSetsClient) Update(ctx context.Context, id CredentialSetId, input CredentialSetUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (CredentialSetsClient) UpdateThenPoll ¶
func (c CredentialSetsClient) UpdateThenPoll(ctx context.Context, id CredentialSetId, input CredentialSetUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CredentialSet }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []CredentialSet }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CredentialSet }
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 ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *RegistryId) FromParseResult(input resourceids.ParseResult) error
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
Source Files ¶
- client.go
- constants.go
- id_credentialset.go
- id_registry.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_authcredential.go
- model_credentialhealth.go
- model_credentialset.go
- model_credentialsetproperties.go
- model_credentialsetupdateparameters.go
- model_credentialsetupdateproperties.go
- predicates.go
- version.go