Documentation ¶
Index ¶
- func PossibleValuesForMetadataAssignmentEntity() []string
- func PossibleValuesForMetadataSchemaExportFormat() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExportMetadataSchemaOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type MetadataAssignmentEntity
- type MetadataSchemaExportFormat
- type MetadataSchemaExportRequest
- type MetadataSchemaExportResult
- type ProvisioningState
- type Service
- type ServiceId
- type ServiceOperationPredicate
- type ServiceProperties
- type ServiceUpdate
- type ServiceUpdateProperties
- type ServicesClient
- func (c ServicesClient) CreateOrUpdate(ctx context.Context, id ServiceId, input Service) (result CreateOrUpdateOperationResponse, err error)
- func (c ServicesClient) Delete(ctx context.Context, id ServiceId) (result DeleteOperationResponse, err error)
- func (c ServicesClient) ExportMetadataSchema(ctx context.Context, id ServiceId, input MetadataSchemaExportRequest) (result ExportMetadataSchemaOperationResponse, err error)
- func (c ServicesClient) ExportMetadataSchemaThenPoll(ctx context.Context, id ServiceId, input MetadataSchemaExportRequest) error
- func (c ServicesClient) Get(ctx context.Context, id ServiceId) (result GetOperationResponse, err error)
- func (c ServicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ServicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ServicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ServicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ServicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ServicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ServicesClient) Update(ctx context.Context, id ServiceId, input ServiceUpdate) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMetadataAssignmentEntity ¶
func PossibleValuesForMetadataAssignmentEntity() []string
func PossibleValuesForMetadataSchemaExportFormat ¶
func PossibleValuesForMetadataSchemaExportFormat() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
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 MetadataSchemaExportFormat ¶
type MetadataSchemaExportFormat string
const ( MetadataSchemaExportFormatInline MetadataSchemaExportFormat = "inline" MetadataSchemaExportFormatLink MetadataSchemaExportFormat = "link" )
func (*MetadataSchemaExportFormat) UnmarshalJSON ¶
func (s *MetadataSchemaExportFormat) UnmarshalJSON(bytes []byte) error
type MetadataSchemaExportRequest ¶
type MetadataSchemaExportRequest struct {
AssignedTo *MetadataAssignmentEntity `json:"assignedTo,omitempty"`
}
type MetadataSchemaExportResult ¶
type MetadataSchemaExportResult struct { Format *MetadataSchemaExportFormat `json:"format,omitempty"` Value *string `json:"value,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type Service ¶
type Service struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ServiceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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
type ServiceOperationPredicate ¶
func (ServiceOperationPredicate) Matches ¶
func (p ServiceOperationPredicate) Matches(input Service) bool
type ServiceProperties ¶
type ServiceProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Restore *bool `json:"restore,omitempty"` }
type ServiceUpdate ¶
type ServiceUpdate struct { Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Properties *ServiceUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ServiceUpdateProperties ¶
type ServiceUpdateProperties struct {
Restore *bool `json:"restore,omitempty"`
}
type ServicesClient ¶
type ServicesClient struct {
Client *resourcemanager.Client
}
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServicesClient, error)
func (ServicesClient) CreateOrUpdate ¶
func (c ServicesClient) CreateOrUpdate(ctx context.Context, id ServiceId, input Service) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ServicesClient) Delete ¶
func (c ServicesClient) Delete(ctx context.Context, id ServiceId) (result DeleteOperationResponse, err error)
Delete ...
func (ServicesClient) ExportMetadataSchema ¶
func (c ServicesClient) ExportMetadataSchema(ctx context.Context, id ServiceId, input MetadataSchemaExportRequest) (result ExportMetadataSchemaOperationResponse, err error)
ExportMetadataSchema ...
func (ServicesClient) ExportMetadataSchemaThenPoll ¶
func (c ServicesClient) ExportMetadataSchemaThenPoll(ctx context.Context, id ServiceId, input MetadataSchemaExportRequest) error
ExportMetadataSchemaThenPoll performs ExportMetadataSchema then polls until it's completed
func (ServicesClient) Get ¶
func (c ServicesClient) Get(ctx context.Context, id ServiceId) (result GetOperationResponse, err error)
Get ...
func (ServicesClient) ListByResourceGroup ¶
func (c ServicesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ServicesClient) ListByResourceGroupComplete ¶
func (c ServicesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ServicesClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ServicesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ServiceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicesClient) ListBySubscription ¶
func (c ServicesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ServicesClient) ListBySubscriptionComplete ¶
func (c ServicesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ServicesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ServicesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ServiceOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ServicesClient) Update ¶
func (c ServicesClient) Update(ctx context.Context, id ServiceId, input ServiceUpdate) (result UpdateOperationResponse, err error)
Update ...
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_createorupdate.go
- method_delete.go
- method_exportmetadataschema.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_metadataschemaexportrequest.go
- model_metadataschemaexportresult.go
- model_service.go
- model_serviceproperties.go
- model_serviceupdate.go
- model_serviceupdateproperties.go
- predicates.go
- version.go