Documentation ¶
Index ¶
- func ValidateScopedDenyAssignmentIdID(input interface{}, key string) (warnings []string, errors []error)
- type DenyAssignment
- type DenyAssignmentOperationPredicate
- type DenyAssignmentPermission
- type DenyAssignmentProperties
- type DenyAssignmentsClient
- func (c DenyAssignmentsClient) Get(ctx context.Context, id ScopedDenyAssignmentIdId) (result GetOperationResponse, err error)
- func (c DenyAssignmentsClient) GetById(ctx context.Context, id commonids.ScopeId) (result GetByIdOperationResponse, err error)
- func (c DenyAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c DenyAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c DenyAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c DenyAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceOperationResponse, err error)
- func (c DenyAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForResourceCompleteResult, error)
- func (c DenyAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error)
- func (c DenyAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupOperationResponse, err error)
- func (c DenyAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListForResourceGroupCompleteResult, error)
- func (c DenyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error)
- func (c DenyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c DenyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c DenyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- 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 Principal
- type ScopedDenyAssignmentIdId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateScopedDenyAssignmentIdID ¶
func ValidateScopedDenyAssignmentIdID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedDenyAssignmentIdID checks that 'input' can be parsed as a Scoped Deny Assignment Id ID
Types ¶
type DenyAssignment ¶
type DenyAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DenyAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DenyAssignmentOperationPredicate ¶
func (DenyAssignmentOperationPredicate) Matches ¶
func (p DenyAssignmentOperationPredicate) Matches(input DenyAssignment) bool
type DenyAssignmentPermission ¶
type DenyAssignmentPermission struct { Actions *[]string `json:"actions,omitempty"` Condition *string `json:"condition,omitempty"` ConditionVersion *string `json:"conditionVersion,omitempty"` DataActions *[]string `json:"dataActions,omitempty"` NotActions *[]string `json:"notActions,omitempty"` NotDataActions *[]string `json:"notDataActions,omitempty"` }
type DenyAssignmentProperties ¶
type DenyAssignmentProperties struct { Condition *string `json:"condition,omitempty"` ConditionVersion *string `json:"conditionVersion,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` DenyAssignmentName *string `json:"denyAssignmentName,omitempty"` Description *string `json:"description,omitempty"` DoNotApplyToChildScopes *bool `json:"doNotApplyToChildScopes,omitempty"` ExcludePrincipals *[]Principal `json:"excludePrincipals,omitempty"` IsSystemProtected *bool `json:"isSystemProtected,omitempty"` Permissions *[]DenyAssignmentPermission `json:"permissions,omitempty"` Principals *[]Principal `json:"principals,omitempty"` Scope *string `json:"scope,omitempty"` UpdatedBy *string `json:"updatedBy,omitempty"` UpdatedOn *string `json:"updatedOn,omitempty"` }
func (*DenyAssignmentProperties) GetCreatedOnAsTime ¶
func (o *DenyAssignmentProperties) GetCreatedOnAsTime() (*time.Time, error)
func (*DenyAssignmentProperties) GetUpdatedOnAsTime ¶
func (o *DenyAssignmentProperties) GetUpdatedOnAsTime() (*time.Time, error)
func (*DenyAssignmentProperties) SetCreatedOnAsTime ¶
func (o *DenyAssignmentProperties) SetCreatedOnAsTime(input time.Time)
func (*DenyAssignmentProperties) SetUpdatedOnAsTime ¶
func (o *DenyAssignmentProperties) SetUpdatedOnAsTime(input time.Time)
type DenyAssignmentsClient ¶
type DenyAssignmentsClient struct {
Client *resourcemanager.Client
}
func NewDenyAssignmentsClientWithBaseURI ¶
func NewDenyAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DenyAssignmentsClient, error)
func (DenyAssignmentsClient) Get ¶
func (c DenyAssignmentsClient) Get(ctx context.Context, id ScopedDenyAssignmentIdId) (result GetOperationResponse, err error)
Get ...
func (DenyAssignmentsClient) GetById ¶
func (c DenyAssignmentsClient) GetById(ctx context.Context, id commonids.ScopeId) (result GetByIdOperationResponse, err error)
GetById ...
func (DenyAssignmentsClient) List ¶
func (c DenyAssignmentsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (DenyAssignmentsClient) ListComplete ¶
func (c DenyAssignmentsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DenyAssignmentsClient) ListCompleteMatchingPredicate ¶
func (c DenyAssignmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate DenyAssignmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DenyAssignmentsClient) ListForResource ¶
func (c DenyAssignmentsClient) ListForResource(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (DenyAssignmentsClient) ListForResourceComplete ¶
func (c DenyAssignmentsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (DenyAssignmentsClient) ListForResourceCompleteMatchingPredicate ¶
func (c DenyAssignmentsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForResourceOperationOptions, predicate DenyAssignmentOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DenyAssignmentsClient) ListForResourceGroup ¶
func (c DenyAssignmentsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (DenyAssignmentsClient) ListForResourceGroupComplete ¶
func (c DenyAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (DenyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c DenyAssignmentsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListForResourceGroupOperationOptions, predicate DenyAssignmentOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DenyAssignmentsClient) ListForScope ¶
func (c DenyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (DenyAssignmentsClient) ListForScopeComplete ¶
func (c DenyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (DenyAssignmentsClient) ListForScopeCompleteMatchingPredicate ¶
func (c DenyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate DenyAssignmentOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GetByIdOperationResponse ¶
type GetByIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DenyAssignment }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DenyAssignment }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DenyAssignment
}
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct {
Items []DenyAssignment
}
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct {
Items []DenyAssignment
}
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 *[]DenyAssignment }
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 *[]DenyAssignment }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct {
Items []DenyAssignment
}
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 *[]DenyAssignment }
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 *[]DenyAssignment }
type ScopedDenyAssignmentIdId ¶
ScopedDenyAssignmentIdId is a struct representing the Resource ID for a Scoped Deny Assignment Id
func NewScopedDenyAssignmentIdID ¶
func NewScopedDenyAssignmentIdID(scope string, denyAssignmentId string) ScopedDenyAssignmentIdId
NewScopedDenyAssignmentIdID returns a new ScopedDenyAssignmentIdId struct
func ParseScopedDenyAssignmentIdID ¶
func ParseScopedDenyAssignmentIdID(input string) (*ScopedDenyAssignmentIdId, error)
ParseScopedDenyAssignmentIdID parses 'input' into a ScopedDenyAssignmentIdId
func ParseScopedDenyAssignmentIdIDInsensitively ¶
func ParseScopedDenyAssignmentIdIDInsensitively(input string) (*ScopedDenyAssignmentIdId, error)
ParseScopedDenyAssignmentIdIDInsensitively parses 'input' case-insensitively into a ScopedDenyAssignmentIdId note: this method should only be used for API response data and not user input
func (ScopedDenyAssignmentIdId) ID ¶
func (id ScopedDenyAssignmentIdId) ID() string
ID returns the formatted Scoped Deny Assignment Id ID
func (ScopedDenyAssignmentIdId) Segments ¶
func (id ScopedDenyAssignmentIdId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Deny Assignment Id ID
func (ScopedDenyAssignmentIdId) String ¶
func (id ScopedDenyAssignmentIdId) String() string
String returns a human-readable description of this Scoped Deny Assignment Id ID
Source Files ¶
- client.go
- id_scopeddenyassignmentid.go
- method_get.go
- method_getbyid.go
- method_list.go
- method_listforresource.go
- method_listforresourcegroup.go
- method_listforscope.go
- model_denyassignment.go
- model_denyassignmentpermission.go
- model_denyassignmentproperties.go
- model_principal.go
- predicates.go
- version.go