Documentation ¶
Index ¶
- func ValidatePolicySetID(input interface{}, key string) (warnings []string, errors []error)
- type EvaluatePoliciesOperationResponse
- type EvaluatePoliciesProperties
- type EvaluatePoliciesRequest
- type EvaluatePoliciesResponse
- type PolicySetId
- type PolicySetResult
- type PolicySetsClient
- type PolicyViolation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicySetID ¶
ValidatePolicySetID checks that 'input' can be parsed as a Policy Set ID
Types ¶
type EvaluatePoliciesOperationResponse ¶
type EvaluatePoliciesOperationResponse struct { HttpResponse *http.Response Model *EvaluatePoliciesResponse }
type EvaluatePoliciesRequest ¶
type EvaluatePoliciesRequest struct {
Policies *[]EvaluatePoliciesProperties `json:"policies,omitempty"`
}
type EvaluatePoliciesResponse ¶
type EvaluatePoliciesResponse struct {
Results *[]PolicySetResult `json:"results,omitempty"`
}
type PolicySetId ¶
type PolicySetId struct { SubscriptionId string ResourceGroupName string LabName string PolicySetName string }
PolicySetId is a struct representing the Resource ID for a Policy Set
func NewPolicySetID ¶
func NewPolicySetID(subscriptionId string, resourceGroupName string, labName string, policySetName string) PolicySetId
NewPolicySetID returns a new PolicySetId struct
func ParsePolicySetID ¶
func ParsePolicySetID(input string) (*PolicySetId, error)
ParsePolicySetID parses 'input' into a PolicySetId
func ParsePolicySetIDInsensitively ¶
func ParsePolicySetIDInsensitively(input string) (*PolicySetId, error)
ParsePolicySetIDInsensitively parses 'input' case-insensitively into a PolicySetId note: this method should only be used for API response data and not user input
func (PolicySetId) Segments ¶
func (id PolicySetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Policy Set ID
func (PolicySetId) String ¶
func (id PolicySetId) String() string
String returns a human-readable description of this Policy Set ID
type PolicySetResult ¶
type PolicySetResult struct { HasError *bool `json:"hasError,omitempty"` PolicyViolations *[]PolicyViolation `json:"policyViolations,omitempty"` }
type PolicySetsClient ¶
func NewPolicySetsClientWithBaseURI ¶
func NewPolicySetsClientWithBaseURI(endpoint string) PolicySetsClient
func (PolicySetsClient) EvaluatePolicies ¶
func (c PolicySetsClient) EvaluatePolicies(ctx context.Context, id PolicySetId, input EvaluatePoliciesRequest) (result EvaluatePoliciesOperationResponse, err error)
EvaluatePolicies ...
type PolicyViolation ¶
Click to show internal directories.
Click to hide internal directories.