Documentation ¶
Index ¶
- func ValidatePolicydefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type PolicyDefinition
- type PolicyDefinitionProperties
- type PolicyDefinitionsClient
- func (c PolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, id PolicydefinitionId, input PolicyDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c PolicyDefinitionsClient) Delete(ctx context.Context, id PolicydefinitionId) (result DeleteOperationResponse, err error)
- func (c PolicyDefinitionsClient) Get(ctx context.Context, id PolicydefinitionId) (result GetOperationResponse, err error)
- type PolicydefinitionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicydefinitionID ¶
ValidatePolicydefinitionID checks that 'input' can be parsed as a Policydefinition ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinition }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDefinition }
type PolicyDefinition ¶
type PolicyDefinition struct { Name *string `json:"name,omitempty"` Properties *PolicyDefinitionProperties `json:"properties,omitempty"` }
type PolicyDefinitionsClient ¶
type PolicyDefinitionsClient struct {
Client *resourcemanager.Client
}
func NewPolicyDefinitionsClientWithBaseURI ¶
func NewPolicyDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyDefinitionsClient, error)
func (PolicyDefinitionsClient) CreateOrUpdate ¶
func (c PolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, id PolicydefinitionId, input PolicyDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PolicyDefinitionsClient) Delete ¶
func (c PolicyDefinitionsClient) Delete(ctx context.Context, id PolicydefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (PolicyDefinitionsClient) Get ¶
func (c PolicyDefinitionsClient) Get(ctx context.Context, id PolicydefinitionId) (result GetOperationResponse, err error)
Get ...
type PolicydefinitionId ¶
PolicydefinitionId is a struct representing the Resource ID for a Policydefinition
func NewPolicydefinitionID ¶
func NewPolicydefinitionID(subscriptionId string, 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 ¶
func (id *PolicydefinitionId) FromParseResult(input resourceids.ParseResult) error
func (PolicydefinitionId) ID ¶
func (id PolicydefinitionId) ID() string
ID returns the formatted Policydefinition ID
func (PolicydefinitionId) Segments ¶
func (id PolicydefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policydefinition ID
func (PolicydefinitionId) String ¶
func (id PolicydefinitionId) String() string
String returns a human-readable description of this Policydefinition ID