Documentation ¶
Index ¶
- func ValidatePolicyAssignmentIdID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopedPolicyAssignmentID(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 PolicyAssignment
- type PolicyAssignmentIdId
- type PolicyAssignmentOperationPredicate
- type PolicyAssignmentProperties
- type PolicyAssignmentsClient
- func (c PolicyAssignmentsClient) Create(ctx context.Context, id ScopedPolicyAssignmentId, input PolicyAssignment) (result CreateOperationResponse, err error)
- func (c PolicyAssignmentsClient) CreateById(ctx context.Context, id PolicyAssignmentIdId, input PolicyAssignment) (result CreateByIdOperationResponse, err error)
- func (c PolicyAssignmentsClient) Delete(ctx context.Context, id ScopedPolicyAssignmentId) (result DeleteOperationResponse, err error)
- func (c PolicyAssignmentsClient) DeleteById(ctx context.Context, id PolicyAssignmentIdId) (result DeleteByIdOperationResponse, err error)
- func (c PolicyAssignmentsClient) Get(ctx context.Context, id ScopedPolicyAssignmentId) (result GetOperationResponse, err error)
- func (c PolicyAssignmentsClient) GetById(ctx context.Context, id PolicyAssignmentIdId) (result GetByIdOperationResponse, err error)
- func (c PolicyAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c PolicyAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c PolicyAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c PolicyAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceOperationResponse, err error)
- func (c PolicyAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForResourceCompleteResult, error)
- func (c PolicyAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error)
- func (c PolicyAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupOperationResponse, err error)
- func (c PolicyAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListForResourceGroupCompleteResult, error)
- func (c PolicyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error)
- func (c PolicyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c PolicyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c PolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- type ScopedPolicyAssignmentId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicyAssignmentIdID ¶
func ValidatePolicyAssignmentIdID(input interface{}, key string) (warnings []string, errors []error)
ValidatePolicyAssignmentIdID checks that 'input' can be parsed as a Policy Assignment Id ID
func ValidateScopedPolicyAssignmentID ¶
func ValidateScopedPolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedPolicyAssignmentID checks that 'input' can be parsed as a Scoped Policy Assignment ID
Types ¶
type CreateByIdOperationResponse ¶
type CreateByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type DeleteByIdOperationResponse ¶
type DeleteByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyAssignment }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyAssignment }
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyAssignment }
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyAssignment }
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 *[]PolicyAssignment }
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 *[]PolicyAssignment }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyAssignment }
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 *[]PolicyAssignment }
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 *[]PolicyAssignment }
type PolicyAssignment ¶
type PolicyAssignment struct { Name *string `json:"name,omitempty"` Properties *PolicyAssignmentProperties `json:"properties,omitempty"` }
type PolicyAssignmentIdId ¶
type PolicyAssignmentIdId struct {
PolicyAssignmentId string
}
PolicyAssignmentIdId is a struct representing the Resource ID for a Policy Assignment Id
func NewPolicyAssignmentIdID ¶
func NewPolicyAssignmentIdID(policyAssignmentId string) PolicyAssignmentIdId
NewPolicyAssignmentIdID returns a new PolicyAssignmentIdId struct
func ParsePolicyAssignmentIdID ¶
func ParsePolicyAssignmentIdID(input string) (*PolicyAssignmentIdId, error)
ParsePolicyAssignmentIdID parses 'input' into a PolicyAssignmentIdId
func ParsePolicyAssignmentIdIDInsensitively ¶
func ParsePolicyAssignmentIdIDInsensitively(input string) (*PolicyAssignmentIdId, error)
ParsePolicyAssignmentIdIDInsensitively parses 'input' case-insensitively into a PolicyAssignmentIdId note: this method should only be used for API response data and not user input
func (*PolicyAssignmentIdId) FromParseResult ¶
func (id *PolicyAssignmentIdId) FromParseResult(input resourceids.ParseResult) error
func (PolicyAssignmentIdId) ID ¶
func (id PolicyAssignmentIdId) ID() string
ID returns the formatted Policy Assignment Id ID
func (PolicyAssignmentIdId) Segments ¶
func (id PolicyAssignmentIdId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Assignment Id ID
func (PolicyAssignmentIdId) String ¶
func (id PolicyAssignmentIdId) String() string
String returns a human-readable description of this Policy Assignment Id ID
type PolicyAssignmentOperationPredicate ¶
type PolicyAssignmentOperationPredicate struct {
Name *string
}
func (PolicyAssignmentOperationPredicate) Matches ¶
func (p PolicyAssignmentOperationPredicate) Matches(input PolicyAssignment) bool
type PolicyAssignmentsClient ¶
type PolicyAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewPolicyAssignmentsClientWithBaseURI ¶
func NewPolicyAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyAssignmentsClient, error)
func (PolicyAssignmentsClient) Create ¶
func (c PolicyAssignmentsClient) Create(ctx context.Context, id ScopedPolicyAssignmentId, input PolicyAssignment) (result CreateOperationResponse, err error)
Create ...
func (PolicyAssignmentsClient) CreateById ¶
func (c PolicyAssignmentsClient) CreateById(ctx context.Context, id PolicyAssignmentIdId, input PolicyAssignment) (result CreateByIdOperationResponse, err error)
CreateById ...
func (PolicyAssignmentsClient) Delete ¶
func (c PolicyAssignmentsClient) Delete(ctx context.Context, id ScopedPolicyAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (PolicyAssignmentsClient) DeleteById ¶
func (c PolicyAssignmentsClient) DeleteById(ctx context.Context, id PolicyAssignmentIdId) (result DeleteByIdOperationResponse, err error)
DeleteById ...
func (PolicyAssignmentsClient) Get ¶
func (c PolicyAssignmentsClient) Get(ctx context.Context, id ScopedPolicyAssignmentId) (result GetOperationResponse, err error)
Get ...
func (PolicyAssignmentsClient) GetById ¶
func (c PolicyAssignmentsClient) GetById(ctx context.Context, id PolicyAssignmentIdId) (result GetByIdOperationResponse, err error)
GetById ...
func (PolicyAssignmentsClient) List ¶
func (c PolicyAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (PolicyAssignmentsClient) ListComplete ¶
func (c PolicyAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PolicyAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c PolicyAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate PolicyAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyAssignmentsClient) ListForResource ¶
func (c PolicyAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (PolicyAssignmentsClient) ListForResourceComplete ¶
func (c PolicyAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (PolicyAssignmentsClient) ListForResourceCompleteMatchingPredicate ¶
func (c PolicyAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions, predicate PolicyAssignmentOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyAssignmentsClient) ListForResourceGroup ¶
func (c PolicyAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (PolicyAssignmentsClient) ListForResourceGroupComplete ¶
func (c PolicyAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (PolicyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c PolicyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions, predicate PolicyAssignmentOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyAssignmentsClient) ListForScope ¶
func (c PolicyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (PolicyAssignmentsClient) ListForScopeComplete ¶
func (c PolicyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (PolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate ¶
func (c PolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate PolicyAssignmentOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedPolicyAssignmentId ¶
ScopedPolicyAssignmentId is a struct representing the Resource ID for a Scoped Policy Assignment
func NewScopedPolicyAssignmentID ¶
func NewScopedPolicyAssignmentID(scope string, policyAssignmentName string) ScopedPolicyAssignmentId
NewScopedPolicyAssignmentID returns a new ScopedPolicyAssignmentId struct
func ParseScopedPolicyAssignmentID ¶
func ParseScopedPolicyAssignmentID(input string) (*ScopedPolicyAssignmentId, error)
ParseScopedPolicyAssignmentID parses 'input' into a ScopedPolicyAssignmentId
func ParseScopedPolicyAssignmentIDInsensitively ¶
func ParseScopedPolicyAssignmentIDInsensitively(input string) (*ScopedPolicyAssignmentId, error)
ParseScopedPolicyAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedPolicyAssignmentId note: this method should only be used for API response data and not user input
func (*ScopedPolicyAssignmentId) FromParseResult ¶
func (id *ScopedPolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error
func (ScopedPolicyAssignmentId) ID ¶
func (id ScopedPolicyAssignmentId) ID() string
ID returns the formatted Scoped Policy Assignment ID
func (ScopedPolicyAssignmentId) Segments ¶
func (id ScopedPolicyAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Policy Assignment ID
func (ScopedPolicyAssignmentId) String ¶
func (id ScopedPolicyAssignmentId) String() string
String returns a human-readable description of this Scoped Policy Assignment ID
Source Files ¶
- client.go
- id_policyassignmentid.go
- id_scopedpolicyassignment.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_policyassignment.go
- model_policyassignmentproperties.go
- predicates.go
- version.go