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) (result ListOperationResponse, err error)
- func (c PolicySetDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (result ListBuiltInOperationResponse, err error)
- func (c PolicySetDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
- func (c PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, ...) (result ListBuiltInCompleteResult, err error)
- func (c PolicySetDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, ...) (result 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, ...) (result 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, ...) (result 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(managementGroupName 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 OData *odata.OData Model *PolicySetDefinition }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicySetDefinition }
type DeleteOperationResponse ¶
type GetAtManagementGroupOperationResponse ¶
type GetAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicySetDefinition }
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicySetDefinition }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicySetDefinition }
type ListBuiltInCompleteResult ¶
type ListBuiltInCompleteResult struct { LatestHttpResponse *http.Response Items []PolicySetDefinition }
type ListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions ¶
func DefaultListBuiltInOperationOptions() ListBuiltInOperationOptions
func (ListBuiltInOperationOptions) ToHeaders ¶
func (o ListBuiltInOperationOptions) ToHeaders() *client.Headers
func (ListBuiltInOperationOptions) ToOData ¶
func (o ListBuiltInOperationOptions) ToOData() *odata.Query
func (ListBuiltInOperationOptions) ToQuery ¶
func (o ListBuiltInOperationOptions) ToQuery() *client.QueryParams
type ListBuiltInOperationResponse ¶
type ListBuiltInOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicySetDefinition }
type ListByManagementGroupCompleteResult ¶
type ListByManagementGroupCompleteResult struct { LatestHttpResponse *http.Response Items []PolicySetDefinition }
type ListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions ¶
func DefaultListByManagementGroupOperationOptions() ListByManagementGroupOperationOptions
func (ListByManagementGroupOperationOptions) ToHeaders ¶
func (o ListByManagementGroupOperationOptions) ToHeaders() *client.Headers
func (ListByManagementGroupOperationOptions) ToOData ¶
func (o ListByManagementGroupOperationOptions) ToOData() *odata.Query
func (ListByManagementGroupOperationOptions) ToQuery ¶
func (o ListByManagementGroupOperationOptions) ToQuery() *client.QueryParams
type ListByManagementGroupOperationResponse ¶
type ListByManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicySetDefinition }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PolicySetDefinition }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicySetDefinition }
type ParameterDefinitionsValue ¶
type ParameterDefinitionsValue struct { AllowedValues *[]interface{} `json:"allowedValues,omitempty"` DefaultValue *interface{} `json:"defaultValue,omitempty"` Metadata *ParameterDefinitionsValueMetadata `json:"metadata,omitempty"` Schema *interface{} `json:"schema,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" )
func (*ParameterType) UnmarshalJSON ¶
func (s *ParameterType) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *PolicySetDefinitionId) FromParseResult(input resourceids.ParseResult) error
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"` Version *string `json:"version,omitempty"` Versions *[]string `json:"versions,omitempty"` }
type PolicySetDefinitionsClient ¶
type PolicySetDefinitionsClient struct {
Client *resourcemanager.Client
}
func NewPolicySetDefinitionsClientWithBaseURI ¶
func NewPolicySetDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicySetDefinitionsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (PolicySetDefinitionsClient) ListBuiltIn ¶
func (c PolicySetDefinitionsClient) ListBuiltIn(ctx context.Context, options ListBuiltInOperationOptions) (result ListBuiltInOperationResponse, err error)
ListBuiltIn ...
func (PolicySetDefinitionsClient) ListBuiltInComplete ¶
func (c PolicySetDefinitionsClient) ListBuiltInComplete(ctx context.Context, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
ListBuiltInComplete retrieves all the results into a single object
func (PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, options ListBuiltInOperationOptions, predicate PolicySetDefinitionOperationPredicate) (result ListBuiltInCompleteResult, err error)
ListBuiltInCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicySetDefinitionsClient) ListByManagementGroup ¶
func (c PolicySetDefinitionsClient) ListByManagementGroup(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (result ListByManagementGroupOperationResponse, err error)
ListByManagementGroup ...
func (PolicySetDefinitionsClient) ListByManagementGroupComplete ¶
func (c PolicySetDefinitionsClient) ListByManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions) (ListByManagementGroupCompleteResult, error)
ListByManagementGroupComplete retrieves all the results into a single object
func (PolicySetDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, options ListByManagementGroupOperationOptions, predicate PolicySetDefinitionOperationPredicate) (result ListByManagementGroupCompleteResult, err error)
ListByManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicySetDefinitionsClient) ListComplete ¶
func (c PolicySetDefinitionsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PolicySetDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c PolicySetDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate PolicySetDefinitionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PolicyType ¶
type PolicyType string
const ( PolicyTypeBuiltIn PolicyType = "BuiltIn" PolicyTypeCustom PolicyType = "Custom" PolicyTypeNotSpecified PolicyType = "NotSpecified" PolicyTypeStatic PolicyType = "Static" )
func (*PolicyType) UnmarshalJSON ¶
func (s *PolicyType) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProviderPolicySetDefinitionId) FromParseResult(input resourceids.ParseResult) error
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 { ManagementGroupName string PolicySetDefinitionName string }
Providers2PolicySetDefinitionId is a struct representing the Resource ID for a Providers 2 Policy Set Definition
func NewProviders2PolicySetDefinitionID ¶
func NewProviders2PolicySetDefinitionID(managementGroupName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *Providers2PolicySetDefinitionId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_createorupdateatmanagementgroup.go
- method_delete.go
- method_deleteatmanagementgroup.go
- method_get.go
- method_getatmanagementgroup.go
- method_getbuiltin.go
- method_list.go
- method_listbuiltin.go
- method_listbymanagementgroup.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