Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedAssociationID(input interface{}, key string) (warnings []string, errors []error)
- type Association
- type AssociationOperationPredicate
- type AssociationProperties
- type AssociationsClient
- func (c AssociationsClient) CreateOrUpdate(ctx context.Context, id ScopedAssociationId, input Association) (result CreateOrUpdateOperationResponse, err error)
- func (c AssociationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedAssociationId, input Association) error
- func (c AssociationsClient) Delete(ctx context.Context, id ScopedAssociationId) (result DeleteOperationResponse, err error)
- func (c AssociationsClient) DeleteThenPoll(ctx context.Context, id ScopedAssociationId) error
- func (c AssociationsClient) Get(ctx context.Context, id ScopedAssociationId) (result GetOperationResponse, err error)
- func (c AssociationsClient) ListAll(ctx context.Context, id commonids.ScopeId) (resp ListAllOperationResponse, err error)
- func (c AssociationsClient) ListAllComplete(ctx context.Context, id commonids.ScopeId) (ListAllCompleteResult, error)
- func (c AssociationsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListAllCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ProvisioningState
- type ScopedAssociationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedAssociationID ¶
ValidateScopedAssociationID checks that 'input' can be parsed as a Scoped Association ID
Types ¶
type Association ¶
type Association struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AssociationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AssociationOperationPredicate ¶
func (AssociationOperationPredicate) Matches ¶
func (p AssociationOperationPredicate) Matches(input Association) bool
type AssociationProperties ¶
type AssociationProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` }
type AssociationsClient ¶
func NewAssociationsClientWithBaseURI ¶
func NewAssociationsClientWithBaseURI(endpoint string) AssociationsClient
func (AssociationsClient) CreateOrUpdate ¶
func (c AssociationsClient) CreateOrUpdate(ctx context.Context, id ScopedAssociationId, input Association) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AssociationsClient) CreateOrUpdateThenPoll ¶
func (c AssociationsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedAssociationId, input Association) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AssociationsClient) Delete ¶
func (c AssociationsClient) Delete(ctx context.Context, id ScopedAssociationId) (result DeleteOperationResponse, err error)
Delete ...
func (AssociationsClient) DeleteThenPoll ¶
func (c AssociationsClient) DeleteThenPoll(ctx context.Context, id ScopedAssociationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AssociationsClient) Get ¶
func (c AssociationsClient) Get(ctx context.Context, id ScopedAssociationId) (result GetOperationResponse, err error)
Get ...
func (AssociationsClient) ListAll ¶
func (c AssociationsClient) ListAll(ctx context.Context, id commonids.ScopeId) (resp ListAllOperationResponse, err error)
ListAll ...
func (AssociationsClient) ListAllComplete ¶
func (c AssociationsClient) ListAllComplete(ctx context.Context, id commonids.ScopeId) (ListAllCompleteResult, error)
ListAllComplete retrieves all of the results into a single object
func (AssociationsClient) ListAllCompleteMatchingPredicate ¶
func (c AssociationsClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate AssociationOperationPredicate) (resp ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Association }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct {
Items []Association
}
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response Model *[]Association // contains filtered or unexported fields }
func (ListAllOperationResponse) HasMore ¶
func (r ListAllOperationResponse) HasMore() bool
func (ListAllOperationResponse) LoadMore ¶
func (r ListAllOperationResponse) LoadMore(ctx context.Context) (resp ListAllOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type ScopedAssociationId ¶
ScopedAssociationId is a struct representing the Resource ID for a Scoped Association
func NewScopedAssociationID ¶
func NewScopedAssociationID(scope string, associationName string) ScopedAssociationId
NewScopedAssociationID returns a new ScopedAssociationId struct
func ParseScopedAssociationID ¶
func ParseScopedAssociationID(input string) (*ScopedAssociationId, error)
ParseScopedAssociationID parses 'input' into a ScopedAssociationId
func ParseScopedAssociationIDInsensitively ¶
func ParseScopedAssociationIDInsensitively(input string) (*ScopedAssociationId, error)
ParseScopedAssociationIDInsensitively parses 'input' case-insensitively into a ScopedAssociationId note: this method should only be used for API response data and not user input
func (ScopedAssociationId) ID ¶
func (id ScopedAssociationId) ID() string
ID returns the formatted Scoped Association ID
func (ScopedAssociationId) Segments ¶
func (id ScopedAssociationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Association ID
func (ScopedAssociationId) String ¶
func (id ScopedAssociationId) String() string
String returns a human-readable description of this Scoped Association ID