policysetdefinitionversions

package
v0.20231109.1085442 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/resources/2023-04-01/policysetdefinitionversions Documentation

The policysetdefinitionversions SDK allows for interaction with the Azure Resource Manager Service resources (API Version 2023-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/resources/2023-04-01/policysetdefinitionversions"

Client Initialization

client := policysetdefinitionversions.NewPolicySetDefinitionVersionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: PolicySetDefinitionVersionsClient.CreateOrUpdate

ctx := context.TODO()
id := policysetdefinitionversions.NewProviderPolicySetDefinitionVersionID("12345678-1234-9876-4563-123456789012", "policySetDefinitionValue", "versionValue")

payload := policysetdefinitionversions.PolicySetDefinitionVersion{
	// ...
}


read, err := client.CreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.CreateOrUpdateAtManagementGroup

ctx := context.TODO()
id := policysetdefinitionversions.NewProviders2PolicySetDefinitionVersionID("managementGroupValue", "policySetDefinitionValue", "versionValue")

payload := policysetdefinitionversions.PolicySetDefinitionVersion{
	// ...
}


read, err := client.CreateOrUpdateAtManagementGroup(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.Delete

ctx := context.TODO()
id := policysetdefinitionversions.NewProviderPolicySetDefinitionVersionID("12345678-1234-9876-4563-123456789012", "policySetDefinitionValue", "versionValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.DeleteAtManagementGroup

ctx := context.TODO()
id := policysetdefinitionversions.NewProviders2PolicySetDefinitionVersionID("managementGroupValue", "policySetDefinitionValue", "versionValue")

read, err := client.DeleteAtManagementGroup(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.Get

ctx := context.TODO()
id := policysetdefinitionversions.NewProviderPolicySetDefinitionVersionID("12345678-1234-9876-4563-123456789012", "policySetDefinitionValue", "versionValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.GetAtManagementGroup

ctx := context.TODO()
id := policysetdefinitionversions.NewProviders2PolicySetDefinitionVersionID("managementGroupValue", "policySetDefinitionValue", "versionValue")

read, err := client.GetAtManagementGroup(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.GetBuiltIn

ctx := context.TODO()
id := policysetdefinitionversions.NewPolicySetDefinitionVersionID("policySetDefinitionValue", "versionValue")

read, err := client.GetBuiltIn(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.List

ctx := context.TODO()
id := policysetdefinitionversions.NewProviderPolicySetDefinitionID("12345678-1234-9876-4563-123456789012", "policySetDefinitionValue")

// alternatively `client.List(ctx, id, policysetdefinitionversions.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, policysetdefinitionversions.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: PolicySetDefinitionVersionsClient.ListAll

ctx := context.TODO()
id := policysetdefinitionversions.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

read, err := client.ListAll(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.ListAllAtManagementGroup

ctx := context.TODO()
id := policysetdefinitionversions.NewManagementGroupID("groupIdValue")

read, err := client.ListAllAtManagementGroup(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.ListAllBuiltins

ctx := context.TODO()


read, err := client.ListAllBuiltins(ctx)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: PolicySetDefinitionVersionsClient.ListBuiltIn

ctx := context.TODO()
id := policysetdefinitionversions.NewPolicySetDefinitionID("policySetDefinitionValue")

// alternatively `client.ListBuiltIn(ctx, id, policysetdefinitionversions.DefaultListBuiltInOperationOptions())` can be used to do batched pagination
items, err := client.ListBuiltInComplete(ctx, id, policysetdefinitionversions.DefaultListBuiltInOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: PolicySetDefinitionVersionsClient.ListByManagementGroup

ctx := context.TODO()
id := policysetdefinitionversions.NewProviders2PolicySetDefinitionID("managementGroupValue", "policySetDefinitionValue")

// alternatively `client.ListByManagementGroup(ctx, id, policysetdefinitionversions.DefaultListByManagementGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByManagementGroupComplete(ctx, id, policysetdefinitionversions.DefaultListByManagementGroupOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

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 ValidatePolicySetDefinitionVersionID

func ValidatePolicySetDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidatePolicySetDefinitionVersionID checks that 'input' can be parsed as a Policy Set Definition Version 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 ValidateProviderPolicySetDefinitionVersionID

func ValidateProviderPolicySetDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviderPolicySetDefinitionVersionID checks that 'input' can be parsed as a Provider Policy Set Definition Version 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

func ValidateProviders2PolicySetDefinitionVersionID

func ValidateProviders2PolicySetDefinitionVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviders2PolicySetDefinitionVersionID checks that 'input' can be parsed as a Providers 2 Policy Set Definition Version ID

Types

type CreateOrUpdateAtManagementGroupOperationResponse

type CreateOrUpdateAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersion
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersion
}

type DeleteAtManagementGroupOperationResponse

type DeleteAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetAtManagementGroupOperationResponse

type GetAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersion
}

type GetBuiltInOperationResponse

type GetBuiltInOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersion
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersion
}

type ListAllAtManagementGroupOperationResponse

type ListAllAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersionListResult
}

type ListAllBuiltinsOperationResponse

type ListAllBuiltinsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersionListResult
}

type ListAllOperationResponse

type ListAllOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *PolicySetDefinitionVersionListResult
}

type ListBuiltInCompleteResult

type ListBuiltInCompleteResult struct {
	Items []PolicySetDefinitionVersion
}

type ListBuiltInOperationOptions

type ListBuiltInOperationOptions struct {
	Top *int64
}

func DefaultListBuiltInOperationOptions

func DefaultListBuiltInOperationOptions() ListBuiltInOperationOptions

func (ListBuiltInOperationOptions) ToHeaders

func (ListBuiltInOperationOptions) ToOData

func (ListBuiltInOperationOptions) ToQuery

type ListBuiltInOperationResponse

type ListBuiltInOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PolicySetDefinitionVersion
}

type ListByManagementGroupCompleteResult

type ListByManagementGroupCompleteResult struct {
	Items []PolicySetDefinitionVersion
}

type ListByManagementGroupOperationOptions

type ListByManagementGroupOperationOptions struct {
	Top *int64
}

func DefaultListByManagementGroupOperationOptions

func DefaultListByManagementGroupOperationOptions() ListByManagementGroupOperationOptions

func (ListByManagementGroupOperationOptions) ToHeaders

func (ListByManagementGroupOperationOptions) ToOData

func (ListByManagementGroupOperationOptions) ToQuery

type ListByManagementGroupOperationResponse

type ListByManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PolicySetDefinitionVersion
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []PolicySetDefinitionVersion
}

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

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]PolicySetDefinitionVersion
}

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 ParameterDefinitionsValueMetadata

