Documentation ¶
Index ¶
- func PossibleValuesForPolicyComplianceState() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AllPoliciesClient
- func (c AllPoliciesClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
- func (c AllPoliciesClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
- func (c AllPoliciesClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result ListByServiceCompleteResult, err error)
- type AllPoliciesContract
- type AllPoliciesContractOperationPredicate
- type AllPoliciesContractProperties
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationResponse
- type PolicyComplianceState
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyComplianceState ¶
func PossibleValuesForPolicyComplianceState() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AllPoliciesClient ¶
type AllPoliciesClient struct {
Client *resourcemanager.Client
}
func NewAllPoliciesClientWithBaseURI ¶
func NewAllPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*AllPoliciesClient, error)
func (AllPoliciesClient) ListByService ¶
func (c AllPoliciesClient) ListByService(ctx context.Context, id ServiceId) (result ListByServiceOperationResponse, err error)
ListByService ...
func (AllPoliciesClient) ListByServiceComplete ¶
func (c AllPoliciesClient) ListByServiceComplete(ctx context.Context, id ServiceId) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (AllPoliciesClient) ListByServiceCompleteMatchingPredicate ¶
func (c AllPoliciesClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate AllPoliciesContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type AllPoliciesContract ¶
type AllPoliciesContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AllPoliciesContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AllPoliciesContractOperationPredicate ¶
func (AllPoliciesContractOperationPredicate) Matches ¶
func (p AllPoliciesContractOperationPredicate) Matches(input AllPoliciesContract) bool
type AllPoliciesContractProperties ¶
type AllPoliciesContractProperties struct { ComplianceState *PolicyComplianceState `json:"complianceState,omitempty"` ReferencePolicyId *string `json:"referencePolicyId,omitempty"` }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []AllPoliciesContract }
type ListByServiceCustomPager ¶ added in v0.20240628.1153531
func (*ListByServiceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AllPoliciesContract }
type PolicyComplianceState ¶
type PolicyComplianceState string
const ( PolicyComplianceStateCompliant PolicyComplianceState = "Compliant" PolicyComplianceStateNonCompliant PolicyComplianceState = "NonCompliant" PolicyComplianceStatePending PolicyComplianceState = "Pending" )
func (*PolicyComplianceState) UnmarshalJSON ¶
func (s *PolicyComplianceState) UnmarshalJSON(bytes []byte) error
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
Click to show internal directories.
Click to hide internal directories.