Documentation ¶
Index ¶
- type ListForResourceCompleteResult
- type ListForResourceCustomPager
- type ListForResourceGroupCompleteResult
- type ListForResourceGroupCustomPager
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationResponse
- type Permission
- type PermissionOperationPredicate
- type PermissionsClient
- func (c PermissionsClient) ListForResource(ctx context.Context, id commonids.ScopeId) (result ListForResourceOperationResponse, err error)
- func (c PermissionsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId) (ListForResourceCompleteResult, error)
- func (c PermissionsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForResourceCompleteResult, err error)
- func (c PermissionsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListForResourceGroupOperationResponse, err error)
- func (c PermissionsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListForResourceGroupCompleteResult, error)
- func (c PermissionsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListForResourceGroupCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct { LatestHttpResponse *http.Response Items []Permission }
type ListForResourceCustomPager ¶ added in v0.20240628.1153531
func (*ListForResourceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListForResourceCustomPager) NextPageLink() *odata.Link
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []Permission }
type ListForResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListForResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListForResourceGroupCustomPager) NextPageLink() *odata.Link
type ListForResourceGroupOperationResponse ¶
type ListForResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Permission }
type ListForResourceOperationResponse ¶
type ListForResourceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Permission }
type Permission ¶
type Permission 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 PermissionOperationPredicate ¶
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input Permission) bool
type PermissionsClient ¶
type PermissionsClient struct {
Client *resourcemanager.Client
}
func NewPermissionsClientWithBaseURI ¶
func NewPermissionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PermissionsClient, error)
func (PermissionsClient) ListForResource ¶
func (c PermissionsClient) ListForResource(ctx context.Context, id commonids.ScopeId) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (PermissionsClient) ListForResourceComplete ¶
func (c PermissionsClient) ListForResourceComplete(ctx context.Context, id commonids.ScopeId) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (PermissionsClient) ListForResourceCompleteMatchingPredicate ¶
func (c PermissionsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate PermissionOperationPredicate) (result ListForResourceCompleteResult, err error)
ListForResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PermissionsClient) ListForResourceGroup ¶
func (c PermissionsClient) ListForResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListForResourceGroupOperationResponse, err error)
ListForResourceGroup ...
func (PermissionsClient) ListForResourceGroupComplete ¶
func (c PermissionsClient) ListForResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListForResourceGroupCompleteResult, error)
ListForResourceGroupComplete retrieves all the results into a single object
func (PermissionsClient) ListForResourceGroupCompleteMatchingPredicate ¶
func (c PermissionsClient) ListForResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PermissionOperationPredicate) (result ListForResourceGroupCompleteResult, err error)
ListForResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.