type ParameterDefinitionsValueMetadata struct {
	AssignPermissions *bool   `json:"assignPermissions,omitempty"`
	Description       *string `json:"description,omitempty"`
	DisplayName       *string `json:"displayName,omitempty"`
	StrongType        *string `json:"strongType,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 PolicyDefinitionGroup struct {
	AdditionalMetadataId *string `json:"additionalMetadataId,omitempty"`
	Category             *string `json:"category,omitempty"`
	Description          *string `json:"description,omitempty"`
	DisplayName          *string `json:"displayName,omitempty"`
	Name                 string  `json:"name"`
}

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 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 PolicySetDefinitionVersion

type PolicySetDefinitionVersion struct {
	Id         *string                               `json:"id,omitempty"`
	Name       *string                               `json:"name,omitempty"`
	Properties *PolicySetDefinitionVersionProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData                `json:"systemData,omitempty"`
	Type       *string                               `json:"type,omitempty"`
}

type PolicySetDefinitionVersionId

type PolicySetDefinitionVersionId struct {
	PolicySetDefinitionName string
	VersionName             string
}

PolicySetDefinitionVersionId is a struct representing the Resource ID for a Policy Set Definition Version

func NewPolicySetDefinitionVersionID

func NewPolicySetDefinitionVersionID(policySetDefinitionName string, versionName string) PolicySetDefinitionVersionId

NewPolicySetDefinitionVersionID returns a new PolicySetDefinitionVersionId struct

func ParsePolicySetDefinitionVersionID

func ParsePolicySetDefinitionVersionID(input string) (*PolicySetDefinitionVersionId, error)

ParsePolicySetDefinitionVersionID parses 'input' into a PolicySetDefinitionVersionId

func ParsePolicySetDefinitionVersionIDInsensitively

func ParsePolicySetDefinitionVersionIDInsensitively(input string) (*PolicySetDefinitionVersionId, error)

ParsePolicySetDefinitionVersionIDInsensitively parses 'input' case-insensitively into a PolicySetDefinitionVersionId note: this method should only be used for API response data and not user input

func (PolicySetDefinitionVersionId) ID

ID returns the formatted Policy Set Definition Version ID

func (PolicySetDefinitionVersionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Policy Set Definition Version ID

func (PolicySetDefinitionVersionId) String

String returns a human-readable description of this Policy Set Definition Version ID

type PolicySetDefinitionVersionListResult

type PolicySetDefinitionVersionListResult struct {
	NextLink *string                       `json:"nextLink,omitempty"`
	Value    *[]PolicySetDefinitionVersion `json:"value,omitempty"`
}

type PolicySetDefinitionVersionOperationPredicate

type PolicySetDefinitionVersionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (PolicySetDefinitionVersionOperationPredicate) Matches

type PolicySetDefinitionVersionProperties

type PolicySetDefinitionVersionProperties 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"`
}

