Documentation ¶
Index ¶
- func ValidateAccessPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAuthorizationID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPolicyId
- type AuthorizationAccessPolicyClient
- func (c AuthorizationAccessPolicyClient) CreateOrUpdate(ctx context.Context, id AccessPolicyId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AuthorizationAccessPolicyClient) Delete(ctx context.Context, id AccessPolicyId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c AuthorizationAccessPolicyClient) Get(ctx context.Context, id AccessPolicyId) (result GetOperationResponse, err error)
- func (c AuthorizationAccessPolicyClient) ListByAuthorization(ctx context.Context, id AuthorizationId, ...) (result ListByAuthorizationOperationResponse, err error)
- func (c AuthorizationAccessPolicyClient) ListByAuthorizationComplete(ctx context.Context, id AuthorizationId, ...) (ListByAuthorizationCompleteResult, error)
- func (c AuthorizationAccessPolicyClient) ListByAuthorizationCompleteMatchingPredicate(ctx context.Context, id AuthorizationId, ...) (result ListByAuthorizationCompleteResult, err error)
- type AuthorizationAccessPolicyContract
- type AuthorizationAccessPolicyContractOperationPredicate
- type AuthorizationAccessPolicyContractProperties
- type AuthorizationId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAuthorizationCompleteResult
- type ListByAuthorizationOperationOptions
- type ListByAuthorizationOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccessPolicyID ¶
ValidateAccessPolicyID checks that 'input' can be parsed as a Access Policy ID
func ValidateAuthorizationID ¶
ValidateAuthorizationID checks that 'input' can be parsed as a Authorization ID
Types ¶
type AccessPolicyId ¶
type AccessPolicyId struct { SubscriptionId string ResourceGroupName string ServiceName string AuthorizationProviderId string AuthorizationId string AuthorizationAccessPolicyId string }
AccessPolicyId is a struct representing the Resource ID for a Access Policy
func NewAccessPolicyID ¶
func NewAccessPolicyID(subscriptionId string, resourceGroupName string, serviceName string, authorizationProviderId string, authorizationId string, authorizationAccessPolicyId string) AccessPolicyId
NewAccessPolicyID returns a new AccessPolicyId struct
func ParseAccessPolicyID ¶
func ParseAccessPolicyID(input string) (*AccessPolicyId, error)
ParseAccessPolicyID parses 'input' into a AccessPolicyId
func ParseAccessPolicyIDInsensitively ¶
func ParseAccessPolicyIDInsensitively(input string) (*AccessPolicyId, error)
ParseAccessPolicyIDInsensitively parses 'input' case-insensitively into a AccessPolicyId note: this method should only be used for API response data and not user input
func (*AccessPolicyId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AccessPolicyId) FromParseResult(input resourceids.ParseResult) error
func (AccessPolicyId) ID ¶
func (id AccessPolicyId) ID() string
ID returns the formatted Access Policy ID
func (AccessPolicyId) Segments ¶
func (id AccessPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access Policy ID
func (AccessPolicyId) String ¶
func (id AccessPolicyId) String() string
String returns a human-readable description of this Access Policy ID
type AuthorizationAccessPolicyClient ¶
type AuthorizationAccessPolicyClient struct {
Client *resourcemanager.Client
}
func NewAuthorizationAccessPolicyClientWithBaseURI ¶
func NewAuthorizationAccessPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*AuthorizationAccessPolicyClient, error)
func (AuthorizationAccessPolicyClient) CreateOrUpdate ¶
func (c AuthorizationAccessPolicyClient) CreateOrUpdate(ctx context.Context, id AccessPolicyId, input AuthorizationAccessPolicyContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AuthorizationAccessPolicyClient) Delete ¶
func (c AuthorizationAccessPolicyClient) Delete(ctx context.Context, id AccessPolicyId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (AuthorizationAccessPolicyClient) Get ¶
func (c AuthorizationAccessPolicyClient) Get(ctx context.Context, id AccessPolicyId) (result GetOperationResponse, err error)
Get ...
func (AuthorizationAccessPolicyClient) ListByAuthorization ¶
func (c AuthorizationAccessPolicyClient) ListByAuthorization(ctx context.Context, id AuthorizationId, options ListByAuthorizationOperationOptions) (result ListByAuthorizationOperationResponse, err error)
ListByAuthorization ...
func (AuthorizationAccessPolicyClient) ListByAuthorizationComplete ¶
func (c AuthorizationAccessPolicyClient) ListByAuthorizationComplete(ctx context.Context, id AuthorizationId, options ListByAuthorizationOperationOptions) (ListByAuthorizationCompleteResult, error)
ListByAuthorizationComplete retrieves all the results into a single object
func (AuthorizationAccessPolicyClient) ListByAuthorizationCompleteMatchingPredicate ¶
func (c AuthorizationAccessPolicyClient) ListByAuthorizationCompleteMatchingPredicate(ctx context.Context, id AuthorizationId, options ListByAuthorizationOperationOptions, predicate AuthorizationAccessPolicyContractOperationPredicate) (result ListByAuthorizationCompleteResult, err error)
ListByAuthorizationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type AuthorizationAccessPolicyContract ¶
type AuthorizationAccessPolicyContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationAccessPolicyContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AuthorizationAccessPolicyContractOperationPredicate ¶
type AuthorizationAccessPolicyContractOperationPredicate struct { Id *string Name *string Type *string }
func (AuthorizationAccessPolicyContractOperationPredicate) Matches ¶
func (p AuthorizationAccessPolicyContractOperationPredicate) Matches(input AuthorizationAccessPolicyContract) bool
type AuthorizationId ¶
type AuthorizationId struct { SubscriptionId string ResourceGroupName string ServiceName string AuthorizationProviderId string AuthorizationId string }
AuthorizationId is a struct representing the Resource ID for a Authorization
func NewAuthorizationID ¶
func NewAuthorizationID(subscriptionId string, resourceGroupName string, serviceName string, authorizationProviderId string, authorizationId string) AuthorizationId
NewAuthorizationID returns a new AuthorizationId struct
func ParseAuthorizationID ¶
func ParseAuthorizationID(input string) (*AuthorizationId, error)
ParseAuthorizationID parses 'input' into a AuthorizationId
func ParseAuthorizationIDInsensitively ¶
func ParseAuthorizationIDInsensitively(input string) (*AuthorizationId, error)
ParseAuthorizationIDInsensitively parses 'input' case-insensitively into a AuthorizationId note: this method should only be used for API response data and not user input
func (*AuthorizationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AuthorizationId) FromParseResult(input resourceids.ParseResult) error
func (AuthorizationId) ID ¶
func (id AuthorizationId) ID() string
ID returns the formatted Authorization ID
func (AuthorizationId) Segments ¶
func (id AuthorizationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Authorization ID
func (AuthorizationId) String ¶
func (id AuthorizationId) String() string
String returns a human-readable description of this Authorization ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationAccessPolicyContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AuthorizationAccessPolicyContract }
type ListByAuthorizationCompleteResult ¶
type ListByAuthorizationCompleteResult struct {
Items []AuthorizationAccessPolicyContract
}
type ListByAuthorizationOperationOptions ¶
func DefaultListByAuthorizationOperationOptions ¶
func DefaultListByAuthorizationOperationOptions() ListByAuthorizationOperationOptions
func (ListByAuthorizationOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByAuthorizationOperationOptions) ToHeaders() *client.Headers
func (ListByAuthorizationOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByAuthorizationOperationOptions) ToOData() *odata.Query
func (ListByAuthorizationOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByAuthorizationOperationOptions) ToQuery() *client.QueryParams
type ListByAuthorizationOperationResponse ¶
type ListByAuthorizationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AuthorizationAccessPolicyContract }