Documentation ¶
Index ¶
- func PossibleValuesForPolicyFragmentContentFormat() []string
- func ValidatePolicyFragmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspacePolicyFragmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ListReferencesOperationOptions
- type ListReferencesOperationResponse
- type PolicyFragmentClient
- func (c PolicyFragmentClient) CreateOrUpdate(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c PolicyFragmentClient) CreateOrUpdateThenPoll(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, ...) error
- func (c PolicyFragmentClient) Delete(ctx context.Context, id PolicyFragmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c PolicyFragmentClient) Get(ctx context.Context, id PolicyFragmentId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c PolicyFragmentClient) GetEntityTag(ctx context.Context, id PolicyFragmentId) (result GetEntityTagOperationResponse, err error)
- func (c PolicyFragmentClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c PolicyFragmentClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c PolicyFragmentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c PolicyFragmentClient) ListReferences(ctx context.Context, id PolicyFragmentId, ...) (result ListReferencesOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdate(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentCreateOrUpdateOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdateThenPoll(ctx context.Context, id WorkspacePolicyFragmentId, ...) error
- func (c PolicyFragmentClient) WorkspacePolicyFragmentDelete(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentDeleteOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentGet(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentGetOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentGetEntityTag(ctx context.Context, id WorkspacePolicyFragmentId) (result WorkspacePolicyFragmentGetEntityTagOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspacePolicyFragmentListByServiceOperationResponse, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspacePolicyFragmentListByServiceCompleteResult, error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspacePolicyFragmentListByServiceCompleteResult, err error)
- func (c PolicyFragmentClient) WorkspacePolicyFragmentListReferences(ctx context.Context, id WorkspacePolicyFragmentId, ...) (result WorkspacePolicyFragmentListReferencesOperationResponse, err error)
- type PolicyFragmentContentFormat
- type PolicyFragmentContract
- type PolicyFragmentContractOperationPredicate
- type PolicyFragmentContractProperties
- type PolicyFragmentId
- type Resource
- type ResourceCollection
- type ServiceId
- type WorkspaceId
- type WorkspacePolicyFragmentCreateOrUpdateOperationOptions
- type WorkspacePolicyFragmentCreateOrUpdateOperationResponse
- type WorkspacePolicyFragmentDeleteOperationOptions
- type WorkspacePolicyFragmentDeleteOperationResponse
- type WorkspacePolicyFragmentGetEntityTagOperationResponse
- type WorkspacePolicyFragmentGetOperationOptions
- type WorkspacePolicyFragmentGetOperationResponse
- type WorkspacePolicyFragmentId
- func NewWorkspacePolicyFragmentID(subscriptionId string, resourceGroupName string, serviceName string, ...) WorkspacePolicyFragmentId
- func ParseWorkspacePolicyFragmentID(input string) (*WorkspacePolicyFragmentId, error)
- func ParseWorkspacePolicyFragmentIDInsensitively(input string) (*WorkspacePolicyFragmentId, error)
- type WorkspacePolicyFragmentListByServiceCompleteResult
- type WorkspacePolicyFragmentListByServiceOperationOptions
- type WorkspacePolicyFragmentListByServiceOperationResponse
- type WorkspacePolicyFragmentListReferencesOperationOptions
- type WorkspacePolicyFragmentListReferencesOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyFragmentContentFormat ¶
func PossibleValuesForPolicyFragmentContentFormat() []string
func ValidatePolicyFragmentID ¶
ValidatePolicyFragmentID checks that 'input' can be parsed as a Policy Fragment ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspacePolicyFragmentID ¶
func ValidateWorkspacePolicyFragmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspacePolicyFragmentID checks that 'input' can be parsed as a Workspace Policy Fragment ID
Types ¶
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 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 *PolicyFragmentContentFormat
}
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 *PolicyFragmentContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyFragmentContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicyFragmentContract }
type ListReferencesOperationOptions ¶
func DefaultListReferencesOperationOptions ¶
func DefaultListReferencesOperationOptions() ListReferencesOperationOptions
func (ListReferencesOperationOptions) ToHeaders ¶
func (o ListReferencesOperationOptions) ToHeaders() *client.Headers
func (ListReferencesOperationOptions) ToOData ¶
func (o ListReferencesOperationOptions) ToOData() *odata.Query
func (ListReferencesOperationOptions) ToQuery ¶
func (o ListReferencesOperationOptions) ToQuery() *client.QueryParams
type ListReferencesOperationResponse ¶
type ListReferencesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceCollection }
type PolicyFragmentClient ¶
type PolicyFragmentClient struct {
Client *resourcemanager.Client
}
func NewPolicyFragmentClientWithBaseURI ¶
func NewPolicyFragmentClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyFragmentClient, error)
func (PolicyFragmentClient) CreateOrUpdate ¶
func (c PolicyFragmentClient) CreateOrUpdate(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PolicyFragmentClient) CreateOrUpdateThenPoll ¶
func (c PolicyFragmentClient) CreateOrUpdateThenPoll(ctx context.Context, id PolicyFragmentId, input PolicyFragmentContract, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PolicyFragmentClient) Delete ¶
func (c PolicyFragmentClient) Delete(ctx context.Context, id PolicyFragmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (PolicyFragmentClient) Get ¶
func (c PolicyFragmentClient) Get(ctx context.Context, id PolicyFragmentId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (PolicyFragmentClient) GetEntityTag ¶
func (c PolicyFragmentClient) GetEntityTag(ctx context.Context, id PolicyFragmentId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (PolicyFragmentClient) ListByService ¶
func (c PolicyFragmentClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (PolicyFragmentClient) ListByServiceComplete ¶
func (c PolicyFragmentClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (PolicyFragmentClient) ListByServiceCompleteMatchingPredicate ¶
func (c PolicyFragmentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate PolicyFragmentContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyFragmentClient) ListReferences ¶
func (c PolicyFragmentClient) ListReferences(ctx context.Context, id PolicyFragmentId, options ListReferencesOperationOptions) (result ListReferencesOperationResponse, err error)
ListReferences ...
func (PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdate ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdate(ctx context.Context, id WorkspacePolicyFragmentId, input PolicyFragmentContract, options WorkspacePolicyFragmentCreateOrUpdateOperationOptions) (result WorkspacePolicyFragmentCreateOrUpdateOperationResponse, err error)
WorkspacePolicyFragmentCreateOrUpdate ...
func (PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdateThenPoll ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentCreateOrUpdateThenPoll(ctx context.Context, id WorkspacePolicyFragmentId, input PolicyFragmentContract, options WorkspacePolicyFragmentCreateOrUpdateOperationOptions) error
WorkspacePolicyFragmentCreateOrUpdateThenPoll performs WorkspacePolicyFragmentCreateOrUpdate then polls until it's completed
func (PolicyFragmentClient) WorkspacePolicyFragmentDelete ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentDelete(ctx context.Context, id WorkspacePolicyFragmentId, options WorkspacePolicyFragmentDeleteOperationOptions) (result WorkspacePolicyFragmentDeleteOperationResponse, err error)
WorkspacePolicyFragmentDelete ...
func (PolicyFragmentClient) WorkspacePolicyFragmentGet ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentGet(ctx context.Context, id WorkspacePolicyFragmentId, options WorkspacePolicyFragmentGetOperationOptions) (result WorkspacePolicyFragmentGetOperationResponse, err error)
WorkspacePolicyFragmentGet ...
func (PolicyFragmentClient) WorkspacePolicyFragmentGetEntityTag ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentGetEntityTag(ctx context.Context, id WorkspacePolicyFragmentId) (result WorkspacePolicyFragmentGetEntityTagOperationResponse, err error)
WorkspacePolicyFragmentGetEntityTag ...
func (PolicyFragmentClient) WorkspacePolicyFragmentListByService ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentListByService(ctx context.Context, id WorkspaceId, options WorkspacePolicyFragmentListByServiceOperationOptions) (result WorkspacePolicyFragmentListByServiceOperationResponse, err error)
WorkspacePolicyFragmentListByService ...
func (PolicyFragmentClient) WorkspacePolicyFragmentListByServiceComplete ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspacePolicyFragmentListByServiceOperationOptions) (WorkspacePolicyFragmentListByServiceCompleteResult, error)
WorkspacePolicyFragmentListByServiceComplete retrieves all the results into a single object
func (PolicyFragmentClient) WorkspacePolicyFragmentListByServiceCompleteMatchingPredicate ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspacePolicyFragmentListByServiceOperationOptions, predicate PolicyFragmentContractOperationPredicate) (result WorkspacePolicyFragmentListByServiceCompleteResult, err error)
WorkspacePolicyFragmentListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyFragmentClient) WorkspacePolicyFragmentListReferences ¶
func (c PolicyFragmentClient) WorkspacePolicyFragmentListReferences(ctx context.Context, id WorkspacePolicyFragmentId, options WorkspacePolicyFragmentListReferencesOperationOptions) (result WorkspacePolicyFragmentListReferencesOperationResponse, err error)
WorkspacePolicyFragmentListReferences ...
type PolicyFragmentContentFormat ¶
type PolicyFragmentContentFormat string
const ( PolicyFragmentContentFormatRawxml PolicyFragmentContentFormat = "rawxml" PolicyFragmentContentFormatXml PolicyFragmentContentFormat = "xml" )
func (*PolicyFragmentContentFormat) UnmarshalJSON ¶
func (s *PolicyFragmentContentFormat) UnmarshalJSON(bytes []byte) error
type PolicyFragmentContract ¶
type PolicyFragmentContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyFragmentContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyFragmentContractOperationPredicate ¶
func (PolicyFragmentContractOperationPredicate) Matches ¶
func (p PolicyFragmentContractOperationPredicate) Matches(input PolicyFragmentContract) bool
type PolicyFragmentContractProperties ¶
type PolicyFragmentContractProperties struct { Description *string `json:"description,omitempty"` Format *PolicyFragmentContentFormat `json:"format,omitempty"` Value string `json:"value"` }
type PolicyFragmentId ¶
type PolicyFragmentId struct { SubscriptionId string ResourceGroupName string ServiceName string PolicyFragmentName string }
PolicyFragmentId is a struct representing the Resource ID for a Policy Fragment
func NewPolicyFragmentID ¶
func NewPolicyFragmentID(subscriptionId string, resourceGroupName string, serviceName string, policyFragmentName string) PolicyFragmentId
NewPolicyFragmentID returns a new PolicyFragmentId struct
func ParsePolicyFragmentID ¶
func ParsePolicyFragmentID(input string) (*PolicyFragmentId, error)
ParsePolicyFragmentID parses 'input' into a PolicyFragmentId
func ParsePolicyFragmentIDInsensitively ¶
func ParsePolicyFragmentIDInsensitively(input string) (*PolicyFragmentId, error)
ParsePolicyFragmentIDInsensitively parses 'input' case-insensitively into a PolicyFragmentId note: this method should only be used for API response data and not user input
func (*PolicyFragmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PolicyFragmentId) FromParseResult(input resourceids.ParseResult) error
func (PolicyFragmentId) ID ¶
func (id PolicyFragmentId) ID() string
ID returns the formatted Policy Fragment ID
func (PolicyFragmentId) Segments ¶
func (id PolicyFragmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Fragment ID
func (PolicyFragmentId) String ¶
func (id PolicyFragmentId) String() string
String returns a human-readable description of this Policy Fragment ID
type ResourceCollection ¶
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (*WorkspaceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspaceId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspacePolicyFragmentCreateOrUpdateOperationOptions ¶
type WorkspacePolicyFragmentCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspacePolicyFragmentCreateOrUpdateOperationOptions ¶
func DefaultWorkspacePolicyFragmentCreateOrUpdateOperationOptions() WorkspacePolicyFragmentCreateOrUpdateOperationOptions
func (WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspacePolicyFragmentCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspacePolicyFragmentDeleteOperationOptions ¶
type WorkspacePolicyFragmentDeleteOperationOptions struct {
IfMatch *string
}
func DefaultWorkspacePolicyFragmentDeleteOperationOptions ¶
func DefaultWorkspacePolicyFragmentDeleteOperationOptions() WorkspacePolicyFragmentDeleteOperationOptions
func (WorkspacePolicyFragmentDeleteOperationOptions) ToHeaders ¶
func (o WorkspacePolicyFragmentDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspacePolicyFragmentDeleteOperationOptions) ToOData ¶
func (o WorkspacePolicyFragmentDeleteOperationOptions) ToOData() *odata.Query
func (WorkspacePolicyFragmentDeleteOperationOptions) ToQuery ¶
func (o WorkspacePolicyFragmentDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspacePolicyFragmentGetOperationOptions ¶
type WorkspacePolicyFragmentGetOperationOptions struct {
Format *PolicyFragmentContentFormat
}
func DefaultWorkspacePolicyFragmentGetOperationOptions ¶
func DefaultWorkspacePolicyFragmentGetOperationOptions() WorkspacePolicyFragmentGetOperationOptions
func (WorkspacePolicyFragmentGetOperationOptions) ToHeaders ¶
func (o WorkspacePolicyFragmentGetOperationOptions) ToHeaders() *client.Headers
func (WorkspacePolicyFragmentGetOperationOptions) ToOData ¶
func (o WorkspacePolicyFragmentGetOperationOptions) ToOData() *odata.Query
func (WorkspacePolicyFragmentGetOperationOptions) ToQuery ¶
func (o WorkspacePolicyFragmentGetOperationOptions) ToQuery() *client.QueryParams
type WorkspacePolicyFragmentGetOperationResponse ¶
type WorkspacePolicyFragmentGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyFragmentContract }
type WorkspacePolicyFragmentId ¶
type WorkspacePolicyFragmentId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string PolicyFragmentName string }
WorkspacePolicyFragmentId is a struct representing the Resource ID for a Workspace Policy Fragment
func NewWorkspacePolicyFragmentID ¶
func NewWorkspacePolicyFragmentID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, policyFragmentName string) WorkspacePolicyFragmentId
NewWorkspacePolicyFragmentID returns a new WorkspacePolicyFragmentId struct
func ParseWorkspacePolicyFragmentID ¶
func ParseWorkspacePolicyFragmentID(input string) (*WorkspacePolicyFragmentId, error)
ParseWorkspacePolicyFragmentID parses 'input' into a WorkspacePolicyFragmentId
func ParseWorkspacePolicyFragmentIDInsensitively ¶
func ParseWorkspacePolicyFragmentIDInsensitively(input string) (*WorkspacePolicyFragmentId, error)
ParseWorkspacePolicyFragmentIDInsensitively parses 'input' case-insensitively into a WorkspacePolicyFragmentId note: this method should only be used for API response data and not user input
func (*WorkspacePolicyFragmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkspacePolicyFragmentId) FromParseResult(input resourceids.ParseResult) error
func (WorkspacePolicyFragmentId) ID ¶
func (id WorkspacePolicyFragmentId) ID() string
ID returns the formatted Workspace Policy Fragment ID
func (WorkspacePolicyFragmentId) Segments ¶
func (id WorkspacePolicyFragmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Policy Fragment ID
func (WorkspacePolicyFragmentId) String ¶
func (id WorkspacePolicyFragmentId) String() string
String returns a human-readable description of this Workspace Policy Fragment ID
type WorkspacePolicyFragmentListByServiceCompleteResult ¶
type WorkspacePolicyFragmentListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyFragmentContract }
type WorkspacePolicyFragmentListByServiceOperationOptions ¶
type WorkspacePolicyFragmentListByServiceOperationOptions struct { Filter *string Orderby *string Skip *int64 Top *int64 }
func DefaultWorkspacePolicyFragmentListByServiceOperationOptions ¶
func DefaultWorkspacePolicyFragmentListByServiceOperationOptions() WorkspacePolicyFragmentListByServiceOperationOptions
func (WorkspacePolicyFragmentListByServiceOperationOptions) ToHeaders ¶
func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspacePolicyFragmentListByServiceOperationOptions) ToOData ¶
func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspacePolicyFragmentListByServiceOperationOptions) ToQuery ¶
func (o WorkspacePolicyFragmentListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspacePolicyFragmentListByServiceOperationResponse ¶
type WorkspacePolicyFragmentListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicyFragmentContract }
type WorkspacePolicyFragmentListReferencesOperationOptions ¶
func DefaultWorkspacePolicyFragmentListReferencesOperationOptions ¶
func DefaultWorkspacePolicyFragmentListReferencesOperationOptions() WorkspacePolicyFragmentListReferencesOperationOptions
func (WorkspacePolicyFragmentListReferencesOperationOptions) ToHeaders ¶
func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToHeaders() *client.Headers
func (WorkspacePolicyFragmentListReferencesOperationOptions) ToOData ¶
func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToOData() *odata.Query
func (WorkspacePolicyFragmentListReferencesOperationOptions) ToQuery ¶
func (o WorkspacePolicyFragmentListReferencesOperationOptions) ToQuery() *client.QueryParams
type WorkspacePolicyFragmentListReferencesOperationResponse ¶
type WorkspacePolicyFragmentListReferencesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ResourceCollection }
Source Files ¶
- client.go
- constants.go
- id_policyfragment.go
- id_service.go
- id_workspace.go
- id_workspacepolicyfragment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_listreferences.go
- method_workspacepolicyfragmentcreateorupdate.go
- method_workspacepolicyfragmentdelete.go
- method_workspacepolicyfragmentget.go
- method_workspacepolicyfragmentgetentitytag.go
- method_workspacepolicyfragmentlistbyservice.go
- method_workspacepolicyfragmentlistreferences.go
- model_policyfragmentcontract.go
- model_policyfragmentcontractproperties.go
- model_resource.go
- model_resourcecollection.go
- predicates.go
- version.go