Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedRegistrationAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type Authorization
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Plan
- type ProvisioningState
- type RegistrationAssignment
- type RegistrationAssignmentOperationPredicate
- type RegistrationAssignmentProperties
- type RegistrationAssignmentPropertiesRegistrationDefinition
- type RegistrationAssignmentPropertiesRegistrationDefinitionProperties
- type RegistrationAssignmentsClient
- func (c RegistrationAssignmentsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationAssignmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c RegistrationAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationAssignmentId, ...) error
- func (c RegistrationAssignmentsClient) Delete(ctx context.Context, id ScopedRegistrationAssignmentId) (result DeleteOperationResponse, err error)
- func (c RegistrationAssignmentsClient) DeleteThenPoll(ctx context.Context, id ScopedRegistrationAssignmentId) error
- func (c RegistrationAssignmentsClient) Get(ctx context.Context, id ScopedRegistrationAssignmentId, ...) (result GetOperationResponse, err error)
- func (c RegistrationAssignmentsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c RegistrationAssignmentsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c RegistrationAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ScopedRegistrationAssignmentId
- func NewScopedRegistrationAssignmentID(scope string, registrationAssignmentId string) ScopedRegistrationAssignmentId
- func ParseScopedRegistrationAssignmentID(input string) (*ScopedRegistrationAssignmentId, error)
- func ParseScopedRegistrationAssignmentIDInsensitively(input string) (*ScopedRegistrationAssignmentId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedRegistrationAssignmentID ¶
func ValidateScopedRegistrationAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRegistrationAssignmentID checks that 'input' can be parsed as a Scoped Registration Assignment ID
Types ¶
type Authorization ¶
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
ExpandRegistrationDefinition *bool
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistrationAssignment }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RegistrationAssignment }
type ListOperationOptions ¶
type ListOperationOptions struct {
ExpandRegistrationDefinition *bool
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RegistrationAssignment }
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 RegistrationAssignment ¶
type RegistrationAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RegistrationAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RegistrationAssignmentOperationPredicate ¶
func (RegistrationAssignmentOperationPredicate) Matches ¶
func (p RegistrationAssignmentOperationPredicate) Matches(input RegistrationAssignment) bool
type RegistrationAssignmentProperties ¶
type RegistrationAssignmentProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationDefinition *RegistrationAssignmentPropertiesRegistrationDefinition `json:"registrationDefinition,omitempty"` RegistrationDefinitionId string `json:"registrationDefinitionId"` }
type RegistrationAssignmentPropertiesRegistrationDefinition ¶
type RegistrationAssignmentPropertiesRegistrationDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *RegistrationAssignmentPropertiesRegistrationDefinitionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RegistrationAssignmentPropertiesRegistrationDefinitionProperties ¶
type RegistrationAssignmentPropertiesRegistrationDefinitionProperties struct { Authorizations *[]Authorization `json:"authorizations,omitempty"` Description *string `json:"description,omitempty"` ManagedByTenantId *string `json:"managedByTenantId,omitempty"` ManagedByTenantName *string `json:"managedByTenantName,omitempty"` ManageeTenantId *string `json:"manageeTenantId,omitempty"` ManageeTenantName *string `json:"manageeTenantName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationDefinitionName *string `json:"registrationDefinitionName,omitempty"` }
type RegistrationAssignmentsClient ¶
type RegistrationAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewRegistrationAssignmentsClientWithBaseURI ¶
func NewRegistrationAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistrationAssignmentsClient, error)
func (RegistrationAssignmentsClient) CreateOrUpdate ¶
func (c RegistrationAssignmentsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationAssignmentId, input RegistrationAssignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RegistrationAssignmentsClient) CreateOrUpdateThenPoll ¶
func (c RegistrationAssignmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationAssignmentId, input RegistrationAssignment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RegistrationAssignmentsClient) Delete ¶
func (c RegistrationAssignmentsClient) Delete(ctx context.Context, id ScopedRegistrationAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (RegistrationAssignmentsClient) DeleteThenPoll ¶
func (c RegistrationAssignmentsClient) DeleteThenPoll(ctx context.Context, id ScopedRegistrationAssignmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RegistrationAssignmentsClient) Get ¶
func (c RegistrationAssignmentsClient) Get(ctx context.Context, id ScopedRegistrationAssignmentId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (RegistrationAssignmentsClient) List ¶
func (c RegistrationAssignmentsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (RegistrationAssignmentsClient) ListComplete ¶
func (c RegistrationAssignmentsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RegistrationAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c RegistrationAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, predicate RegistrationAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedRegistrationAssignmentId ¶
ScopedRegistrationAssignmentId is a struct representing the Resource ID for a Scoped Registration Assignment
func NewScopedRegistrationAssignmentID ¶
func NewScopedRegistrationAssignmentID(scope string, registrationAssignmentId string) ScopedRegistrationAssignmentId
NewScopedRegistrationAssignmentID returns a new ScopedRegistrationAssignmentId struct
func ParseScopedRegistrationAssignmentID ¶
func ParseScopedRegistrationAssignmentID(input string) (*ScopedRegistrationAssignmentId, error)
ParseScopedRegistrationAssignmentID parses 'input' into a ScopedRegistrationAssignmentId
func ParseScopedRegistrationAssignmentIDInsensitively ¶
func ParseScopedRegistrationAssignmentIDInsensitively(input string) (*ScopedRegistrationAssignmentId, error)
ParseScopedRegistrationAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedRegistrationAssignmentId note: this method should only be used for API response data and not user input
func (*ScopedRegistrationAssignmentId) FromParseResult ¶
func (id *ScopedRegistrationAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRegistrationAssignmentId) ID ¶
func (id ScopedRegistrationAssignmentId) ID() string
ID returns the formatted Scoped Registration Assignment ID
func (ScopedRegistrationAssignmentId) Segments ¶
func (id ScopedRegistrationAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Registration Assignment ID
func (ScopedRegistrationAssignmentId) String ¶
func (id ScopedRegistrationAssignmentId) String() string
String returns a human-readable description of this Scoped Registration Assignment ID
Source Files ¶
- client.go
- constants.go
- id_scopedregistrationassignment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_authorization.go
- model_plan.go
- model_registrationassignment.go
- model_registrationassignmentproperties.go
- model_registrationassignmentpropertiesregistrationdefinition.go
- model_registrationassignmentpropertiesregistrationdefinitionproperties.go
- predicates.go
- version.go