Documentation ¶
Index ¶
- func ValidateRoleIdID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateByIdOperationResponse
- type CreateOperationResponse
- type DeleteByIdOperationResponse
- type DeleteOperationResponse
- type GetByIdOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListForResourceCompleteResult
- type ListForResourceGroupCompleteResult
- type ListForResourceGroupOperationOptions
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationOptions
- type ListForResourceOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeOperationOptions
- type ListForScopeOperationResponse
- type ListOperationOptions
- type ListOperationResponse
- type RoleAssignment
- type RoleAssignmentCreateParameters
- type RoleAssignmentOperationPredicate
- type RoleAssignmentProperties
- type RoleAssignmentPropertiesWithScope
- type RoleAssignmentsClient
- func (c RoleAssignmentsClient) Create(ctx context.Context, id ScopedRoleAssignmentId, ...) (result CreateOperationResponse, err error)
- func (c RoleAssignmentsClient) CreateById(ctx context.Context, id RoleIdId, input RoleAssignmentCreateParameters) (result CreateByIdOperationResponse, err error)
- func (c RoleAssignmentsClient) Delete(ctx context.Context, id ScopedRoleAssignmentId) (result DeleteOperationResponse, err error)
- func (c RoleAssignmentsClient) DeleteById(ctx context.Context, id RoleIdId) (result DeleteByIdOperationResponse, err error)
- func (c RoleAssignmentsClient) Get(ctx context.Context, id ScopedRoleAssignmentId) (result GetOperationResponse, err error)
- func (c RoleAssignmentsClient) GetById(ctx context.Context, id RoleIdId) (result GetByIdOperationResponse, err error)
- func (c RoleAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c RoleAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c RoleAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c RoleAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceOperationResponse, err error)
- func (c RoleAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForResourceCompleteResult, error)
- func (c RoleAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error)
- func (c RoleAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupOperationResponse, err error)
- func (c RoleAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListForResourceGroupCompleteResult, error)
- func (c RoleAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error)
- func (c RoleAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c RoleAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c RoleAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- type RoleIdId
- type ScopedRoleAssignmentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRoleIdID ¶
ValidateRoleIdID checks that 'input' can be parsed as a Role Id ID
func ValidateScopedRoleAssignmentID ¶
func ValidateScopedRoleAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleAssignmentID checks that 'input' can be parsed as a Scoped Role Assignment ID
Types ¶
type CreateByIdOperationResponse ¶
type CreateByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type DeleteByIdOperationResponse ¶
type DeleteByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignment }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RoleAssignment
}
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct {
Items []RoleAssignment
}
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct {
Items []RoleAssignment
}
type ListForResourceGroupOperationOptions ¶
type ListForResourceGroupOperationOptions struct {
Filter *string
}
func DefaultListForResourceGroupOperationOptions ¶
func DefaultListForResourceGroupOperationOptions() ListForResourceGroupOperationOptions
func (ListForResourceGroupOperationOptions) ToHeaders ¶
func (o ListForResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListForResourceGroupOperationOptions) ToOData ¶
func (o ListForResourceGroupOperationOptions) ToOData() *odata.Query
func (ListForResourceGroupOperationOptions) ToQuery ¶
func (o ListForResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListForResourceGroupOperationResponse ¶
type ListForResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoleAssignment }
type ListForResourceOperationOptions ¶
type ListForResourceOperationOptions struct {
Filter *string
}
func DefaultListForResourceOperationOptions ¶
func DefaultListForResourceOperationOptions() ListForResourceOperationOptions
func (ListForResourceOperationOptions) ToHeaders ¶
func (o ListForResourceOperationOptions) ToHeaders() *client.Headers
func (ListForResourceOperationOptions) ToOData ¶
func (o ListForResourceOperationOptions) ToOData() *odata.Query
func (ListForResourceOperationOptions) ToQuery ¶
func (o ListForResourceOperationOptions) ToQuery() *client.QueryParams
type ListForResourceOperationResponse ¶
type ListForResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoleAssignment }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct {
Items []RoleAssignment
}
type ListForScopeOperationOptions ¶
type ListForScopeOperationOptions struct {
Filter *string
}
func DefaultListForScopeOperationOptions ¶
func DefaultListForScopeOperationOptions() ListForScopeOperationOptions
func (ListForScopeOperationOptions) ToHeaders ¶
func (o ListForScopeOperationOptions) ToHeaders() *client.Headers
func (ListForScopeOperationOptions) ToOData ¶
func (o ListForScopeOperationOptions) ToOData() *odata.Query
func (ListForScopeOperationOptions) ToQuery ¶
func (o ListForScopeOperationOptions) ToQuery() *client.QueryParams
type ListForScopeOperationResponse ¶
type ListForScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoleAssignment }
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
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 *[]RoleAssignment }
type RoleAssignment ¶
type RoleAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleAssignmentPropertiesWithScope `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleAssignmentCreateParameters ¶
type RoleAssignmentCreateParameters struct {
Properties RoleAssignmentProperties `json:"properties"`
}
type RoleAssignmentOperationPredicate ¶
func (RoleAssignmentOperationPredicate) Matches ¶
func (p RoleAssignmentOperationPredicate) Matches(input RoleAssignment) bool
type RoleAssignmentsClient ¶
type RoleAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewRoleAssignmentsClientWithBaseURI ¶
func NewRoleAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleAssignmentsClient, error)
func (RoleAssignmentsClient) Create ¶
func (c RoleAssignmentsClient) Create(ctx context.Context, id ScopedRoleAssignmentId, input RoleAssignmentCreateParameters) (result CreateOperationResponse, err error)
Create ...
func (RoleAssignmentsClient) CreateById ¶
func (c RoleAssignmentsClient) CreateById(ctx context.Context, id RoleIdId, input RoleAssignmentCreateParameters) (result CreateByIdOperationResponse, err error)
CreateById ...
func (RoleAssignmentsClient) Delete ¶
func (c RoleAssignmentsClient) Delete(ctx context.Context, id ScopedRoleAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (RoleAssignmentsClient) DeleteById ¶
func (c RoleAssignmentsClient) DeleteById(ctx context.Context, id RoleIdId) (result DeleteByIdOperationResponse, err error)
DeleteById ...
func (RoleAssignmentsClient) Get ¶
func (c RoleAssignmentsClient) Get(ctx context.Context, id ScopedRoleAssignmentId) (result GetOperationResponse, err error)
Get ...
func (RoleAssignmentsClient) GetById ¶
func (c RoleAssignmentsClient) GetById(ctx context.Context, id RoleIdId) (result GetByIdOperationResponse, err error)
GetById ...
func (RoleAssignmentsClient) List ¶
func (c RoleAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (RoleAssignmentsClient) ListComplete ¶
func (c RoleAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RoleAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c RoleAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate RoleAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleAssignmentsClient) ListForResource ¶
func (c RoleAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (RoleAssignmentsClient) ListForResourceComplete ¶
func (c RoleAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (RoleAssignmentsClient) ListForResourceCompleteMatchingPredicate ¶
func (c RoleAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions, predicate RoleAssignmentOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleAssignmentsClient) ListForResourceGroup ¶
func (c RoleAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (RoleAssignmentsClient) ListForResourceGroupComplete ¶
func (c RoleAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (RoleAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c RoleAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions, predicate RoleAssignmentOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleAssignmentsClient) ListForScope ¶
func (c RoleAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleAssignmentsClient) ListForScopeComplete ¶
func (c RoleAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleAssignmentsClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate RoleAssignmentOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
type RoleIdId ¶
type RoleIdId struct {
RoleId string
}
RoleIdId is a struct representing the Resource ID for a Role Id
func NewRoleIdID ¶
NewRoleIdID returns a new RoleIdId struct
func ParseRoleIdID ¶
ParseRoleIdID parses 'input' into a RoleIdId
func ParseRoleIdIDInsensitively ¶
ParseRoleIdIDInsensitively parses 'input' case-insensitively into a RoleIdId note: this method should only be used for API response data and not user input
func (*RoleIdId) FromParseResult ¶
func (id *RoleIdId) FromParseResult(input resourceids.ParseResult) error
func (RoleIdId) Segments ¶
func (id RoleIdId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Role Id ID
type ScopedRoleAssignmentId ¶
ScopedRoleAssignmentId is a struct representing the Resource ID for a Scoped Role Assignment
func NewScopedRoleAssignmentID ¶
func NewScopedRoleAssignmentID(scope string, roleAssignmentName string) ScopedRoleAssignmentId
NewScopedRoleAssignmentID returns a new ScopedRoleAssignmentId struct
func ParseScopedRoleAssignmentID ¶
func ParseScopedRoleAssignmentID(input string) (*ScopedRoleAssignmentId, error)
ParseScopedRoleAssignmentID parses 'input' into a ScopedRoleAssignmentId
func ParseScopedRoleAssignmentIDInsensitively ¶
func ParseScopedRoleAssignmentIDInsensitively(input string) (*ScopedRoleAssignmentId, error)
ParseScopedRoleAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedRoleAssignmentId note: this method should only be used for API response data and not user input
func (*ScopedRoleAssignmentId) FromParseResult ¶
func (id *ScopedRoleAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRoleAssignmentId) ID ¶
func (id ScopedRoleAssignmentId) ID() string
ID returns the formatted Scoped Role Assignment ID
func (ScopedRoleAssignmentId) Segments ¶
func (id ScopedRoleAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Assignment ID
func (ScopedRoleAssignmentId) String ¶
func (id ScopedRoleAssignmentId) String() string
String returns a human-readable description of this Scoped Role Assignment ID
Source Files ¶
- client.go
- id_roleid.go
- id_scopedroleassignment.go
- method_create.go
- method_createbyid.go
- method_delete.go
- method_deletebyid.go
- method_get.go
- method_getbyid.go
- method_list.go
- method_listforresource.go
- method_listforresourcegroup.go
- method_listforscope.go
- model_roleassignment.go
- model_roleassignmentcreateparameters.go
- model_roleassignmentproperties.go
- model_roleassignmentpropertieswithscope.go
- predicates.go
- version.go