type PolicySetDefinitionVersionsClient

type PolicySetDefinitionVersionsClient struct {
	Client *resourcemanager.Client
}

func NewPolicySetDefinitionVersionsClientWithBaseURI

func NewPolicySetDefinitionVersionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicySetDefinitionVersionsClient, error)

func (PolicySetDefinitionVersionsClient) CreateOrUpdate

CreateOrUpdate ...

func (PolicySetDefinitionVersionsClient) CreateOrUpdateAtManagementGroup

CreateOrUpdateAtManagementGroup ...

func (PolicySetDefinitionVersionsClient) Delete

Delete ...

func (PolicySetDefinitionVersionsClient) DeleteAtManagementGroup

DeleteAtManagementGroup ...

func (PolicySetDefinitionVersionsClient) Get

Get ...

func (PolicySetDefinitionVersionsClient) GetAtManagementGroup

GetAtManagementGroup ...

func (PolicySetDefinitionVersionsClient) GetBuiltIn

GetBuiltIn ...

func (PolicySetDefinitionVersionsClient) List

List ...

func (PolicySetDefinitionVersionsClient) ListAll

ListAll ...

func (PolicySetDefinitionVersionsClient) ListAllAtManagementGroup

ListAllAtManagementGroup ...

func (PolicySetDefinitionVersionsClient) ListAllBuiltins

ListAllBuiltins ...

func (PolicySetDefinitionVersionsClient) ListBuiltIn

ListBuiltIn ...

func (PolicySetDefinitionVersionsClient) ListBuiltInComplete

ListBuiltInComplete retrieves all the results into a single object

func (PolicySetDefinitionVersionsClient) ListBuiltInCompleteMatchingPredicate

ListBuiltInCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (PolicySetDefinitionVersionsClient) ListByManagementGroup

ListByManagementGroup ...

func (PolicySetDefinitionVersionsClient) ListByManagementGroupComplete

ListByManagementGroupComplete retrieves all the results into a single object

func (PolicySetDefinitionVersionsClient) ListByManagementGroupCompleteMatchingPredicate

ListByManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (PolicySetDefinitionVersionsClient) ListComplete

ListComplete retrieves all the results into a single object

func (PolicySetDefinitionVersionsClient) ListCompleteMatchingPredicate

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

