Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedRegistrationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type Authorization
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Plan
- type ProvisioningState
- type RegistrationDefinition
- type RegistrationDefinitionOperationPredicate
- type RegistrationDefinitionProperties
- type RegistrationDefinitionsClient
- func (c RegistrationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationDefinitionId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c RegistrationDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationDefinitionId, ...) error
- func (c RegistrationDefinitionsClient) Delete(ctx context.Context, id ScopedRegistrationDefinitionId) (result DeleteOperationResponse, err error)
- func (c RegistrationDefinitionsClient) Get(ctx context.Context, id ScopedRegistrationDefinitionId) (result GetOperationResponse, err error)
- func (c RegistrationDefinitionsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
- func (c RegistrationDefinitionsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c RegistrationDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListCompleteResult, err error)
- type ScopedRegistrationDefinitionId
- func NewScopedRegistrationDefinitionID(scope string, registrationDefinitionId string) ScopedRegistrationDefinitionId
- func ParseScopedRegistrationDefinitionID(input string) (*ScopedRegistrationDefinitionId, error)
- func ParseScopedRegistrationDefinitionIDInsensitively(input string) (*ScopedRegistrationDefinitionId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedRegistrationDefinitionID ¶
func ValidateScopedRegistrationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRegistrationDefinitionID checks that 'input' can be parsed as a Scoped Registration Definition ID
Types ¶
type Authorization ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *RegistrationDefinition }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RegistrationDefinition
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]RegistrationDefinition // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateReady ProvisioningState = "Ready" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RegistrationDefinition ¶
type RegistrationDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *RegistrationDefinitionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RegistrationDefinitionOperationPredicate ¶
func (RegistrationDefinitionOperationPredicate) Matches ¶
func (p RegistrationDefinitionOperationPredicate) Matches(input RegistrationDefinition) bool
type RegistrationDefinitionProperties ¶
type RegistrationDefinitionProperties struct { Authorizations []Authorization `json:"authorizations"` Description *string `json:"description,omitempty"` ManagedByTenantId string `json:"managedByTenantId"` ManagedByTenantName *string `json:"managedByTenantName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationDefinitionName *string `json:"registrationDefinitionName,omitempty"` }
type RegistrationDefinitionsClient ¶
type RegistrationDefinitionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRegistrationDefinitionsClientWithBaseURI ¶
func NewRegistrationDefinitionsClientWithBaseURI(endpoint string) RegistrationDefinitionsClient
func (RegistrationDefinitionsClient) CreateOrUpdate ¶
func (c RegistrationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationDefinitionId, input RegistrationDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RegistrationDefinitionsClient) CreateOrUpdateThenPoll ¶
func (c RegistrationDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationDefinitionId, input RegistrationDefinition) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RegistrationDefinitionsClient) Delete ¶
func (c RegistrationDefinitionsClient) Delete(ctx context.Context, id ScopedRegistrationDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (RegistrationDefinitionsClient) Get ¶
func (c RegistrationDefinitionsClient) Get(ctx context.Context, id ScopedRegistrationDefinitionId) (result GetOperationResponse, err error)
Get ...
func (RegistrationDefinitionsClient) List ¶
func (c RegistrationDefinitionsClient) List(ctx context.Context, id commonids.ScopeId) (resp ListOperationResponse, err error)
List ...
func (RegistrationDefinitionsClient) ListComplete ¶
func (c RegistrationDefinitionsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (RegistrationDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c RegistrationDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate RegistrationDefinitionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ScopedRegistrationDefinitionId ¶
ScopedRegistrationDefinitionId is a struct representing the Resource ID for a Scoped Registration Definition
func NewScopedRegistrationDefinitionID ¶
func NewScopedRegistrationDefinitionID(scope string, registrationDefinitionId string) ScopedRegistrationDefinitionId
NewScopedRegistrationDefinitionID returns a new ScopedRegistrationDefinitionId struct
func ParseScopedRegistrationDefinitionID ¶
func ParseScopedRegistrationDefinitionID(input string) (*ScopedRegistrationDefinitionId, error)
ParseScopedRegistrationDefinitionID parses 'input' into a ScopedRegistrationDefinitionId
func ParseScopedRegistrationDefinitionIDInsensitively ¶
func ParseScopedRegistrationDefinitionIDInsensitively(input string) (*ScopedRegistrationDefinitionId, error)
ParseScopedRegistrationDefinitionIDInsensitively parses 'input' case-insensitively into a ScopedRegistrationDefinitionId note: this method should only be used for API response data and not user input
func (ScopedRegistrationDefinitionId) ID ¶
func (id ScopedRegistrationDefinitionId) ID() string
ID returns the formatted Scoped Registration Definition ID
func (ScopedRegistrationDefinitionId) Segments ¶
func (id ScopedRegistrationDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Registration Definition ID
func (ScopedRegistrationDefinitionId) String ¶
func (id ScopedRegistrationDefinitionId) String() string
String returns a human-readable description of this Scoped Registration Definition ID
Source Files ¶
- client.go
- constants.go
- id_scopedregistrationdefinition.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_authorization.go
- model_plan.go
- model_registrationdefinition.go
- model_registrationdefinitionproperties.go
- predicates.go
- version.go