Documentation ¶
Index ¶
- func PossibleValuesForPolicyRestrictionRequireBase() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type PolicyRestrictionContract
- type PolicyRestrictionContractOperationPredicate
- type PolicyRestrictionContractProperties
- type PolicyRestrictionListByServiceCompleteResult
- type PolicyRestrictionListByServiceOperationResponse
- type PolicyRestrictionRequireBase
- type PolicyRestrictionsClient
- func (c PolicyRestrictionsClient) PolicyRestrictionListByService(ctx context.Context, id ServiceId) (result PolicyRestrictionListByServiceOperationResponse, err error)
- func (c PolicyRestrictionsClient) PolicyRestrictionListByServiceComplete(ctx context.Context, id ServiceId) (PolicyRestrictionListByServiceCompleteResult, error)
- func (c PolicyRestrictionsClient) PolicyRestrictionListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result PolicyRestrictionListByServiceCompleteResult, err error)
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyRestrictionRequireBase ¶
func PossibleValuesForPolicyRestrictionRequireBase() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type PolicyRestrictionContract ¶
type PolicyRestrictionContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyRestrictionContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyRestrictionContractOperationPredicate ¶
func (PolicyRestrictionContractOperationPredicate) Matches ¶
func (p PolicyRestrictionContractOperationPredicate) Matches(input PolicyRestrictionContract) bool
type PolicyRestrictionContractProperties ¶
type PolicyRestrictionContractProperties struct { RequireBase *PolicyRestrictionRequireBase `json:"requireBase,omitempty"` Scope *string `json:"scope,omitempty"` }
type PolicyRestrictionListByServiceCompleteResult ¶
type PolicyRestrictionListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []PolicyRestrictionContract }
type PolicyRestrictionListByServiceOperationResponse ¶
type PolicyRestrictionListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PolicyRestrictionContract }
type PolicyRestrictionRequireBase ¶
type PolicyRestrictionRequireBase string
const ( PolicyRestrictionRequireBaseFalse PolicyRestrictionRequireBase = "false" PolicyRestrictionRequireBaseTrue PolicyRestrictionRequireBase = "true" )
func (*PolicyRestrictionRequireBase) UnmarshalJSON ¶
func (s *PolicyRestrictionRequireBase) UnmarshalJSON(bytes []byte) error
type PolicyRestrictionsClient ¶
type PolicyRestrictionsClient struct {
Client *resourcemanager.Client
}
func NewPolicyRestrictionsClientWithBaseURI ¶
func NewPolicyRestrictionsClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyRestrictionsClient, error)
func (PolicyRestrictionsClient) PolicyRestrictionListByService ¶
func (c PolicyRestrictionsClient) PolicyRestrictionListByService(ctx context.Context, id ServiceId) (result PolicyRestrictionListByServiceOperationResponse, err error)
PolicyRestrictionListByService ...
func (PolicyRestrictionsClient) PolicyRestrictionListByServiceComplete ¶
func (c PolicyRestrictionsClient) PolicyRestrictionListByServiceComplete(ctx context.Context, id ServiceId) (PolicyRestrictionListByServiceCompleteResult, error)
PolicyRestrictionListByServiceComplete retrieves all the results into a single object
func (PolicyRestrictionsClient) PolicyRestrictionListByServiceCompleteMatchingPredicate ¶
func (c PolicyRestrictionsClient) PolicyRestrictionListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate PolicyRestrictionContractOperationPredicate) (result PolicyRestrictionListByServiceCompleteResult, err error)
PolicyRestrictionListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
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