type ProviderPolicySetDefinitionId struct {
	SubscriptionId          string
	PolicySetDefinitionName string
}

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

ID returns the formatted Provider Policy Set Definition ID

func (ProviderPolicySetDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Provider Policy Set Definition ID

func (ProviderPolicySetDefinitionId) String

String returns a human-readable description of this Provider Policy Set Definition ID

type ProviderPolicySetDefinitionVersionId

type ProviderPolicySetDefinitionVersionId struct {
	SubscriptionId          string
	PolicySetDefinitionName string
	VersionName             string
}

ProviderPolicySetDefinitionVersionId is a struct representing the Resource ID for a Provider Policy Set Definition Version

func NewProviderPolicySetDefinitionVersionID

func NewProviderPolicySetDefinitionVersionID(subscriptionId string, policySetDefinitionName string, versionName string) ProviderPolicySetDefinitionVersionId

NewProviderPolicySetDefinitionVersionID returns a new ProviderPolicySetDefinitionVersionId struct

func ParseProviderPolicySetDefinitionVersionID

func ParseProviderPolicySetDefinitionVersionID(input string) (*ProviderPolicySetDefinitionVersionId, error)

ParseProviderPolicySetDefinitionVersionID parses 'input' into a ProviderPolicySetDefinitionVersionId

func ParseProviderPolicySetDefinitionVersionIDInsensitively

func ParseProviderPolicySetDefinitionVersionIDInsensitively(input string) (*ProviderPolicySetDefinitionVersionId, error)

ParseProviderPolicySetDefinitionVersionIDInsensitively parses 'input' case-insensitively into a ProviderPolicySetDefinitionVersionId note: this method should only be used for API response data and not user input

func (ProviderPolicySetDefinitionVersionId) ID

ID returns the formatted Provider Policy Set Definition Version ID

func (ProviderPolicySetDefinitionVersionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Provider Policy Set Definition Version ID

func (ProviderPolicySetDefinitionVersionId) String

String returns a human-readable description of this Provider Policy Set Definition Version 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) ID

ID returns the formatted Providers 2 Policy Set Definition ID

func (Providers2PolicySetDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Providers 2 Policy Set Definition ID

func (Providers2PolicySetDefinitionId) String

String returns a human-readable description of this Providers 2 Policy Set Definition ID

type Providers2PolicySetDefinitionVersionId

type Providers2PolicySetDefinitionVersionId struct {
	ManagementGroupName     string
	PolicySetDefinitionName string
	VersionName             string
}

Providers2PolicySetDefinitionVersionId is a struct representing the Resource ID for a Providers 2 Policy Set Definition Version

func NewProviders2PolicySetDefinitionVersionID

func NewProviders2PolicySetDefinitionVersionID(managementGroupName string, policySetDefinitionName string, versionName string) Providers2PolicySetDefinitionVersionId

NewProviders2PolicySetDefinitionVersionID returns a new Providers2PolicySetDefinitionVersionId struct

func ParseProviders2PolicySetDefinitionVersionID

func ParseProviders2PolicySetDefinitionVersionID(input string) (*Providers2PolicySetDefinitionVersionId, error)

ParseProviders2PolicySetDefinitionVersionID parses 'input' into a Providers2PolicySetDefinitionVersionId

func ParseProviders2PolicySetDefinitionVersionIDInsensitively

func ParseProviders2PolicySetDefinitionVersionIDInsensitively(input string) (*Providers2PolicySetDefinitionVersionId, error)

ParseProviders2PolicySetDefinitionVersionIDInsensitively parses 'input' case-insensitively into a Providers2PolicySetDefinitionVersionId note: this method should only be used for API response data and not user input

func (Providers2PolicySetDefinitionVersionId) ID

ID returns the formatted Providers 2 Policy Set Definition Version ID

func (Providers2PolicySetDefinitionVersionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Providers 2 Policy Set Definition Version ID

func (Providers2PolicySetDefinitionVersionId) String

String returns a human-readable description of this Providers 2 Policy Set Definition Version ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL