Documentation ¶
Index ¶
- func PossibleValuesForMetadataAssignmentEntity() []string
- func ValidateMetadataSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HeadOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MetadataAssignment
- type MetadataAssignmentEntity
- type MetadataSchema
- type MetadataSchemaId
- type MetadataSchemaOperationPredicate
- type MetadataSchemaProperties
- type MetadataSchemasClient
- func (c MetadataSchemasClient) CreateOrUpdate(ctx context.Context, id MetadataSchemaId, input MetadataSchema) (result CreateOrUpdateOperationResponse, err error)
- func (c MetadataSchemasClient) Delete(ctx context.Context, id MetadataSchemaId) (result DeleteOperationResponse, err error)
- func (c MetadataSchemasClient) Get(ctx context.Context, id MetadataSchemaId) (result GetOperationResponse, err error)
- func (c MetadataSchemasClient) Head(ctx context.Context, id MetadataSchemaId) (result HeadOperationResponse, err error)
- func (c MetadataSchemasClient) List(ctx context.Context, id ServiceId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c MetadataSchemasClient) ListComplete(ctx context.Context, id ServiceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c MetadataSchemasClient) ListCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ServiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMetadataAssignmentEntity ¶
func PossibleValuesForMetadataAssignmentEntity() []string
func ValidateMetadataSchemaID ¶
ValidateMetadataSchemaID checks that 'input' can be parsed as a Metadata Schema ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetadataSchema }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MetadataSchema }
type HeadOperationResponse ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MetadataSchema }
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MetadataSchema }
type MetadataAssignment ¶
type MetadataAssignment struct { Deprecated *bool `json:"deprecated,omitempty"` Entity *MetadataAssignmentEntity `json:"entity,omitempty"` Required *bool `json:"required,omitempty"` }
type MetadataAssignmentEntity ¶
type MetadataAssignmentEntity string
const ( MetadataAssignmentEntityApi MetadataAssignmentEntity = "api" MetadataAssignmentEntityDeployment MetadataAssignmentEntity = "deployment" MetadataAssignmentEntityEnvironment MetadataAssignmentEntity = "environment" )
func (*MetadataAssignmentEntity) UnmarshalJSON ¶
func (s *MetadataAssignmentEntity) UnmarshalJSON(bytes []byte) error
type MetadataSchema ¶
type MetadataSchema struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *MetadataSchemaProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type MetadataSchemaId ¶
type MetadataSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string MetadataSchemaName string }
MetadataSchemaId is a struct representing the Resource ID for a Metadata Schema
func NewMetadataSchemaID ¶
func NewMetadataSchemaID(subscriptionId string, resourceGroupName string, serviceName string, metadataSchemaName string) MetadataSchemaId
NewMetadataSchemaID returns a new MetadataSchemaId struct
func ParseMetadataSchemaID ¶
func ParseMetadataSchemaID(input string) (*MetadataSchemaId, error)
ParseMetadataSchemaID parses 'input' into a MetadataSchemaId
func ParseMetadataSchemaIDInsensitively ¶
func ParseMetadataSchemaIDInsensitively(input string) (*MetadataSchemaId, error)
ParseMetadataSchemaIDInsensitively parses 'input' case-insensitively into a MetadataSchemaId note: this method should only be used for API response data and not user input
func (*MetadataSchemaId) FromParseResult ¶
func (id *MetadataSchemaId) FromParseResult(input resourceids.ParseResult) error
func (MetadataSchemaId) ID ¶
func (id MetadataSchemaId) ID() string
ID returns the formatted Metadata Schema ID
func (MetadataSchemaId) Segments ¶
func (id MetadataSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Metadata Schema ID
func (MetadataSchemaId) String ¶
func (id MetadataSchemaId) String() string
String returns a human-readable description of this Metadata Schema ID
type MetadataSchemaOperationPredicate ¶
func (MetadataSchemaOperationPredicate) Matches ¶
func (p MetadataSchemaOperationPredicate) Matches(input MetadataSchema) bool
type MetadataSchemaProperties ¶
type MetadataSchemaProperties struct { AssignedTo *[]MetadataAssignment `json:"assignedTo,omitempty"` Schema string `json:"schema"` }
type MetadataSchemasClient ¶
type MetadataSchemasClient struct {
Client *resourcemanager.Client
}
func NewMetadataSchemasClientWithBaseURI ¶
func NewMetadataSchemasClientWithBaseURI(sdkApi sdkEnv.Api) (*MetadataSchemasClient, error)
func (MetadataSchemasClient) CreateOrUpdate ¶
func (c MetadataSchemasClient) CreateOrUpdate(ctx context.Context, id MetadataSchemaId, input MetadataSchema) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MetadataSchemasClient) Delete ¶
func (c MetadataSchemasClient) Delete(ctx context.Context, id MetadataSchemaId) (result DeleteOperationResponse, err error)
Delete ...
func (MetadataSchemasClient) Get ¶
func (c MetadataSchemasClient) Get(ctx context.Context, id MetadataSchemaId) (result GetOperationResponse, err error)
Get ...
func (MetadataSchemasClient) Head ¶
func (c MetadataSchemasClient) Head(ctx context.Context, id MetadataSchemaId) (result HeadOperationResponse, err error)
Head ...
func (MetadataSchemasClient) List ¶
func (c MetadataSchemasClient) List(ctx context.Context, id ServiceId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (MetadataSchemasClient) ListComplete ¶
func (c MetadataSchemasClient) ListComplete(ctx context.Context, id ServiceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MetadataSchemasClient) ListCompleteMatchingPredicate ¶
func (c MetadataSchemasClient) ListCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListOperationOptions, predicate MetadataSchemaOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate 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