Documentation ¶
Index ¶
- func PossibleValuesForParameterType() []string
- func PossibleValuesForPolicyType() []string
- func ValidatePolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderPolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviders2PolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateAtManagementGroupOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteAtManagementGroupOperationResponse
- type DeleteOperationResponse
- type GetAtManagementGroupOperationResponse
- type GetBuiltInOperationResponse
- type GetOperationResponse
- type ListBuiltInCompleteResult
- type ListBuiltInOperationOptions
- type ListBuiltInOperationResponse
- type ListByManagementGroupCompleteResult
- type ListByManagementGroupOperationOptions
- type ListByManagementGroupOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ParameterDefinitionsValue
- type ParameterDefinitionsValueMetadata
- type ParameterType
- type ParameterValuesValue
- type PolicyDefinitionGroup
- type PolicyDefinitionReference
- type PolicySetDefinition
- type PolicySetDefinitionId
- type PolicySetDefinitionOperationPredicate
- type PolicySetDefinitionProperties
- type PolicySetDefinitionsClient
- func (c PolicySetDefinitionsClient) CreateOrUpdate(ctx context.Context, id ProviderPolicySetDefinitionId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c PolicySetDefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId, ...) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
- func (c PolicySetDefinitionsClient) Delete(ctx context.Context, id ProviderPolicySetDefinitionId) (result DeleteOperationResponse, err error)
- func (c PolicySetDefinitionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId) (result DeleteAtManagementGroupOperationResponse, err error)
- func (c PolicySetDefinitionsClient) Get(ctx context.Context, id ProviderPolicySetDefinitionId) (result GetOperationResponse, err error)
- func (c PolicySetDefinitionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId) (result GetAtManagementGroupOperationResponse, err error)
- func (c PolicySetDefinitionsClient) GetBuiltIn(ctx context.Context, id PolicySetDefinitionId) (result GetBuiltInOperationResponse, err error)
- func (c PolicySetDefinitionsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c PolicySetDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (resp ListBuiltInOperationResponse, err error)
- func (c PolicySetDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
- func (c PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, ...) (resp ListBuiltInCompleteResult, err error)
- func (c PolicySetDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, ...) (resp ListByManagementGroupOperationResponse, err error)
- func (c PolicySetDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId, ...) (ListByManagementGroupCompleteResult, error)
- func (c PolicySetDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (resp ListByManagementGroupCompleteResult, err error)
- func (c PolicySetDefinitionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c PolicySetDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type PolicyType
- type ProviderPolicySetDefinitionId
- func NewProviderPolicySetDefinitionID(subscriptionId string, policySetDefinitionName string) ProviderPolicySetDefinitionId
- func ParseProviderPolicySetDefinitionID(input string) (*ProviderPolicySetDefinitionId, error)
- func ParseProviderPolicySetDefinitionIDInsensitively(input string) (*ProviderPolicySetDefinitionId, error)
- type Providers2PolicySetDefinitionId
- func NewProviders2PolicySetDefinitionID(managementGroupId string, policySetDefinitionName string) Providers2PolicySetDefinitionId
- func ParseProviders2PolicySetDefinitionID(input string) (*Providers2PolicySetDefinitionId, error)
- func ParseProviders2PolicySetDefinitionIDInsensitively(input string) (*Providers2PolicySetDefinitionId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForParameterType ¶
func PossibleValuesForParameterType() []string
func PossibleValuesForPolicyType ¶
func PossibleValuesForPolicyType() []string
func ValidatePolicySetDefinitionID ¶
func ValidatePolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidatePolicySetDefinitionID checks that 'input' can be parsed as a Policy Set Definition ID
func ValidateProviderPolicySetDefinitionID ¶
func ValidateProviderPolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderPolicySetDefinitionID checks that 'input' can be parsed as a Provider Policy Set Definition ID
func ValidateProviders2PolicySetDefinitionID ¶
func ValidateProviders2PolicySetDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviders2PolicySetDefinitionID checks that 'input' can be parsed as a Providers 2 Policy Set Definition ID
Types ¶
type CreateOrUpdateAtManagementGroupOperationResponse ¶
type CreateOrUpdateAtManagementGroupOperationResponse struct { HttpResponse *http.Response Model *PolicySetDefinition }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *PolicySetDefinition }
type DeleteOperationResponse ¶
type GetAtManagementGroupOperationResponse ¶
type GetAtManagementGroupOperationResponse struct { HttpResponse *http.Response Model *PolicySetDefinition }
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response Model *PolicySetDefinition }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PolicySetDefinition }
type ListBuiltInCompleteResult ¶
type ListBuiltInCompleteResult struct {
Items []PolicySetDefinition
}
type ListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions() ListBuiltInOperationOptions
type ListBuiltInOperationResponse ¶
type ListBuiltInOperationResponse struct { HttpResponse *http.Response Model *[]PolicySetDefinition // contains filtered or unexported fields }
func (ListBuiltInOperationResponse) HasMore ¶
func (r ListBuiltInOperationResponse) HasMore() bool
func (ListBuiltInOperationResponse) LoadMore ¶
func (r ListBuiltInOperationResponse) LoadMore(ctx context.Context) (resp ListBuiltInOperationResponse, err error)
type ListByManagementGroupCompleteResult ¶
type ListByManagementGroupCompleteResult struct {
Items []PolicySetDefinition
}
type ListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions() ListByManagementGroupOperationOptions
type ListByManagementGroupOperationResponse ¶
type ListByManagementGroupOperationResponse struct { HttpResponse *http.Response Model *[]PolicySetDefinition // contains filtered or unexported fields }
func (ListByManagementGroupOperationResponse) HasMore ¶
func (r ListByManagementGroupOperationResponse) HasMore() bool
func (ListByManagementGroupOperationResponse) LoadMore ¶
func (r ListByManagementGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByManagementGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []PolicySetDefinition
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]PolicySetDefinition // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ParameterDefinitionsValue ¶
type ParameterDefinitionsValue struct { AllowedValues *[]interface{} `json:"allowedValues,omitempty"` DefaultValue *interface{} `json:"defaultValue,omitempty"` Metadata *ParameterDefinitionsValueMetadata `json:"metadata,omitempty"` Type *ParameterType `json:"type,omitempty"` }
type ParameterType ¶
type ParameterType string
const ( ParameterTypeArray ParameterType = "Array" ParameterTypeBoolean ParameterType = "Boolean" ParameterTypeDateTime ParameterType = "DateTime" ParameterTypeFloat ParameterType = "Float" ParameterTypeInteger ParameterType = "Integer" ParameterTypeObject ParameterType = "Object" ParameterTypeString ParameterType = "String" )
type ParameterValuesValue ¶
type ParameterValuesValue struct {
Value *interface{} `json:"value,omitempty"`
}
type PolicyDefinitionGroup ¶
type PolicyDefinitionReference ¶
type PolicyDefinitionReference struct { GroupNames *[]string `json:"groupNames,omitempty"` Parameters *map[string]ParameterValuesValue `json:"parameters,omitempty"` PolicyDefinitionId string `json:"policyDefinitionId"` PolicyDefinitionReferenceId *string `json:"policyDefinitionReferenceId,omitempty"` }
type PolicySetDefinition ¶
type PolicySetDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicySetDefinitionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PolicySetDefinitionId ¶
type PolicySetDefinitionId struct {
PolicySetDefinitionName string
}
PolicySetDefinitionId is a struct representing the Resource ID for a Policy Set Definition
func NewPolicySetDefinitionID ¶
func NewPolicySetDefinitionID(policySetDefinitionName string) PolicySetDefinitionId
NewPolicySetDefinitionID returns a new PolicySetDefinitionId struct
func ParsePolicySetDefinitionID ¶
func ParsePolicySetDefinitionID(input string) (*PolicySetDefinitionId, error)
ParsePolicySetDefinitionID parses 'input' into a PolicySetDefinitionId
func ParsePolicySetDefinitionIDInsensitively ¶
func ParsePolicySetDefinitionIDInsensitively(input string) (*PolicySetDefinitionId, error)
ParsePolicySetDefinitionIDInsensitively parses 'input' case-insensitively into a PolicySetDefinitionId note: this method should only be used for API response data and not user input
func (PolicySetDefinitionId) ID ¶
func (id PolicySetDefinitionId) ID() string
ID returns the formatted Policy Set Definition ID
func (PolicySetDefinitionId) Segments ¶
func (id PolicySetDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Set Definition ID
func (PolicySetDefinitionId) String ¶
func (id PolicySetDefinitionId) String() string
String returns a human-readable description of this Policy Set Definition ID
type PolicySetDefinitionOperationPredicate ¶
func (PolicySetDefinitionOperationPredicate) Matches ¶
func (p PolicySetDefinitionOperationPredicate) Matches(input PolicySetDefinition) bool
type PolicySetDefinitionProperties ¶
type PolicySetDefinitionProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Parameters *map[string]ParameterDefinitionsValue `json:"parameters,omitempty"` PolicyDefinitionGroups *[]PolicyDefinitionGroup `json:"policyDefinitionGroups,omitempty"` PolicyDefinitions []PolicyDefinitionReference `json:"policyDefinitions"` PolicyType *PolicyType `json:"policyType,omitempty"` }
type PolicySetDefinitionsClient ¶
type PolicySetDefinitionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPolicySetDefinitionsClientWithBaseURI ¶
func NewPolicySetDefinitionsClientWithBaseURI(endpoint string) PolicySetDefinitionsClient
func (PolicySetDefinitionsClient) CreateOrUpdate ¶
func (c PolicySetDefinitionsClient) CreateOrUpdate(ctx context.Context, id ProviderPolicySetDefinitionId, input PolicySetDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PolicySetDefinitionsClient) CreateOrUpdateAtManagementGroup ¶
func (c PolicySetDefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId, input PolicySetDefinition) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
CreateOrUpdateAtManagementGroup ...
func (PolicySetDefinitionsClient) Delete ¶
func (c PolicySetDefinitionsClient) Delete(ctx context.Context, id ProviderPolicySetDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (PolicySetDefinitionsClient) DeleteAtManagementGroup ¶
func (c PolicySetDefinitionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId) (result DeleteAtManagementGroupOperationResponse, err error)
DeleteAtManagementGroup ...
func (PolicySetDefinitionsClient) Get ¶
func (c PolicySetDefinitionsClient) Get(ctx context.Context, id ProviderPolicySetDefinitionId) (result GetOperationResponse, err error)
Get ...
func (PolicySetDefinitionsClient) GetAtManagementGroup ¶
func (c PolicySetDefinitionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicySetDefinitionId) (result GetAtManagementGroupOperationResponse, err error)
GetAtManagementGroup ...
func (PolicySetDefinitionsClient) GetBuiltIn ¶
func (c PolicySetDefinitionsClient) GetBuiltIn(ctx context.Context, id PolicySetDefinitionId) (result GetBuiltInOperationResponse, err error)
GetBuiltIn ...
func (PolicySetDefinitionsClient) List ¶
func (c PolicySetDefinitionsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (PolicySetDefinitionsClient) ListBuiltIn ¶
func (c PolicySetDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (resp ListBuiltInOperationResponse, err error)
ListBuiltIn ...
func (PolicySetDefinitionsClient) ListBuiltInComplete ¶
func (c PolicySetDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
ListBuiltInComplete retrieves all of the results into a single object
func (PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, predicate PolicySetDefinitionOperationPredicate) (resp ListBuiltInCompleteResult, err error)
ListBuiltInCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PolicySetDefinitionsClient) ListByManagementGroup ¶
func (c PolicySetDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (resp ListByManagementGroupOperationResponse, err error)
ListByManagementGroup ...
func (PolicySetDefinitionsClient) ListByManagementGroupComplete ¶
func (c PolicySetDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (ListByManagementGroupCompleteResult, error)
ListByManagementGroupComplete retrieves all of the results into a single object
func (PolicySetDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions, predicate PolicySetDefinitionOperationPredicate) (resp ListByManagementGroupCompleteResult, err error)
ListByManagementGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PolicySetDefinitionsClient) ListComplete ¶
func (c PolicySetDefinitionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (PolicySetDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate PolicySetDefinitionOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type PolicyType ¶
type PolicyType string
const ( PolicyTypeBuiltIn PolicyType = "BuiltIn" PolicyTypeCustom PolicyType = "Custom" PolicyTypeNotSpecified PolicyType = "NotSpecified" PolicyTypeStatic PolicyType = "Static" )
type ProviderPolicySetDefinitionId ¶
ProviderPolicySetDefinitionId is a struct representing the Resource ID for a Provider Policy Set Definition
func NewProviderPolicySetDefinitionID ¶
func NewProviderPolicySetDefinitionID(subscriptionId string, policySetDefinitionName string) ProviderPolicySetDefinitionId
NewProviderPolicySetDefinitionID returns a new ProviderPolicySetDefinitionId struct
func ParseProviderPolicySetDefinitionID ¶
func ParseProviderPolicySetDefinitionID(input string) (*ProviderPolicySetDefinitionId, error)
ParseProviderPolicySetDefinitionID parses 'input' into a ProviderPolicySetDefinitionId
func ParseProviderPolicySetDefinitionIDInsensitively ¶
func ParseProviderPolicySetDefinitionIDInsensitively(input string) (*ProviderPolicySetDefinitionId, error)
ParseProviderPolicySetDefinitionIDInsensitively parses 'input' case-insensitively into a ProviderPolicySetDefinitionId note: this method should only be used for API response data and not user input
func (ProviderPolicySetDefinitionId) ID ¶
func (id ProviderPolicySetDefinitionId) ID() string
ID returns the formatted Provider Policy Set Definition ID
func (ProviderPolicySetDefinitionId) Segments ¶
func (id ProviderPolicySetDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Policy Set Definition ID
func (ProviderPolicySetDefinitionId) String ¶
func (id ProviderPolicySetDefinitionId) String() string
String returns a human-readable description of this Provider Policy Set Definition ID
type Providers2PolicySetDefinitionId ¶
type Providers2PolicySetDefinitionId struct { ManagementGroupId string PolicySetDefinitionName string }
Providers2PolicySetDefinitionId is a struct representing the Resource ID for a Providers 2 Policy Set Definition
func NewProviders2PolicySetDefinitionID ¶
func NewProviders2PolicySetDefinitionID(managementGroupId string, policySetDefinitionName string) Providers2PolicySetDefinitionId
NewProviders2PolicySetDefinitionID returns a new Providers2PolicySetDefinitionId struct
func ParseProviders2PolicySetDefinitionID ¶
func ParseProviders2PolicySetDefinitionID(input string) (*Providers2PolicySetDefinitionId, error)
ParseProviders2PolicySetDefinitionID parses 'input' into a Providers2PolicySetDefinitionId
func ParseProviders2PolicySetDefinitionIDInsensitively ¶
func ParseProviders2PolicySetDefinitionIDInsensitively(input string) (*Providers2PolicySetDefinitionId, error)
ParseProviders2PolicySetDefinitionIDInsensitively parses 'input' case-insensitively into a Providers2PolicySetDefinitionId note: this method should only be used for API response data and not user input
func (Providers2PolicySetDefinitionId) ID ¶
func (id Providers2PolicySetDefinitionId) ID() string
ID returns the formatted Providers 2 Policy Set Definition ID
func (Providers2PolicySetDefinitionId) Segments ¶
func (id Providers2PolicySetDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 Policy Set Definition ID
func (Providers2PolicySetDefinitionId) String ¶
func (id Providers2PolicySetDefinitionId) String() string
String returns a human-readable description of this Providers 2 Policy Set Definition ID
Source Files ¶
- client.go
- constants.go
- id_policysetdefinition.go
- id_providerpolicysetdefinition.go
- id_providers2policysetdefinition.go
- method_createorupdate_autorest.go
- method_createorupdateatmanagementgroup_autorest.go
- method_delete_autorest.go
- method_deleteatmanagementgroup_autorest.go
- method_get_autorest.go
- method_getatmanagementgroup_autorest.go
- method_getbuiltin_autorest.go
- method_list_autorest.go
- method_listbuiltin_autorest.go
- method_listbymanagementgroup_autorest.go
- model_parameterdefinitionsvalue.go
- model_parameterdefinitionsvaluemetadata.go
- model_parametervaluesvalue.go
- model_policydefinitiongroup.go
- model_policydefinitionreference.go
- model_policysetdefinition.go
- model_policysetdefinitionproperties.go
- predicates.go
- version.go