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 ListCustomPager
- 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) (result 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, ...) (result 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistrationDefinition }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RegistrationDefinition }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RegistrationDefinition }
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" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
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 *resourcemanager.Client
}
func NewRegistrationDefinitionsClientWithBaseURI ¶
func NewRegistrationDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistrationDefinitionsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (RegistrationDefinitionsClient) ListComplete ¶
func (c RegistrationDefinitionsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RegistrationDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c RegistrationDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate RegistrationDefinitionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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) FromParseResult ¶
func (id *ScopedRegistrationDefinitionId) FromParseResult(input resourceids.ParseResult) error
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