Documentation ¶
Index ¶
- func PossibleValuesForParameterType() []string
- func PossibleValuesForPolicyType() []string
- func ValidatePolicyDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePolicyDefinitionVersionID(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)
- func ValidateProviders2PolicyDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVersionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateAtManagementGroupOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteAtManagementGroupOperationResponse
- type DeleteOperationResponse
- type GetAtManagementGroupOperationResponse
- type GetBuiltInOperationResponse
- type GetOperationResponse
- type ListAllAtManagementGroupOperationResponse
- type ListAllBuiltinsOperationResponse
- type ListAllOperationResponse
- 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 PolicyDefinitionId
- type PolicyDefinitionVersion
- type PolicyDefinitionVersionId
- func NewPolicyDefinitionVersionID(subscriptionId string, policyDefinitionName string, versionName string) PolicyDefinitionVersionId
- func ParsePolicyDefinitionVersionID(input string) (*PolicyDefinitionVersionId, error)
- func ParsePolicyDefinitionVersionIDInsensitively(input string) (*PolicyDefinitionVersionId, error)
- type PolicyDefinitionVersionListResult
- type PolicyDefinitionVersionOperationPredicate
- type PolicyDefinitionVersionProperties
- type PolicyDefinitionVersionsClient
- func (c PolicyDefinitionVersionsClient) CreateOrUpdate(ctx context.Context, id PolicyDefinitionVersionId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId, ...) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) Delete(ctx context.Context, id PolicyDefinitionVersionId) (result DeleteOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId) (result DeleteAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) Get(ctx context.Context, id PolicyDefinitionVersionId) (result GetOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId) (result GetAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) GetBuiltIn(ctx context.Context, id VersionId) (result GetBuiltInOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) List(ctx context.Context, id ProviderPolicyDefinitionId, ...) (result ListOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListAllAtManagementGroup(ctx context.Context, id commonids.ManagementGroupId) (result ListAllAtManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListAllBuiltins(ctx context.Context) (result ListAllBuiltinsOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListBuiltIn(ctx context.Context, id PolicyDefinitionId, ...) (result ListBuiltInOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListBuiltInComplete(ctx context.Context, id PolicyDefinitionId, ...) (ListBuiltInCompleteResult, error)
- func (c PolicyDefinitionVersionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, id PolicyDefinitionId, ...) (result ListBuiltInCompleteResult, err error)
- func (c PolicyDefinitionVersionsClient) ListByManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId, ...) (result ListByManagementGroupOperationResponse, err error)
- func (c PolicyDefinitionVersionsClient) ListByManagementGroupComplete(ctx context.Context, id Providers2PolicyDefinitionId, ...) (ListByManagementGroupCompleteResult, error)
- func (c PolicyDefinitionVersionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id Providers2PolicyDefinitionId, ...) (result ListByManagementGroupCompleteResult, err error)
- func (c PolicyDefinitionVersionsClient) ListComplete(ctx context.Context, id ProviderPolicyDefinitionId, ...) (ListCompleteResult, error)
- func (c PolicyDefinitionVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderPolicyDefinitionId, ...) (result 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(managementGroupName string, policyDefinitionName string) Providers2PolicyDefinitionId
- func ParseProviders2PolicyDefinitionID(input string) (*Providers2PolicyDefinitionId, error)
- func ParseProviders2PolicyDefinitionIDInsensitively(input string) (*Providers2PolicyDefinitionId, error)
- type Providers2PolicyDefinitionVersionId
- func NewProviders2PolicyDefinitionVersionID(managementGroupName string, policyDefinitionName string, versionName string) Providers2PolicyDefinitionVersionId
- func ParseProviders2PolicyDefinitionVersionID(input string) (*Providers2PolicyDefinitionVersionId, error)
- func ParseProviders2PolicyDefinitionVersionIDInsensitively(input string) (*Providers2PolicyDefinitionVersionId, error)
- type VersionId
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 ValidatePolicyDefinitionVersionID ¶
func ValidatePolicyDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidatePolicyDefinitionVersionID checks that 'input' can be parsed as a Policy Definition Version 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
func ValidateProviders2PolicyDefinitionVersionID ¶
func ValidateProviders2PolicyDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviders2PolicyDefinitionVersionID checks that 'input' can be parsed as a Providers 2 Policy Definition Version ID
func ValidateVersionID ¶
ValidateVersionID checks that 'input' can be parsed as a Version ID
Types ¶
type CreateOrUpdateAtManagementGroupOperationResponse ¶
type CreateOrUpdateAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersion }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersion }
type DeleteOperationResponse ¶
type GetAtManagementGroupOperationResponse ¶
type GetAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersion }
type GetBuiltInOperationResponse ¶
type GetBuiltInOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersion }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersion }
type ListAllAtManagementGroupOperationResponse ¶
type ListAllAtManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersionListResult }
type ListAllBuiltinsOperationResponse ¶
type ListAllBuiltinsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersionListResult }
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinitionVersionListResult }
type ListBuiltInCompleteResult ¶
type ListBuiltInCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyDefinitionVersion }
type ListBuiltInOperationOptions ¶
type ListBuiltInOperationOptions struct {
Top *int64
}
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 *[]PolicyDefinitionVersion }
type ListByManagementGroupCompleteResult ¶
type ListByManagementGroupCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyDefinitionVersion }
type ListByManagementGroupOperationOptions ¶
type ListByManagementGroupOperationOptions struct {
Top *int64
}
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 *[]PolicyDefinitionVersion }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyDefinitionVersion }
type ListOperationOptions ¶
type ListOperationOptions struct {
Top *int64
}
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 *[]PolicyDefinitionVersion }
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 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *PolicyDefinitionId) FromParseResult(input resourceids.ParseResult) error
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 PolicyDefinitionVersion ¶
type PolicyDefinitionVersion struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyDefinitionVersionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyDefinitionVersionId ¶
type PolicyDefinitionVersionId struct { SubscriptionId string PolicyDefinitionName string VersionName string }
PolicyDefinitionVersionId is a struct representing the Resource ID for a Policy Definition Version
func NewPolicyDefinitionVersionID ¶
func NewPolicyDefinitionVersionID(subscriptionId string, policyDefinitionName string, versionName string) PolicyDefinitionVersionId
NewPolicyDefinitionVersionID returns a new PolicyDefinitionVersionId struct
func ParsePolicyDefinitionVersionID ¶
func ParsePolicyDefinitionVersionID(input string) (*PolicyDefinitionVersionId, error)
ParsePolicyDefinitionVersionID parses 'input' into a PolicyDefinitionVersionId
func ParsePolicyDefinitionVersionIDInsensitively ¶
func ParsePolicyDefinitionVersionIDInsensitively(input string) (*PolicyDefinitionVersionId, error)
ParsePolicyDefinitionVersionIDInsensitively parses 'input' case-insensitively into a PolicyDefinitionVersionId note: this method should only be used for API response data and not user input
func (*PolicyDefinitionVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PolicyDefinitionVersionId) FromParseResult(input resourceids.ParseResult) error
func (PolicyDefinitionVersionId) ID ¶
func (id PolicyDefinitionVersionId) ID() string
ID returns the formatted Policy Definition Version ID
func (PolicyDefinitionVersionId) Segments ¶
func (id PolicyDefinitionVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Definition Version ID
func (PolicyDefinitionVersionId) String ¶
func (id PolicyDefinitionVersionId) String() string
String returns a human-readable description of this Policy Definition Version ID
type PolicyDefinitionVersionListResult ¶
type PolicyDefinitionVersionListResult struct { NextLink *string `json:"nextLink,omitempty"` Value *[]PolicyDefinitionVersion `json:"value,omitempty"` }
type PolicyDefinitionVersionOperationPredicate ¶
func (PolicyDefinitionVersionOperationPredicate) Matches ¶
func (p PolicyDefinitionVersionOperationPredicate) Matches(input PolicyDefinitionVersion) bool
type PolicyDefinitionVersionProperties ¶
type PolicyDefinitionVersionProperties 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"` Version *string `json:"version,omitempty"` }
type PolicyDefinitionVersionsClient ¶
type PolicyDefinitionVersionsClient struct {
Client *resourcemanager.Client
}
func NewPolicyDefinitionVersionsClientWithBaseURI ¶
func NewPolicyDefinitionVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyDefinitionVersionsClient, error)
func (PolicyDefinitionVersionsClient) CreateOrUpdate ¶
func (c PolicyDefinitionVersionsClient) CreateOrUpdate(ctx context.Context, id PolicyDefinitionVersionId, input PolicyDefinitionVersion) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PolicyDefinitionVersionsClient) CreateOrUpdateAtManagementGroup ¶
func (c PolicyDefinitionVersionsClient) CreateOrUpdateAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId, input PolicyDefinitionVersion) (result CreateOrUpdateAtManagementGroupOperationResponse, err error)
CreateOrUpdateAtManagementGroup ...
func (PolicyDefinitionVersionsClient) Delete ¶
func (c PolicyDefinitionVersionsClient) Delete(ctx context.Context, id PolicyDefinitionVersionId) (result DeleteOperationResponse, err error)
Delete ...
func (PolicyDefinitionVersionsClient) DeleteAtManagementGroup ¶
func (c PolicyDefinitionVersionsClient) DeleteAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId) (result DeleteAtManagementGroupOperationResponse, err error)
DeleteAtManagementGroup ...
func (PolicyDefinitionVersionsClient) Get ¶
func (c PolicyDefinitionVersionsClient) Get(ctx context.Context, id PolicyDefinitionVersionId) (result GetOperationResponse, err error)
Get ...
func (PolicyDefinitionVersionsClient) GetAtManagementGroup ¶
func (c PolicyDefinitionVersionsClient) GetAtManagementGroup(ctx context.Context, id Providers2PolicyDefinitionVersionId) (result GetAtManagementGroupOperationResponse, err error)
GetAtManagementGroup ...
func (PolicyDefinitionVersionsClient) GetBuiltIn ¶
func (c PolicyDefinitionVersionsClient) GetBuiltIn(ctx context.Context, id VersionId) (result GetBuiltInOperationResponse, err error)
GetBuiltIn ...
func (PolicyDefinitionVersionsClient) List ¶
func (c PolicyDefinitionVersionsClient) List(ctx context.Context, id ProviderPolicyDefinitionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (PolicyDefinitionVersionsClient) ListAll ¶
func (c PolicyDefinitionVersionsClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (PolicyDefinitionVersionsClient) ListAllAtManagementGroup ¶
func (c PolicyDefinitionVersionsClient) ListAllAtManagementGroup(ctx context.Context, id commonids.ManagementGroupId) (result ListAllAtManagementGroupOperationResponse, err error)
ListAllAtManagementGroup ...
func (PolicyDefinitionVersionsClient) ListAllBuiltins ¶
func (c PolicyDefinitionVersionsClient) ListAllBuiltins(ctx context.Context) (result ListAllBuiltinsOperationResponse, err error)
ListAllBuiltins ...
func (PolicyDefinitionVersionsClient) ListBuiltIn ¶
func (c PolicyDefinitionVersionsClient) ListBuiltIn(ctx context.Context, id PolicyDefinitionId, options ListBuiltInOperationOptions) (result ListBuiltInOperationResponse, err error)
ListBuiltIn ...
func (PolicyDefinitionVersionsClient) ListBuiltInComplete ¶
func (c PolicyDefinitionVersionsClient) ListBuiltInComplete(ctx context.Context, id PolicyDefinitionId, options ListBuiltInOperationOptions) (ListBuiltInCompleteResult, error)
ListBuiltInComplete retrieves all the results into a single object
func (PolicyDefinitionVersionsClient) ListBuiltInCompleteMatchingPredicate ¶
func (c PolicyDefinitionVersionsClient) ListBuiltInCompleteMatchingPredicate(ctx context.Context, id PolicyDefinitionId, options ListBuiltInOperationOptions, predicate PolicyDefinitionVersionOperationPredicate) (result ListBuiltInCompleteResult, err error)
ListBuiltInCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyDefinitionVersionsClient) ListByManagementGroup ¶
func (c PolicyDefinitionVersionsClient) ListByManagementGroup(ctx context.Context, id Providers2PolicyDefinitionId, options ListByManagementGroupOperationOptions) (result ListByManagementGroupOperationResponse, err error)
ListByManagementGroup ...
func (PolicyDefinitionVersionsClient) ListByManagementGroupComplete ¶
func (c PolicyDefinitionVersionsClient) ListByManagementGroupComplete(ctx context.Context, id Providers2PolicyDefinitionId, options ListByManagementGroupOperationOptions) (ListByManagementGroupCompleteResult, error)
ListByManagementGroupComplete retrieves all the results into a single object
func (PolicyDefinitionVersionsClient) ListByManagementGroupCompleteMatchingPredicate ¶
func (c PolicyDefinitionVersionsClient) ListByManagementGroupCompleteMatchingPredicate(ctx context.Context, id Providers2PolicyDefinitionId, options ListByManagementGroupOperationOptions, predicate PolicyDefinitionVersionOperationPredicate) (result ListByManagementGroupCompleteResult, err error)
ListByManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PolicyDefinitionVersionsClient) ListComplete ¶
func (c PolicyDefinitionVersionsClient) ListComplete(ctx context.Context, id ProviderPolicyDefinitionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PolicyDefinitionVersionsClient) ListCompleteMatchingPredicate ¶
func (c PolicyDefinitionVersionsClient) ListCompleteMatchingPredicate(ctx context.Context, id ProviderPolicyDefinitionId, options ListOperationOptions, predicate PolicyDefinitionVersionOperationPredicate) (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 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ProviderPolicyDefinitionId) FromParseResult(input resourceids.ParseResult) error
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(managementGroupName 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *Providers2PolicyDefinitionId) FromParseResult(input resourceids.ParseResult) error
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
type Providers2PolicyDefinitionVersionId ¶
type Providers2PolicyDefinitionVersionId struct { ManagementGroupName string PolicyDefinitionName string VersionName string }
Providers2PolicyDefinitionVersionId is a struct representing the Resource ID for a Providers 2 Policy Definition Version
func NewProviders2PolicyDefinitionVersionID ¶
func NewProviders2PolicyDefinitionVersionID(managementGroupName string, policyDefinitionName string, versionName string) Providers2PolicyDefinitionVersionId
NewProviders2PolicyDefinitionVersionID returns a new Providers2PolicyDefinitionVersionId struct
func ParseProviders2PolicyDefinitionVersionID ¶
func ParseProviders2PolicyDefinitionVersionID(input string) (*Providers2PolicyDefinitionVersionId, error)
ParseProviders2PolicyDefinitionVersionID parses 'input' into a Providers2PolicyDefinitionVersionId
func ParseProviders2PolicyDefinitionVersionIDInsensitively ¶
func ParseProviders2PolicyDefinitionVersionIDInsensitively(input string) (*Providers2PolicyDefinitionVersionId, error)
ParseProviders2PolicyDefinitionVersionIDInsensitively parses 'input' case-insensitively into a Providers2PolicyDefinitionVersionId note: this method should only be used for API response data and not user input
func (*Providers2PolicyDefinitionVersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *Providers2PolicyDefinitionVersionId) FromParseResult(input resourceids.ParseResult) error
func (Providers2PolicyDefinitionVersionId) ID ¶
func (id Providers2PolicyDefinitionVersionId) ID() string
ID returns the formatted Providers 2 Policy Definition Version ID
func (Providers2PolicyDefinitionVersionId) Segments ¶
func (id Providers2PolicyDefinitionVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Providers 2 Policy Definition Version ID
func (Providers2PolicyDefinitionVersionId) String ¶
func (id Providers2PolicyDefinitionVersionId) String() string
String returns a human-readable description of this Providers 2 Policy Definition Version ID
type VersionId ¶
VersionId is a struct representing the Resource ID for a Version
func NewVersionID ¶
NewVersionID returns a new VersionId struct
func ParseVersionID ¶
ParseVersionID parses 'input' into a VersionId
func ParseVersionIDInsensitively ¶
ParseVersionIDInsensitively parses 'input' case-insensitively into a VersionId note: this method should only be used for API response data and not user input
func (*VersionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VersionId) FromParseResult(input resourceids.ParseResult) error
func (VersionId) Segments ¶
func (id VersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Version ID
Source Files ¶
- client.go
- constants.go
- id_policydefinition.go
- id_policydefinitionversion.go
- id_providerpolicydefinition.go
- id_providers2policydefinition.go
- id_providers2policydefinitionversion.go
- id_version.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_listall.go
- method_listallatmanagementgroup.go
- method_listallbuiltins.go
- method_listbuiltin.go
- method_listbymanagementgroup.go
- model_parameterdefinitionsvalue.go
- model_parameterdefinitionsvaluemetadata.go
- model_policydefinitionversion.go
- model_policydefinitionversionlistresult.go
- model_policydefinitionversionproperties.go
- predicates.go
- version.go