README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-05-01-preview/apischema
Documentation
The apischema
SDK allows for interaction with Azure Resource Manager apimanagement
(API Version 2023-05-01-preview
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/apimanagement/2023-05-01-preview/apischema"
Client Initialization
client := apischema.NewApiSchemaClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ApiSchemaClient.CreateOrUpdate
ctx := context.TODO()
id := apischema.NewApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "apiId", "schemaId")
payload := apischema.SchemaContract{
// ...
}
if err := client.CreateOrUpdateThenPoll(ctx, id, payload, apischema.DefaultCreateOrUpdateOperationOptions()); err != nil {
// handle the error
}
Example Usage: ApiSchemaClient.Delete
ctx := context.TODO()
id := apischema.NewApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "apiId", "schemaId")
read, err := client.Delete(ctx, id, apischema.DefaultDeleteOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.Get
ctx := context.TODO()
id := apischema.NewApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "apiId", "schemaId")
read, err := client.Get(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.GetEntityTag
ctx := context.TODO()
id := apischema.NewApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "apiId", "schemaId")
read, err := client.GetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.ListByApi
ctx := context.TODO()
id := apischema.NewApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "apiId")
// alternatively `client.ListByApi(ctx, id, apischema.DefaultListByApiOperationOptions())` can be used to do batched pagination
items, err := client.ListByApiComplete(ctx, id, apischema.DefaultListByApiOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ApiSchemaClient.WorkspaceApiSchemaCreateOrUpdate
ctx := context.TODO()
id := apischema.NewWorkspaceApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "workspaceId", "apiId", "schemaId")
payload := apischema.SchemaContract{
// ...
}
if err := client.WorkspaceApiSchemaCreateOrUpdateThenPoll(ctx, id, payload, apischema.DefaultWorkspaceApiSchemaCreateOrUpdateOperationOptions()); err != nil {
// handle the error
}
Example Usage: ApiSchemaClient.WorkspaceApiSchemaDelete
ctx := context.TODO()
id := apischema.NewWorkspaceApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "workspaceId", "apiId", "schemaId")
read, err := client.WorkspaceApiSchemaDelete(ctx, id, apischema.DefaultWorkspaceApiSchemaDeleteOperationOptions())
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.WorkspaceApiSchemaGet
ctx := context.TODO()
id := apischema.NewWorkspaceApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "workspaceId", "apiId", "schemaId")
read, err := client.WorkspaceApiSchemaGet(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.WorkspaceApiSchemaGetEntityTag
ctx := context.TODO()
id := apischema.NewWorkspaceApiSchemaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "workspaceId", "apiId", "schemaId")
read, err := client.WorkspaceApiSchemaGetEntityTag(ctx, id)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: ApiSchemaClient.WorkspaceApiSchemaListByApi
ctx := context.TODO()
id := apischema.NewWorkspaceApiID("12345678-1234-9876-4563-123456789012", "example-resource-group", "serviceName", "workspaceId", "apiId")
// alternatively `client.WorkspaceApiSchemaListByApi(ctx, id, apischema.DefaultWorkspaceApiSchemaListByApiOperationOptions())` can be used to do batched pagination
items, err := client.WorkspaceApiSchemaListByApiComplete(ctx, id, apischema.DefaultWorkspaceApiSchemaListByApiOperationOptions())
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiSchemaClient
- func (c ApiSchemaClient) CreateOrUpdate(ctx context.Context, id ApiSchemaId, input SchemaContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiSchemaClient) CreateOrUpdateThenPoll(ctx context.Context, id ApiSchemaId, input SchemaContract, ...) error
- func (c ApiSchemaClient) Delete(ctx context.Context, id ApiSchemaId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiSchemaClient) Get(ctx context.Context, id ApiSchemaId) (result GetOperationResponse, err error)
- func (c ApiSchemaClient) GetEntityTag(ctx context.Context, id ApiSchemaId) (result GetEntityTagOperationResponse, err error)
- func (c ApiSchemaClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (result ListByApiOperationResponse, err error)
- func (c ApiSchemaClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
- func (c ApiSchemaClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, ...) (result ListByApiCompleteResult, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, ...) (result WorkspaceApiSchemaCreateOrUpdateOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, ...) error
- func (c ApiSchemaClient) WorkspaceApiSchemaDelete(ctx context.Context, id WorkspaceApiSchemaId, ...) (result WorkspaceApiSchemaDeleteOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaGet(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaGetEntityTag(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetEntityTagOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApi(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiSchemaListByApiOperationResponse, err error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApiComplete(ctx context.Context, id WorkspaceApiId, ...) (WorkspaceApiSchemaListByApiCompleteResult, error)
- func (c ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiSchemaListByApiCompleteResult, err error)
- type ApiSchemaId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByApiCompleteResult
- type ListByApiCustomPager
- type ListByApiOperationOptions
- type ListByApiOperationResponse
- type SchemaContract
- type SchemaContractOperationPredicate
- type SchemaContractProperties
- type SchemaDocumentProperties
- type WorkspaceApiId
- type WorkspaceApiSchemaCreateOrUpdateOperationOptions
- type WorkspaceApiSchemaCreateOrUpdateOperationResponse
- type WorkspaceApiSchemaDeleteOperationOptions
- type WorkspaceApiSchemaDeleteOperationResponse
- type WorkspaceApiSchemaGetEntityTagOperationResponse
- type WorkspaceApiSchemaGetOperationResponse
- type WorkspaceApiSchemaId
- type WorkspaceApiSchemaListByApiCompleteResult
- type WorkspaceApiSchemaListByApiCustomPager
- type WorkspaceApiSchemaListByApiOperationOptions
- type WorkspaceApiSchemaListByApiOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateApiSchemaID ¶
ValidateApiSchemaID checks that 'input' can be parsed as a Api Schema ID
func ValidateWorkspaceApiID ¶
ValidateWorkspaceApiID checks that 'input' can be parsed as a Workspace Api ID
func ValidateWorkspaceApiSchemaID ¶
func ValidateWorkspaceApiSchemaID(input interface{}, key string) (warnings []string, errors []error)
ValidateWorkspaceApiSchemaID checks that 'input' can be parsed as a Workspace Api Schema ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (*ApiId) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiSchemaClient ¶
type ApiSchemaClient struct {
Client *resourcemanager.Client
}
func NewApiSchemaClientWithBaseURI ¶
func NewApiSchemaClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiSchemaClient, error)
func (ApiSchemaClient) CreateOrUpdate ¶
func (c ApiSchemaClient) CreateOrUpdate(ctx context.Context, id ApiSchemaId, input SchemaContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiSchemaClient) CreateOrUpdateThenPoll ¶
func (c ApiSchemaClient) CreateOrUpdateThenPoll(ctx context.Context, id ApiSchemaId, input SchemaContract, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ApiSchemaClient) Delete ¶
func (c ApiSchemaClient) Delete(ctx context.Context, id ApiSchemaId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiSchemaClient) Get ¶
func (c ApiSchemaClient) Get(ctx context.Context, id ApiSchemaId) (result GetOperationResponse, err error)
Get ...
func (ApiSchemaClient) GetEntityTag ¶
func (c ApiSchemaClient) GetEntityTag(ctx context.Context, id ApiSchemaId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiSchemaClient) ListByApi ¶
func (c ApiSchemaClient) ListByApi(ctx context.Context, id ApiId, options ListByApiOperationOptions) (result ListByApiOperationResponse, err error)
ListByApi ...
func (ApiSchemaClient) ListByApiComplete ¶
func (c ApiSchemaClient) ListByApiComplete(ctx context.Context, id ApiId, options ListByApiOperationOptions) (ListByApiCompleteResult, error)
ListByApiComplete retrieves all the results into a single object
func (ApiSchemaClient) ListByApiCompleteMatchingPredicate ¶
func (c ApiSchemaClient) ListByApiCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApiOperationOptions, predicate SchemaContractOperationPredicate) (result ListByApiCompleteResult, err error)
ListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate ¶
func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdate(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, options WorkspaceApiSchemaCreateOrUpdateOperationOptions) (result WorkspaceApiSchemaCreateOrUpdateOperationResponse, err error)
WorkspaceApiSchemaCreateOrUpdate ...
func (ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll ¶
func (c ApiSchemaClient) WorkspaceApiSchemaCreateOrUpdateThenPoll(ctx context.Context, id WorkspaceApiSchemaId, input SchemaContract, options WorkspaceApiSchemaCreateOrUpdateOperationOptions) error
WorkspaceApiSchemaCreateOrUpdateThenPoll performs WorkspaceApiSchemaCreateOrUpdate then polls until it's completed
func (ApiSchemaClient) WorkspaceApiSchemaDelete ¶
func (c ApiSchemaClient) WorkspaceApiSchemaDelete(ctx context.Context, id WorkspaceApiSchemaId, options WorkspaceApiSchemaDeleteOperationOptions) (result WorkspaceApiSchemaDeleteOperationResponse, err error)
WorkspaceApiSchemaDelete ...
func (ApiSchemaClient) WorkspaceApiSchemaGet ¶
func (c ApiSchemaClient) WorkspaceApiSchemaGet(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetOperationResponse, err error)
WorkspaceApiSchemaGet ...
func (ApiSchemaClient) WorkspaceApiSchemaGetEntityTag ¶
func (c ApiSchemaClient) WorkspaceApiSchemaGetEntityTag(ctx context.Context, id WorkspaceApiSchemaId) (result WorkspaceApiSchemaGetEntityTagOperationResponse, err error)
WorkspaceApiSchemaGetEntityTag ...
func (ApiSchemaClient) WorkspaceApiSchemaListByApi ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApi(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions) (result WorkspaceApiSchemaListByApiOperationResponse, err error)
WorkspaceApiSchemaListByApi ...
func (ApiSchemaClient) WorkspaceApiSchemaListByApiComplete ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApiComplete(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions) (WorkspaceApiSchemaListByApiCompleteResult, error)
WorkspaceApiSchemaListByApiComplete retrieves all the results into a single object
func (ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate ¶
func (c ApiSchemaClient) WorkspaceApiSchemaListByApiCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, options WorkspaceApiSchemaListByApiOperationOptions, predicate SchemaContractOperationPredicate) (result WorkspaceApiSchemaListByApiCompleteResult, err error)
WorkspaceApiSchemaListByApiCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiSchemaId ¶
type ApiSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string SchemaId string }
ApiSchemaId is a struct representing the Resource ID for a Api Schema
func NewApiSchemaID ¶
func NewApiSchemaID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, schemaId string) ApiSchemaId
NewApiSchemaID returns a new ApiSchemaId struct
func ParseApiSchemaID ¶
func ParseApiSchemaID(input string) (*ApiSchemaId, error)
ParseApiSchemaID parses 'input' into a ApiSchemaId
func ParseApiSchemaIDInsensitively ¶
func ParseApiSchemaIDInsensitively(input string) (*ApiSchemaId, error)
ParseApiSchemaIDInsensitively parses 'input' case-insensitively into a ApiSchemaId note: this method should only be used for API response data and not user input
func (*ApiSchemaId) FromParseResult ¶
func (id *ApiSchemaId) FromParseResult(input resourceids.ParseResult) error
func (ApiSchemaId) Segments ¶
func (id ApiSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Schema ID
func (ApiSchemaId) String ¶
func (id ApiSchemaId) String() string
String returns a human-readable description of this Api Schema ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SchemaContract }
type ListByApiCompleteResult ¶
type ListByApiCompleteResult struct { LatestHttpResponse *http.Response Items []SchemaContract }
type ListByApiCustomPager ¶ added in v0.20240628.1153531
func (*ListByApiCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByApiCustomPager) NextPageLink() *odata.Link
type ListByApiOperationOptions ¶
func DefaultListByApiOperationOptions ¶
func DefaultListByApiOperationOptions() ListByApiOperationOptions
func (ListByApiOperationOptions) ToHeaders ¶
func (o ListByApiOperationOptions) ToHeaders() *client.Headers
func (ListByApiOperationOptions) ToOData ¶
func (o ListByApiOperationOptions) ToOData() *odata.Query
func (ListByApiOperationOptions) ToQuery ¶
func (o ListByApiOperationOptions) ToQuery() *client.QueryParams
type ListByApiOperationResponse ¶
type ListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SchemaContract }
type SchemaContract ¶
type SchemaContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SchemaContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SchemaContractOperationPredicate ¶
func (SchemaContractOperationPredicate) Matches ¶
func (p SchemaContractOperationPredicate) Matches(input SchemaContract) bool
type SchemaContractProperties ¶
type SchemaContractProperties struct { ContentType string `json:"contentType"` Document SchemaDocumentProperties `json:"document"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type SchemaDocumentProperties ¶
type SchemaDocumentProperties struct { Components *interface{} `json:"components,omitempty"` Definitions *interface{} `json:"definitions,omitempty"` Value *string `json:"value,omitempty"` }
type WorkspaceApiId ¶
type WorkspaceApiId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string }
WorkspaceApiId is a struct representing the Resource ID for a Workspace Api
func NewWorkspaceApiID ¶
func NewWorkspaceApiID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string) WorkspaceApiId
NewWorkspaceApiID returns a new WorkspaceApiId struct
func ParseWorkspaceApiID ¶
func ParseWorkspaceApiID(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiID parses 'input' into a WorkspaceApiId
func ParseWorkspaceApiIDInsensitively ¶
func ParseWorkspaceApiIDInsensitively(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiIDInsensitively parses 'input' case-insensitively into a WorkspaceApiId note: this method should only be used for API response data and not user input
func (*WorkspaceApiId) FromParseResult ¶
func (id *WorkspaceApiId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceApiId) ID ¶
func (id WorkspaceApiId) ID() string
ID returns the formatted Workspace Api ID
func (WorkspaceApiId) Segments ¶
func (id WorkspaceApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api ID
func (WorkspaceApiId) String ¶
func (id WorkspaceApiId) String() string
String returns a human-readable description of this Workspace Api ID
type WorkspaceApiSchemaCreateOrUpdateOperationOptions ¶
type WorkspaceApiSchemaCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceApiSchemaCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceApiSchemaCreateOrUpdateOperationOptions() WorkspaceApiSchemaCreateOrUpdateOperationOptions
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaDeleteOperationOptions ¶
func DefaultWorkspaceApiSchemaDeleteOperationOptions ¶
func DefaultWorkspaceApiSchemaDeleteOperationOptions() WorkspaceApiSchemaDeleteOperationOptions
func (WorkspaceApiSchemaDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaDeleteOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaDeleteOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaGetOperationResponse ¶
type WorkspaceApiSchemaGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SchemaContract }
type WorkspaceApiSchemaId ¶
type WorkspaceApiSchemaId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string SchemaId string }
WorkspaceApiSchemaId is a struct representing the Resource ID for a Workspace Api Schema
func NewWorkspaceApiSchemaID ¶
func NewWorkspaceApiSchemaID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string, schemaId string) WorkspaceApiSchemaId
NewWorkspaceApiSchemaID returns a new WorkspaceApiSchemaId struct
func ParseWorkspaceApiSchemaID ¶
func ParseWorkspaceApiSchemaID(input string) (*WorkspaceApiSchemaId, error)
ParseWorkspaceApiSchemaID parses 'input' into a WorkspaceApiSchemaId
func ParseWorkspaceApiSchemaIDInsensitively ¶
func ParseWorkspaceApiSchemaIDInsensitively(input string) (*WorkspaceApiSchemaId, error)
ParseWorkspaceApiSchemaIDInsensitively parses 'input' case-insensitively into a WorkspaceApiSchemaId note: this method should only be used for API response data and not user input
func (*WorkspaceApiSchemaId) FromParseResult ¶
func (id *WorkspaceApiSchemaId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceApiSchemaId) ID ¶
func (id WorkspaceApiSchemaId) ID() string
ID returns the formatted Workspace Api Schema ID
func (WorkspaceApiSchemaId) Segments ¶
func (id WorkspaceApiSchemaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api Schema ID
func (WorkspaceApiSchemaId) String ¶
func (id WorkspaceApiSchemaId) String() string
String returns a human-readable description of this Workspace Api Schema ID
type WorkspaceApiSchemaListByApiCompleteResult ¶
type WorkspaceApiSchemaListByApiCompleteResult struct { LatestHttpResponse *http.Response Items []SchemaContract }
type WorkspaceApiSchemaListByApiCustomPager ¶ added in v0.20240628.1153531
func (*WorkspaceApiSchemaListByApiCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceApiSchemaListByApiCustomPager) NextPageLink() *odata.Link
type WorkspaceApiSchemaListByApiOperationOptions ¶
func DefaultWorkspaceApiSchemaListByApiOperationOptions ¶
func DefaultWorkspaceApiSchemaListByApiOperationOptions() WorkspaceApiSchemaListByApiOperationOptions
func (WorkspaceApiSchemaListByApiOperationOptions) ToHeaders ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiSchemaListByApiOperationOptions) ToOData ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToOData() *odata.Query
func (WorkspaceApiSchemaListByApiOperationOptions) ToQuery ¶
func (o WorkspaceApiSchemaListByApiOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiSchemaListByApiOperationResponse ¶
type WorkspaceApiSchemaListByApiOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SchemaContract }
Source Files ¶
- client.go
- id_api.go
- id_apischema.go
- id_workspaceapi.go
- id_workspaceapischema.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyapi.go
- method_workspaceapischemacreateorupdate.go
- method_workspaceapischemadelete.go
- method_workspaceapischemaget.go
- method_workspaceapischemagetentitytag.go
- method_workspaceapischemalistbyapi.go
- model_schemacontract.go
- model_schemacontractproperties.go
- model_schemadocumentproperties.go
- predicates.go
- version.go