Documentation ¶
Index ¶
- func PossibleValuesForPolicyContentFormat() []string
- func PossibleValuesForPolicyExportFormat() []string
- func ValidateApiOperationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOperationID(input interface{}, key string) (warnings []string, errors []error)
- type ApiOperationId
- type ApiOperationPolicyClient
- func (c ApiOperationPolicyClient) CreateOrUpdate(ctx context.Context, id OperationId, input PolicyContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiOperationPolicyClient) Delete(ctx context.Context, id OperationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiOperationPolicyClient) Get(ctx context.Context, id OperationId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ApiOperationPolicyClient) GetEntityTag(ctx context.Context, id OperationId) (result GetEntityTagOperationResponse, err error)
- func (c ApiOperationPolicyClient) ListByOperation(ctx context.Context, id OperationId) (result ListByOperationOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyCreateOrUpdate(ctx context.Context, id ApiOperationId, input PolicyContract, ...) (result WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyDelete(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyDeleteOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGet(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyGetOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGetEntityTag(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyGetEntityTagOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperation(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyListByOperationOperationResponse, err error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationComplete(ctx context.Context, id ApiOperationId) (WorkspaceApiOperationPolicyListByOperationCompleteResult, error)
- func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationCompleteMatchingPredicate(ctx context.Context, id ApiOperationId, ...) (result WorkspaceApiOperationPolicyListByOperationCompleteResult, err error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListByOperationOperationResponse
- type OperationId
- type PolicyCollection
- type PolicyContentFormat
- type PolicyContract
- type PolicyContractOperationPredicate
- type PolicyContractProperties
- type PolicyExportFormat
- type WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions
- type WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse
- type WorkspaceApiOperationPolicyDeleteOperationOptions
- type WorkspaceApiOperationPolicyDeleteOperationResponse
- type WorkspaceApiOperationPolicyGetEntityTagOperationResponse
- type WorkspaceApiOperationPolicyGetOperationOptions
- type WorkspaceApiOperationPolicyGetOperationResponse
- type WorkspaceApiOperationPolicyListByOperationCompleteResult
- type WorkspaceApiOperationPolicyListByOperationOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyContentFormat ¶
func PossibleValuesForPolicyContentFormat() []string
func PossibleValuesForPolicyExportFormat ¶
func PossibleValuesForPolicyExportFormat() []string
func ValidateApiOperationID ¶
ValidateApiOperationID checks that 'input' can be parsed as a Api Operation ID
func ValidateOperationID ¶
ValidateOperationID checks that 'input' can be parsed as a Operation ID
Types ¶
type ApiOperationId ¶
type ApiOperationId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string OperationId string }
ApiOperationId is a struct representing the Resource ID for a Api Operation
func NewApiOperationID ¶
func NewApiOperationID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string, operationId string) ApiOperationId
NewApiOperationID returns a new ApiOperationId struct
func ParseApiOperationID ¶
func ParseApiOperationID(input string) (*ApiOperationId, error)
ParseApiOperationID parses 'input' into a ApiOperationId
func ParseApiOperationIDInsensitively ¶
func ParseApiOperationIDInsensitively(input string) (*ApiOperationId, error)
ParseApiOperationIDInsensitively parses 'input' case-insensitively into a ApiOperationId note: this method should only be used for API response data and not user input
func (*ApiOperationId) FromParseResult ¶
func (id *ApiOperationId) FromParseResult(input resourceids.ParseResult) error
func (ApiOperationId) ID ¶
func (id ApiOperationId) ID() string
ID returns the formatted Api Operation ID
func (ApiOperationId) Segments ¶
func (id ApiOperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Operation ID
func (ApiOperationId) String ¶
func (id ApiOperationId) String() string
String returns a human-readable description of this Api Operation ID
type ApiOperationPolicyClient ¶
type ApiOperationPolicyClient struct {
Client *resourcemanager.Client
}
func NewApiOperationPolicyClientWithBaseURI ¶
func NewApiOperationPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiOperationPolicyClient, error)
func (ApiOperationPolicyClient) CreateOrUpdate ¶
func (c ApiOperationPolicyClient) CreateOrUpdate(ctx context.Context, id OperationId, input PolicyContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiOperationPolicyClient) Delete ¶
func (c ApiOperationPolicyClient) Delete(ctx context.Context, id OperationId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiOperationPolicyClient) Get ¶
func (c ApiOperationPolicyClient) Get(ctx context.Context, id OperationId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ApiOperationPolicyClient) GetEntityTag ¶
func (c ApiOperationPolicyClient) GetEntityTag(ctx context.Context, id OperationId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiOperationPolicyClient) ListByOperation ¶
func (c ApiOperationPolicyClient) ListByOperation(ctx context.Context, id OperationId) (result ListByOperationOperationResponse, err error)
ListByOperation ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyCreateOrUpdate ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyCreateOrUpdate(ctx context.Context, id ApiOperationId, input PolicyContract, options WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) (result WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse, err error)
WorkspaceApiOperationPolicyCreateOrUpdate ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyDelete ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyDelete(ctx context.Context, id ApiOperationId, options WorkspaceApiOperationPolicyDeleteOperationOptions) (result WorkspaceApiOperationPolicyDeleteOperationResponse, err error)
WorkspaceApiOperationPolicyDelete ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyGet ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGet(ctx context.Context, id ApiOperationId, options WorkspaceApiOperationPolicyGetOperationOptions) (result WorkspaceApiOperationPolicyGetOperationResponse, err error)
WorkspaceApiOperationPolicyGet ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyGetEntityTag ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyGetEntityTag(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyGetEntityTagOperationResponse, err error)
WorkspaceApiOperationPolicyGetEntityTag ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperation ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperation(ctx context.Context, id ApiOperationId) (result WorkspaceApiOperationPolicyListByOperationOperationResponse, err error)
WorkspaceApiOperationPolicyListByOperation ...
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationComplete ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationComplete(ctx context.Context, id ApiOperationId) (WorkspaceApiOperationPolicyListByOperationCompleteResult, error)
WorkspaceApiOperationPolicyListByOperationComplete retrieves all the results into a single object
func (ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationCompleteMatchingPredicate ¶
func (c ApiOperationPolicyClient) WorkspaceApiOperationPolicyListByOperationCompleteMatchingPredicate(ctx context.Context, id ApiOperationId, predicate PolicyContractOperationPredicate) (result WorkspaceApiOperationPolicyListByOperationCompleteResult, err error)
WorkspaceApiOperationPolicyListByOperationCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Format *PolicyExportFormat
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyContract }
type ListByOperationOperationResponse ¶
type ListByOperationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyCollection }
type OperationId ¶
type OperationId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string OperationId string }
OperationId is a struct representing the Resource ID for a Operation
func NewOperationID ¶
func NewOperationID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, operationId string) OperationId
NewOperationID returns a new OperationId struct
func ParseOperationID ¶
func ParseOperationID(input string) (*OperationId, error)
ParseOperationID parses 'input' into a OperationId
func ParseOperationIDInsensitively ¶
func ParseOperationIDInsensitively(input string) (*OperationId, error)
ParseOperationIDInsensitively parses 'input' case-insensitively into a OperationId note: this method should only be used for API response data and not user input
func (*OperationId) FromParseResult ¶
func (id *OperationId) FromParseResult(input resourceids.ParseResult) error
func (OperationId) Segments ¶
func (id OperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Operation ID
func (OperationId) String ¶
func (id OperationId) String() string
String returns a human-readable description of this Operation ID
type PolicyCollection ¶
type PolicyCollection struct { Count *int64 `json:"count,omitempty"` NextLink *string `json:"nextLink,omitempty"` Value *[]PolicyContract `json:"value,omitempty"` }
type PolicyContentFormat ¶
type PolicyContentFormat string
const ( PolicyContentFormatRawxml PolicyContentFormat = "rawxml" PolicyContentFormatRawxmlNegativelink PolicyContentFormat = "rawxml-link" PolicyContentFormatXml PolicyContentFormat = "xml" PolicyContentFormatXmlNegativelink PolicyContentFormat = "xml-link" )
func (*PolicyContentFormat) UnmarshalJSON ¶
func (s *PolicyContentFormat) UnmarshalJSON(bytes []byte) error
type PolicyContract ¶
type PolicyContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyContractOperationPredicate ¶
func (PolicyContractOperationPredicate) Matches ¶
func (p PolicyContractOperationPredicate) Matches(input PolicyContract) bool
type PolicyContractProperties ¶
type PolicyContractProperties struct { Format *PolicyContentFormat `json:"format,omitempty"` Value string `json:"value"` }
type PolicyExportFormat ¶
type PolicyExportFormat string
const ( PolicyExportFormatRawxml PolicyExportFormat = "rawxml" PolicyExportFormatXml PolicyExportFormat = "xml" )
func (*PolicyExportFormat) UnmarshalJSON ¶
func (s *PolicyExportFormat) UnmarshalJSON(bytes []byte) error
type WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions ¶
type WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiOperationPolicyCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceApiOperationPolicyCreateOrUpdateOperationOptions() WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions
func (WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceApiOperationPolicyCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse ¶
type WorkspaceApiOperationPolicyCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyContract }
type WorkspaceApiOperationPolicyDeleteOperationOptions ¶
type WorkspaceApiOperationPolicyDeleteOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiOperationPolicyDeleteOperationOptions ¶
func DefaultWorkspaceApiOperationPolicyDeleteOperationOptions() WorkspaceApiOperationPolicyDeleteOperationOptions
func (WorkspaceApiOperationPolicyDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiOperationPolicyDeleteOperationOptions) ToOData ¶
func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceApiOperationPolicyDeleteOperationOptions) ToQuery ¶
func (o WorkspaceApiOperationPolicyDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiOperationPolicyGetOperationOptions ¶
type WorkspaceApiOperationPolicyGetOperationOptions struct {
Format *PolicyExportFormat
}
func DefaultWorkspaceApiOperationPolicyGetOperationOptions ¶
func DefaultWorkspaceApiOperationPolicyGetOperationOptions() WorkspaceApiOperationPolicyGetOperationOptions
func (WorkspaceApiOperationPolicyGetOperationOptions) ToHeaders ¶
func (o WorkspaceApiOperationPolicyGetOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiOperationPolicyGetOperationOptions) ToOData ¶
func (o WorkspaceApiOperationPolicyGetOperationOptions) ToOData() *odata.Query
func (WorkspaceApiOperationPolicyGetOperationOptions) ToQuery ¶
func (o WorkspaceApiOperationPolicyGetOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiOperationPolicyGetOperationResponse ¶
type WorkspaceApiOperationPolicyGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyContract }
type WorkspaceApiOperationPolicyListByOperationCompleteResult ¶
type WorkspaceApiOperationPolicyListByOperationCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyContract }
type WorkspaceApiOperationPolicyListByOperationOperationResponse ¶
type WorkspaceApiOperationPolicyListByOperationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicyContract }
Source Files ¶
- client.go
- constants.go
- id_apioperation.go
- id_operation.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyoperation.go
- method_workspaceapioperationpolicycreateorupdate.go
- method_workspaceapioperationpolicydelete.go
- method_workspaceapioperationpolicyget.go
- method_workspaceapioperationpolicygetentitytag.go
- method_workspaceapioperationpolicylistbyoperation.go
- model_policycollection.go
- model_policycontract.go
- model_policycontractproperties.go
- predicates.go
- version.go