Documentation ¶
Index ¶
- func ValidateResourceID(input interface{}, key string) (warnings []string, errors []error)
- type ListForResourceCompleteResult
- type ListForResourceGroupCompleteResult
- type ListForResourceGroupOperationResponse
- type ListForResourceOperationResponse
- type Permission
- type PermissionOperationPredicate
- type PermissionsClient
- func (c PermissionsClient) ListForResource(ctx context.Context, id ResourceId) (result ListForResourceOperationResponse, err error)
- func (c PermissionsClient) ListForResourceComplete(ctx context.Context, id ResourceId) (ListForResourceCompleteResult, error)
- func (c PermissionsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id ResourceId, predicate PermissionOperationPredicate) (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)
- type ResourceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateResourceID ¶
ValidateResourceID checks that 'input' can be parsed as a Resource ID
Types ¶
type ListForResourceCompleteResult ¶
type ListForResourceCompleteResult struct {
Items []Permission
}
type ListForResourceGroupCompleteResult ¶
type ListForResourceGroupCompleteResult struct {
Items []Permission
}
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 PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input Permission) bool
type PermissionsClient ¶
type PermissionsClient struct {
Client *resourcemanager.Client
}
func NewPermissionsClientWithBaseURI ¶
func NewPermissionsClientWithBaseURI(api environments.Api) (*PermissionsClient, error)
func (PermissionsClient) ListForResource ¶
func (c PermissionsClient) ListForResource(ctx context.Context, id ResourceId) (result ListForResourceOperationResponse, err error)
ListForResource ...
func (PermissionsClient) ListForResourceComplete ¶
func (c PermissionsClient) ListForResourceComplete(ctx context.Context, id ResourceId) (ListForResourceCompleteResult, error)
ListForResourceComplete retrieves all the results into a single object
func (PermissionsClient) ListForResourceCompleteMatchingPredicate ¶
func (c PermissionsClient) ListForResourceCompleteMatchingPredicate(ctx context.Context, id ResourceId, 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
type ResourceId ¶
type ResourceId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourcePath string ResourceType string ResourceName string }
ResourceId is a struct representing the Resource ID for a Resource
func NewResourceID ¶
func NewResourceID(subscriptionId string, resourceGroupName string, providerName string, parentResourcePath string, resourceType string, resourceName string) ResourceId
NewResourceID returns a new ResourceId struct
func ParseResourceID ¶
func ParseResourceID(input string) (*ResourceId, error)
ParseResourceID parses 'input' into a ResourceId
func ParseResourceIDInsensitively ¶
func ParseResourceIDInsensitively(input string) (*ResourceId, error)
ParseResourceIDInsensitively parses 'input' case-insensitively into a ResourceId note: this method should only be used for API response data and not user input
func (ResourceId) Segments ¶
func (id ResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource ID
func (ResourceId) String ¶
func (id ResourceId) String() string
String returns a human-readable description of this Resource ID