Documentation ¶
Index ¶
- func PossibleValuesForAssignmentDeleteBehavior() []string
- func PossibleValuesForAssignmentLockMode() []string
- func PossibleValuesForAssignmentProvisioningState() []string
- func ValidateScopedBlueprintAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type Assignment
- type AssignmentClient
- func (c AssignmentClient) CreateOrUpdate(ctx context.Context, id ScopedBlueprintAssignmentId, input Assignment) (result CreateOrUpdateOperationResponse, err error)
- func (c AssignmentClient) Delete(ctx context.Context, id ScopedBlueprintAssignmentId, ...) (result DeleteOperationResponse, err error)
- func (c AssignmentClient) Get(ctx context.Context, id ScopedBlueprintAssignmentId) (result GetOperationResponse, err error)
- func (c AssignmentClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c AssignmentClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c AssignmentClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- type AssignmentDeleteBehavior
- type AssignmentLockMode
- type AssignmentLockSettings
- type AssignmentOperationPredicate
- type AssignmentProperties
- type AssignmentProvisioningState
- type AssignmentStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type KeyVaultReference
- type ListCompleteResult
- type ListOperationResponse
- type ParameterValue
- type ResourceGroupValue
- type ScopedBlueprintAssignmentId
- func NewScopedBlueprintAssignmentID(resourceScope string, blueprintAssignmentName string) ScopedBlueprintAssignmentId
- func ParseScopedBlueprintAssignmentID(input string) (*ScopedBlueprintAssignmentId, error)
- func ParseScopedBlueprintAssignmentIDInsensitively(input string) (*ScopedBlueprintAssignmentId, error)
- type SecretValueReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssignmentDeleteBehavior ¶
func PossibleValuesForAssignmentDeleteBehavior() []string
func PossibleValuesForAssignmentLockMode ¶
func PossibleValuesForAssignmentLockMode() []string
func PossibleValuesForAssignmentProvisioningState ¶
func PossibleValuesForAssignmentProvisioningState() []string
func ValidateScopedBlueprintAssignmentID ¶
func ValidateScopedBlueprintAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedBlueprintAssignmentID checks that 'input' can be parsed as a Scoped Blueprint Assignment ID
Types ¶
type Assignment ¶
type Assignment struct { Id *string `json:"id,omitempty"` Identity identity.SystemOrUserAssignedMap `json:"identity"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties AssignmentProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type AssignmentClient ¶
type AssignmentClient struct {
Client *resourcemanager.Client
}
func NewAssignmentClientWithBaseURI ¶
func NewAssignmentClientWithBaseURI(sdkApi sdkEnv.Api) (*AssignmentClient, error)
func (AssignmentClient) CreateOrUpdate ¶
func (c AssignmentClient) CreateOrUpdate(ctx context.Context, id ScopedBlueprintAssignmentId, input Assignment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AssignmentClient) Delete ¶
func (c AssignmentClient) Delete(ctx context.Context, id ScopedBlueprintAssignmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AssignmentClient) Get ¶
func (c AssignmentClient) Get(ctx context.Context, id ScopedBlueprintAssignmentId) (result GetOperationResponse, err error)
Get ...
func (AssignmentClient) List ¶
func (c AssignmentClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (AssignmentClient) ListComplete ¶
func (c AssignmentClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AssignmentClient) ListCompleteMatchingPredicate ¶
func (c AssignmentClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate AssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type AssignmentDeleteBehavior ¶
type AssignmentDeleteBehavior string
const ( AssignmentDeleteBehaviorAll AssignmentDeleteBehavior = "all" AssignmentDeleteBehaviorNone AssignmentDeleteBehavior = "none" )
func (*AssignmentDeleteBehavior) UnmarshalJSON ¶
func (s *AssignmentDeleteBehavior) UnmarshalJSON(bytes []byte) error
type AssignmentLockMode ¶
type AssignmentLockMode string
const ( AssignmentLockModeAllResourcesDoNotDelete AssignmentLockMode = "AllResourcesDoNotDelete" AssignmentLockModeAllResourcesReadOnly AssignmentLockMode = "AllResourcesReadOnly" AssignmentLockModeNone AssignmentLockMode = "None" )
func (*AssignmentLockMode) UnmarshalJSON ¶
func (s *AssignmentLockMode) UnmarshalJSON(bytes []byte) error
type AssignmentLockSettings ¶
type AssignmentLockSettings struct { ExcludedActions *[]string `json:"excludedActions,omitempty"` ExcludedPrincipals *[]string `json:"excludedPrincipals,omitempty"` Mode *AssignmentLockMode `json:"mode,omitempty"` }
type AssignmentOperationPredicate ¶
func (AssignmentOperationPredicate) Matches ¶
func (p AssignmentOperationPredicate) Matches(input Assignment) bool
type AssignmentProperties ¶
type AssignmentProperties struct { BlueprintId *string `json:"blueprintId,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Locks *AssignmentLockSettings `json:"locks,omitempty"` Parameters map[string]ParameterValue `json:"parameters"` ProvisioningState *AssignmentProvisioningState `json:"provisioningState,omitempty"` ResourceGroups map[string]ResourceGroupValue `json:"resourceGroups"` Scope *string `json:"scope,omitempty"` Status *AssignmentStatus `json:"status,omitempty"` }
type AssignmentProvisioningState ¶
type AssignmentProvisioningState string
const ( AssignmentProvisioningStateCanceled AssignmentProvisioningState = "canceled" AssignmentProvisioningStateCancelling AssignmentProvisioningState = "cancelling" AssignmentProvisioningStateCreating AssignmentProvisioningState = "creating" AssignmentProvisioningStateDeleting AssignmentProvisioningState = "deleting" AssignmentProvisioningStateDeploying AssignmentProvisioningState = "deploying" AssignmentProvisioningStateFailed AssignmentProvisioningState = "failed" AssignmentProvisioningStateLocking AssignmentProvisioningState = "locking" AssignmentProvisioningStateSucceeded AssignmentProvisioningState = "succeeded" AssignmentProvisioningStateValidating AssignmentProvisioningState = "validating" AssignmentProvisioningStateWaiting AssignmentProvisioningState = "waiting" )
func (*AssignmentProvisioningState) UnmarshalJSON ¶
func (s *AssignmentProvisioningState) UnmarshalJSON(bytes []byte) error
type AssignmentStatus ¶
type AssignmentStatus struct { LastModified *string `json:"lastModified,omitempty"` ManagedResources *[]string `json:"managedResources,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` }
func (*AssignmentStatus) GetLastModifiedAsTime ¶
func (o *AssignmentStatus) GetLastModifiedAsTime() (*time.Time, error)
func (*AssignmentStatus) GetTimeCreatedAsTime ¶
func (o *AssignmentStatus) GetTimeCreatedAsTime() (*time.Time, error)
func (*AssignmentStatus) SetLastModifiedAsTime ¶
func (o *AssignmentStatus) SetLastModifiedAsTime(input time.Time)
func (*AssignmentStatus) SetTimeCreatedAsTime ¶
func (o *AssignmentStatus) SetTimeCreatedAsTime(input time.Time)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Assignment }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
DeleteBehavior *AssignmentDeleteBehavior
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Assignment }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Assignment }
type KeyVaultReference ¶
type KeyVaultReference struct {
Id string `json:"id"`
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Assignment
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Assignment }
type ParameterValue ¶
type ParameterValue struct { Reference *SecretValueReference `json:"reference,omitempty"` Value *interface{} `json:"value,omitempty"` }
type ResourceGroupValue ¶
type ScopedBlueprintAssignmentId ¶
ScopedBlueprintAssignmentId is a struct representing the Resource ID for a Scoped Blueprint Assignment
func NewScopedBlueprintAssignmentID ¶
func NewScopedBlueprintAssignmentID(resourceScope string, blueprintAssignmentName string) ScopedBlueprintAssignmentId
NewScopedBlueprintAssignmentID returns a new ScopedBlueprintAssignmentId struct
func ParseScopedBlueprintAssignmentID ¶
func ParseScopedBlueprintAssignmentID(input string) (*ScopedBlueprintAssignmentId, error)
ParseScopedBlueprintAssignmentID parses 'input' into a ScopedBlueprintAssignmentId
func ParseScopedBlueprintAssignmentIDInsensitively ¶
func ParseScopedBlueprintAssignmentIDInsensitively(input string) (*ScopedBlueprintAssignmentId, error)
ParseScopedBlueprintAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedBlueprintAssignmentId note: this method should only be used for API response data and not user input
func (*ScopedBlueprintAssignmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedBlueprintAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (ScopedBlueprintAssignmentId) ID ¶
func (id ScopedBlueprintAssignmentId) ID() string
ID returns the formatted Scoped Blueprint Assignment ID
func (ScopedBlueprintAssignmentId) Segments ¶
func (id ScopedBlueprintAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Blueprint Assignment ID
func (ScopedBlueprintAssignmentId) String ¶
func (id ScopedBlueprintAssignmentId) String() string
String returns a human-readable description of this Scoped Blueprint Assignment ID
type SecretValueReference ¶
type SecretValueReference struct { KeyVault KeyVaultReference `json:"keyVault"` SecretName string `json:"secretName"` SecretVersion *string `json:"secretVersion,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_scopedblueprintassignment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_assignment.go
- model_assignmentlocksettings.go
- model_assignmentproperties.go
- model_assignmentstatus.go
- model_keyvaultreference.go
- model_parametervalue.go
- model_resourcegroupvalue.go
- model_secretvaluereference.go
- predicates.go
- version.go