Documentation ¶
Index ¶
- func PossibleValuesForParameterType() []string
- func PossibleValuesForPolicyType() []string
- func ValidatePolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderPolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviders2PolicyDefinitionID(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 PolicyDefinition
- type PolicyDefinitionId
- type PolicyDefinitionOperationPredicate
- type PolicyDefinitionProperties
- type PolicyDefinitionsClient
- func (c PolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, id ProviderPolicyDefinitionId, input PolicyDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c PolicyDefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId, input PolicyDefinition) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionsClient) Delete(ctx context.Context, id ProviderPolicyDefinitionId) (result DeleteOperationResponse, err error)
- func (c PolicyDefinitionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId) (result DeleteAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionsClient) Get(ctx context.Context, id ProviderPolicyDefinitionId) (result GetOperationResponse, err error)
- func (c PolicyDefinitionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId) (result GetAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionsClient) GetBuiltIn(ctx context.Context, id PolicyDefinitionId) (result GetBuiltInOperationResponse, err error)
- func (c PolicyDefinitionsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c PolicyDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (resp ListBuiltInOperationResponse, err error)
- func (c PolicyDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
- func (c PolicyDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, ...) (resp ListBuiltInCompleteResult, err error)
- func (c PolicyDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, ...) (resp ListByManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId, ...) (ListByManagementGroupCompleteResult, error)
- func (c PolicyDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (resp ListByManagementGroupCompleteResult, err error)
- func (c PolicyDefinitionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c PolicyDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type PolicyType
- type ProviderPolicyDefinitionId
- func NewProviderPolicyDefinitionID(subscriptionId string, policyDefinitionName string) ProviderPolicyDefinitionId
- func ParseProviderPolicyDefinitionID(input string) (*ProviderPolicyDefinitionId, error)
- func ParseProviderPolicyDefinitionIDInsensitively(input string) (*ProviderPolicyDefinitionId, error)
- type Providers2PolicyDefinitionId
- func NewProviders2PolicyDefinitionID(managementGroupId string, policyDefinitionName string) Providers2PolicyDefinitionId
- func ParseProviders2PolicyDefinitionID(input string) (*Providers2PolicyDefinitionId, error)
- func ParseProviders2PolicyDefinitionIDInsensitively(input string) (*Providers2PolicyDefinitionId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForParameterType ¶
func PossibleValuesForParameterType() []string
func PossibleValuesForPolicyType ¶
func PossibleValuesForPolicyType() []string
func ValidatePolicyDefinitionID ¶
ValidatePolicyDefinitionID checks that 'input' can be parsed as a Policy Definition ID
func ValidateProviderPolicyDefinitionID ¶
func ValidateProviderPolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderPolicyDefinitionID checks that 'input' can be parsed as a Provider Policy Definition ID
func ValidateProviders2PolicyDefinitionID ¶
func ValidateProviders2PolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviders2PolicyDefinitionID checks that 'input' can be parsed as a Providers 2 Policy Definition ID
Types ¶
type CreateOrUpdateAtManagementGroupOperationResponse ¶
type CreateOrUpdateAtManagementGroupOperationResponse struct { HttpResponse *http.Response Model *PolicyDefinition }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *PolicyDefinition }
type DeleteOperationResponse ¶
type GetAtManagementGroupOperationResponse ¶
type GetAtManagementGroupOperationResponse struct { HttpResponse *http.Response Model *PolicyDefinition }
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response Model *PolicyDefinition }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *PolicyDefinition }
type ListBuiltInCompleteResult ¶
type ListBuiltInCompleteResult struct {
Items []PolicyDefinition
}
type ListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions() ListBuiltInOperationOptions
type ListBuiltInOperationResponse ¶
type ListBuiltInOperationResponse struct { HttpResponse *http.Response Model *[]PolicyDefinition // 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 []PolicyDefinition
}
type ListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions() ListByManagementGroupOperationOptions
type ListByManagementGroupOperationResponse ¶
type ListByManagementGroupOperationResponse struct { HttpResponse *http.Response Model *[]PolicyDefinition // 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 []PolicyDefinition
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]PolicyDefinition // 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 PolicyDefinition ¶
type PolicyDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyDefinitionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyDefinitionId ¶
type PolicyDefinitionId struct {
PolicyDefinitionName string
}
PolicyDefinitionId is a struct representing the Resource ID for a Policy Definition
func NewPolicyDefinitionID ¶
func NewPolicyDefinitionID(policyDefinitionName string) PolicyDefinitionId
NewPolicyDefinitionID returns a new PolicyDefinitionId struct
func ParsePolicyDefinitionID ¶
func ParsePolicyDefinitionID(input string) (*PolicyDefinitionId, error)
ParsePolicyDefinitionID parses 'input' into a PolicyDefinitionId
func ParsePolicyDefinitionIDInsensitively ¶
func ParsePolicyDefinitionIDInsensitively(input string) (*PolicyDefinitionId, error)
ParsePolicyDefinitionIDInsensitively parses 'input' case-insensitively into a PolicyDefinitionId note: this method should only be used for API response data and not user input
func (PolicyDefinitionId) ID ¶
func (id PolicyDefinitionId) ID() string
ID returns the formatted Policy Definition ID
func (PolicyDefinitionId) Segments ¶
func (id PolicyDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Definition ID
func (PolicyDefinitionId) String ¶
func (id PolicyDefinitionId) String() string
String returns a human-readable description of this Policy Definition ID
type PolicyDefinitionOperationPredicate ¶
func (PolicyDefinitionOperationPredicate) Matches ¶
func (p PolicyDefinitionOperationPredicate) Matches(input PolicyDefinition) bool
type PolicyDefinitionProperties ¶
type PolicyDefinitionProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Mode *string `json:"mode,omitempty"` Parameters *map[string]ParameterDefinitionsValue `json:"parameters,omitempty"` PolicyRule *interface{} `json:"policyRule,omitempty"` PolicyType *PolicyType `json:"policyType,omitempty"` }
type PolicyDefinitionsClient ¶
type PolicyDefinitionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPolicyDefinitionsClientWithBaseURI ¶
func NewPolicyDefinitionsClientWithBaseURI(endpoint string) PolicyDefinitionsClient
func (PolicyDefinitionsClient) CreateOrUpdate ¶
func (c PolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, id ProviderPolicyDefinitionId, input PolicyDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PolicyDefinitionsClient) CreateOrUpdateAtManagementGroup ¶
func (c PolicyDefinitionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId, input PolicyDefinition) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
CreateOrUpdateAtManagementGroup ...
func (PolicyDefinitionsClient) Delete ¶
func (c PolicyDefinitionsClient) Delete(ctx context.Context, id ProviderPolicyDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (PolicyDefinitionsClient) DeleteAtManagementGroup ¶
func (c PolicyDefinitionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId) (result DeleteAtManagementGroupOperationResponse, err error)
DeleteAtManagementGroup ...
func (PolicyDefinitionsClient) Get ¶
func (c PolicyDefinitionsClient) Get(ctx context.Context, id ProviderPolicyDefinitionId) (result GetOperationResponse, err error)
Get ...
func (PolicyDefinitionsClient) GetAtManagementGroup ¶
func (c PolicyDefinitionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId) (result GetAtManagementGroupOperationResponse, err error)
GetAtManagementGroup ...
func (PolicyDefinitionsClient) GetBuiltIn ¶
func (c PolicyDefinitionsClient) GetBuiltIn(ctx context.Context, id PolicyDefinitionId) (result GetBuiltInOperationResponse, err error)
GetBuiltIn ...
func (PolicyDefinitionsClient) List ¶
func (c PolicyDefinitionsClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (PolicyDefinitionsClient) ListBuiltIn ¶
func (c PolicyDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (resp ListBuiltInOperationResponse, err error)
ListBuiltIn ...
func (PolicyDefinitionsClient) ListBuiltInComplete ¶
func (c PolicyDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
ListBuiltInComplete retrieves all of the results into a single object
func (PolicyDefinitionsClient) ListBuiltInCompleteMatchingPredicate ¶
func (c PolicyDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, predicate PolicyDefinitionOperationPredicate) (resp ListBuiltInCompleteResult, err error)
ListBuiltInCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PolicyDefinitionsClient) ListByManagementGroup ¶
func (c PolicyDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (resp ListByManagementGroupOperationResponse, err error)
ListByManagementGroup ...
func (PolicyDefinitionsClient) ListByManagementGroupComplete ¶
func (c PolicyDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (ListByManagementGroupCompleteResult, error)
ListByManagementGroupComplete retrieves all of the results into a single object
func (PolicyDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate ¶
func (c PolicyDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions, predicate PolicyDefinitionOperationPredicate) (resp ListByManagementGroupCompleteResult, err error)
ListByManagementGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PolicyDefinitionsClient) ListComplete ¶
func (c PolicyDefinitionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (PolicyDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c PolicyDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate PolicyDefinitionOperationPredicate) (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 ProviderPolicyDefinitionId ¶
ProviderPolicyDefinitionId is a struct representing the Resource ID for a Provider Policy Definition
func NewProviderPolicyDefinitionID ¶
func NewProviderPolicyDefinitionID(subscriptionId string, policyDefinitionName string) ProviderPolicyDefinitionId
NewProviderPolicyDefinitionID returns a new ProviderPolicyDefinitionId struct
func ParseProviderPolicyDefinitionID ¶
func ParseProviderPolicyDefinitionID(input string) (*ProviderPolicyDefinitionId, error)
ParseProviderPolicyDefinitionID parses 'input' into a ProviderPolicyDefinitionId
func ParseProviderPolicyDefinitionIDInsensitively ¶
func ParseProviderPolicyDefinitionIDInsensitively(input string) (*ProviderPolicyDefinitionId, error)
ParseProviderPolicyDefinitionIDInsensitively parses 'input' case-insensitively into a ProviderPolicyDefinitionId note: this method should only be used for API response data and not user input
func (ProviderPolicyDefinitionId) ID ¶
func (id ProviderPolicyDefinitionId) ID() string
ID returns the formatted Provider Policy Definition ID
func (ProviderPolicyDefinitionId) Segments ¶
func (id ProviderPolicyDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Policy Definition ID
func (ProviderPolicyDefinitionId) String ¶
func (id ProviderPolicyDefinitionId) String() string
String returns a human-readable description of this Provider Policy Definition ID
type Providers2PolicyDefinitionId ¶
Providers2PolicyDefinitionId is a struct representing the Resource ID for a Providers 2 Policy Definition
func NewProviders2PolicyDefinitionID ¶
func NewProviders2PolicyDefinitionID(managementGroupId string, policyDefinitionName string) Providers2PolicyDefinitionId
NewProviders2PolicyDefinitionID returns a new Providers2PolicyDefinitionId struct
func ParseProviders2PolicyDefinitionID ¶
func ParseProviders2PolicyDefinitionID(input string) (*Providers2PolicyDefinitionId, error)
ParseProviders2PolicyDefinitionID parses 'input' into a Providers2PolicyDefinitionId
func ParseProviders2PolicyDefinitionIDInsensitively ¶
func ParseProviders2PolicyDefinitionIDInsensitively(input string) (*Providers2PolicyDefinitionId, error)
ParseProviders2PolicyDefinitionIDInsensitively parses 'input' case-insensitively into a Providers2PolicyDefinitionId note: this method should only be used for API response data and not user input
func (Providers2PolicyDefinitionId) ID ¶
func (id Providers2PolicyDefinitionId) ID() string
ID returns the formatted Providers 2 Policy Definition ID
func (Providers2PolicyDefinitionId) Segments ¶
func (id Providers2PolicyDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 Policy Definition ID
func (Providers2PolicyDefinitionId) String ¶
func (id Providers2PolicyDefinitionId) String() string
String returns a human-readable description of this Providers 2 Policy Definition ID
Source Files ¶
- client.go
- constants.go
- id_policydefinition.go
- id_providerpolicydefinition.go
- id_providers2policydefinition.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_policydefinition.go
- model_policydefinitionproperties.go
- predicates.go
- version.go