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)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- 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) ListReferences(ctx context.Context, id PolicyFragmentId, ...) (result ListReferencesOperationResponse, err error)
- type PolicyFragmentCollection
- type PolicyFragmentContentFormat
- type PolicyFragmentContract
- type PolicyFragmentContractProperties
- type PolicyFragmentId
- type Resource
- type ResourceCollection
- type ServiceId
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
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Format *PolicyFragmentContentFormat
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PolicyFragmentContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response Model *PolicyFragmentCollection }
type ListReferencesOperationOptions ¶
func DefaultListReferencesOperationOptions ¶
func DefaultListReferencesOperationOptions() ListReferencesOperationOptions
type ListReferencesOperationResponse ¶
type ListReferencesOperationResponse struct { HttpResponse *http.Response Model *ResourceCollection }
type PolicyFragmentClient ¶
type PolicyFragmentClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPolicyFragmentClientWithBaseURI ¶
func NewPolicyFragmentClientWithBaseURI(endpoint string) PolicyFragmentClient
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) ListReferences ¶
func (c PolicyFragmentClient) ListReferences(ctx context.Context, id PolicyFragmentId, options ListReferencesOperationOptions) (result ListReferencesOperationResponse, err error)
ListReferences ...
type PolicyFragmentCollection ¶
type PolicyFragmentCollection struct { Count *int64 `json:"count,omitempty"` NextLink *string `json:"nextLink,omitempty"` Value *[]PolicyFragmentContract `json:"value,omitempty"` }
type PolicyFragmentContentFormat ¶
type PolicyFragmentContentFormat string
const ( PolicyFragmentContentFormatRawxml PolicyFragmentContentFormat = "rawxml" PolicyFragmentContentFormatXml PolicyFragmentContentFormat = "xml" )
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 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) 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) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Source Files ¶
- client.go
- constants.go
- id_policyfragment.go
- id_service.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getentitytag_autorest.go
- method_listbyservice_autorest.go
- method_listreferences_autorest.go
- model_policyfragmentcollection.go
- model_policyfragmentcontract.go
- model_policyfragmentcontractproperties.go
- model_resource.go
- model_resourcecollection.go
- version.go