Documentation ¶
Index ¶
- func PossibleValuesForPolicyScopeContract() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type PolicyDescriptionClient
- type PolicyDescriptionCollection
- type PolicyDescriptionContract
- type PolicyDescriptionContractProperties
- type PolicyScopeContract
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPolicyScopeContract ¶
func PossibleValuesForPolicyScopeContract() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct {
Scope *PolicyScopeContract
}
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PolicyDescriptionCollection }
type PolicyDescriptionClient ¶
type PolicyDescriptionClient struct {
Client *resourcemanager.Client
}
func NewPolicyDescriptionClientWithBaseURI ¶
func NewPolicyDescriptionClientWithBaseURI(sdkApi sdkEnv.Api) (*PolicyDescriptionClient, error)
func (PolicyDescriptionClient) ListByService ¶
func (c PolicyDescriptionClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
type PolicyDescriptionCollection ¶
type PolicyDescriptionCollection struct { Count *int64 `json:"count,omitempty"` Value *[]PolicyDescriptionContract `json:"value,omitempty"` }
type PolicyDescriptionContract ¶
type PolicyDescriptionContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PolicyDescriptionContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PolicyScopeContract ¶
type PolicyScopeContract string
const ( PolicyScopeContractAll PolicyScopeContract = "All" PolicyScopeContractApi PolicyScopeContract = "Api" PolicyScopeContractOperation PolicyScopeContract = "Operation" PolicyScopeContractProduct PolicyScopeContract = "Product" PolicyScopeContractTenant PolicyScopeContract = "Tenant" )
func (*PolicyScopeContract) UnmarshalJSON ¶
func (s *PolicyScopeContract) 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) 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.