Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateRegistryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopeMapID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type RegistryId
- type ScopeMap
- type ScopeMapId
- type ScopeMapOperationPredicate
- type ScopeMapProperties
- type ScopeMapPropertiesUpdateParameters
- type ScopeMapUpdateParameters
- type ScopeMapsClient
- func (c ScopeMapsClient) Create(ctx context.Context, id ScopeMapId, input ScopeMap) (result CreateOperationResponse, err error)
- func (c ScopeMapsClient) CreateThenPoll(ctx context.Context, id ScopeMapId, input ScopeMap) error
- func (c ScopeMapsClient) Delete(ctx context.Context, id ScopeMapId) (result DeleteOperationResponse, err error)
- func (c ScopeMapsClient) DeleteThenPoll(ctx context.Context, id ScopeMapId) error
- func (c ScopeMapsClient) Get(ctx context.Context, id ScopeMapId) (result GetOperationResponse, err error)
- func (c ScopeMapsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
- func (c ScopeMapsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
- func (c ScopeMapsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate ScopeMapOperationPredicate) (result ListCompleteResult, err error)
- func (c ScopeMapsClient) Update(ctx context.Context, id ScopeMapId, input ScopeMapUpdateParameters) (result UpdateOperationResponse, err error)
- func (c ScopeMapsClient) UpdateThenPoll(ctx context.Context, id ScopeMapId, input ScopeMapUpdateParameters) error
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateRegistryID ¶
ValidateRegistryID checks that 'input' can be parsed as a Registry ID
func ValidateScopeMapID ¶
ValidateScopeMapID checks that 'input' can be parsed as a Scope Map ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
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 ¶
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
type ScopeMap ¶
type ScopeMap struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScopeMapProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScopeMapId ¶
type ScopeMapId struct { SubscriptionId string ResourceGroupName string RegistryName string ScopeMapName string }
ScopeMapId is a struct representing the Resource ID for a Scope Map
func NewScopeMapID ¶
func NewScopeMapID(subscriptionId string, resourceGroupName string, registryName string, scopeMapName string) ScopeMapId
NewScopeMapID returns a new ScopeMapId struct
func ParseScopeMapID ¶
func ParseScopeMapID(input string) (*ScopeMapId, error)
ParseScopeMapID parses 'input' into a ScopeMapId
func ParseScopeMapIDInsensitively ¶
func ParseScopeMapIDInsensitively(input string) (*ScopeMapId, error)
ParseScopeMapIDInsensitively parses 'input' case-insensitively into a ScopeMapId note: this method should only be used for API response data and not user input
func (*ScopeMapId) FromParseResult ¶
func (id *ScopeMapId) FromParseResult(input resourceids.ParseResult) error
func (ScopeMapId) Segments ¶
func (id ScopeMapId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scope Map ID
func (ScopeMapId) String ¶
func (id ScopeMapId) String() string
String returns a human-readable description of this Scope Map ID
type ScopeMapOperationPredicate ¶
func (ScopeMapOperationPredicate) Matches ¶
func (p ScopeMapOperationPredicate) Matches(input ScopeMap) bool
type ScopeMapProperties ¶
type ScopeMapProperties struct { Actions []string `json:"actions"` CreationDate *string `json:"creationDate,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Type *string `json:"type,omitempty"` }
func (*ScopeMapProperties) GetCreationDateAsTime ¶
func (o *ScopeMapProperties) GetCreationDateAsTime() (*time.Time, error)
type ScopeMapUpdateParameters ¶
type ScopeMapUpdateParameters struct {
Properties *ScopeMapPropertiesUpdateParameters `json:"properties,omitempty"`
}
type ScopeMapsClient ¶
type ScopeMapsClient struct {
Client *resourcemanager.Client
}
func NewScopeMapsClientWithBaseURI ¶
func NewScopeMapsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScopeMapsClient, error)
func (ScopeMapsClient) Create ¶
func (c ScopeMapsClient) Create(ctx context.Context, id ScopeMapId, input ScopeMap) (result CreateOperationResponse, err error)
Create ...
func (ScopeMapsClient) CreateThenPoll ¶
func (c ScopeMapsClient) CreateThenPoll(ctx context.Context, id ScopeMapId, input ScopeMap) error
CreateThenPoll performs Create then polls until it's completed
func (ScopeMapsClient) Delete ¶
func (c ScopeMapsClient) Delete(ctx context.Context, id ScopeMapId) (result DeleteOperationResponse, err error)
Delete ...
func (ScopeMapsClient) DeleteThenPoll ¶
func (c ScopeMapsClient) DeleteThenPoll(ctx context.Context, id ScopeMapId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ScopeMapsClient) Get ¶
func (c ScopeMapsClient) Get(ctx context.Context, id ScopeMapId) (result GetOperationResponse, err error)
Get ...
func (ScopeMapsClient) List ¶
func (c ScopeMapsClient) List(ctx context.Context, id RegistryId) (result ListOperationResponse, err error)
List ...
func (ScopeMapsClient) ListComplete ¶
func (c ScopeMapsClient) ListComplete(ctx context.Context, id RegistryId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScopeMapsClient) ListCompleteMatchingPredicate ¶
func (c ScopeMapsClient) ListCompleteMatchingPredicate(ctx context.Context, id RegistryId, predicate ScopeMapOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ScopeMapsClient) Update ¶
func (c ScopeMapsClient) Update(ctx context.Context, id ScopeMapId, input ScopeMapUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (ScopeMapsClient) UpdateThenPoll ¶
func (c ScopeMapsClient) UpdateThenPoll(ctx context.Context, id ScopeMapId, input ScopeMapUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed