Documentation ¶
Index ¶
- func PossibleValuesForDedicatedGatewayType() []string
- func PossibleValuesForServiceSize() []string
- func PossibleValuesForServiceStatus() []string
- func PossibleValuesForServiceType() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type BaseServiceResourceCreateUpdatePropertiesImpl
- type BaseServiceResourcePropertiesImpl
- type DataTransferServiceResourceCreateUpdateProperties
- type DataTransferServiceResourceProperties
- func (o *DataTransferServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (s DataTransferServiceResourceProperties) MarshalJSON() ([]byte, error)
- func (s DataTransferServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
- func (o *DataTransferServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
- type DedicatedGatewayType
- type GraphAPIComputeClient
- func (c GraphAPIComputeClient) ServiceCreate(ctx context.Context, id ServiceId, input ServiceResourceCreateUpdateParameters) (result ServiceCreateOperationResponse, err error)
- func (c GraphAPIComputeClient) ServiceCreateThenPoll(ctx context.Context, id ServiceId, input ServiceResourceCreateUpdateParameters) error
- func (c GraphAPIComputeClient) ServiceDelete(ctx context.Context, id ServiceId) (result ServiceDeleteOperationResponse, err error)
- func (c GraphAPIComputeClient) ServiceDeleteThenPoll(ctx context.Context, id ServiceId) error
- func (c GraphAPIComputeClient) ServiceGet(ctx context.Context, id ServiceId) (result ServiceGetOperationResponse, err error)
- type GraphAPIComputeRegionalServiceResource
- type GraphAPIComputeServiceResourceCreateUpdateProperties
- type GraphAPIComputeServiceResourceProperties
- func (o *GraphAPIComputeServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (s GraphAPIComputeServiceResourceProperties) MarshalJSON() ([]byte, error)
- func (s GraphAPIComputeServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
- func (o *GraphAPIComputeServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
- type MaterializedViewsBuilderServiceResourceCreateUpdateProperties
- type MaterializedViewsBuilderServiceResourceProperties
- func (o *MaterializedViewsBuilderServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (s MaterializedViewsBuilderServiceResourceProperties) MarshalJSON() ([]byte, error)
- func (s MaterializedViewsBuilderServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
- func (o *MaterializedViewsBuilderServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
- type RawServiceResourceCreateUpdatePropertiesImpl
- type RawServiceResourcePropertiesImpl
- type RegionalServiceResource
- type ServiceCreateOperationResponse
- type ServiceDeleteOperationResponse
- type ServiceGetOperationResponse
- type ServiceId
- type ServiceResource
- type ServiceResourceCreateUpdateParameters
- type ServiceResourceCreateUpdateProperties
- type ServiceResourceProperties
- type ServiceSize
- type ServiceStatus
- type ServiceType
- type SqlDedicatedGatewayRegionalServiceResource
- type SqlDedicatedGatewayServiceResourceCreateUpdateProperties
- type SqlDedicatedGatewayServiceResourceProperties
- func (o *SqlDedicatedGatewayServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (s SqlDedicatedGatewayServiceResourceProperties) MarshalJSON() ([]byte, error)
- func (s SqlDedicatedGatewayServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
- func (o *SqlDedicatedGatewayServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDedicatedGatewayType ¶
func PossibleValuesForDedicatedGatewayType() []string
func PossibleValuesForServiceSize ¶
func PossibleValuesForServiceSize() []string
func PossibleValuesForServiceStatus ¶
func PossibleValuesForServiceStatus() []string
func PossibleValuesForServiceType ¶
func PossibleValuesForServiceType() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type BaseServiceResourceCreateUpdatePropertiesImpl ¶ added in v0.20240920.1135249
type BaseServiceResourceCreateUpdatePropertiesImpl struct { InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` }
func (BaseServiceResourceCreateUpdatePropertiesImpl) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s BaseServiceResourceCreateUpdatePropertiesImpl) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type BaseServiceResourcePropertiesImpl ¶ added in v0.20240920.1135249
type BaseServiceResourcePropertiesImpl struct { CreationTime *string `json:"creationTime,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` Status *ServiceStatus `json:"status,omitempty"` }
func (BaseServiceResourcePropertiesImpl) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s BaseServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
type DataTransferServiceResourceCreateUpdateProperties ¶ added in v0.20240617.1101532
type DataTransferServiceResourceCreateUpdateProperties struct { InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` }
func (DataTransferServiceResourceCreateUpdateProperties) MarshalJSON ¶ added in v0.20240617.1101532
func (s DataTransferServiceResourceCreateUpdateProperties) MarshalJSON() ([]byte, error)
func (DataTransferServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s DataTransferServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type DataTransferServiceResourceProperties ¶
type DataTransferServiceResourceProperties struct { Locations *[]RegionalServiceResource `json:"locations,omitempty"` CreationTime *string `json:"creationTime,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` Status *ServiceStatus `json:"status,omitempty"` }
func (*DataTransferServiceResourceProperties) GetCreationTimeAsTime ¶
func (o *DataTransferServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (DataTransferServiceResourceProperties) MarshalJSON ¶
func (s DataTransferServiceResourceProperties) MarshalJSON() ([]byte, error)
func (DataTransferServiceResourceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s DataTransferServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*DataTransferServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *DataTransferServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
type DedicatedGatewayType ¶
type DedicatedGatewayType string
const ( DedicatedGatewayTypeDistributedQuery DedicatedGatewayType = "DistributedQuery" DedicatedGatewayTypeIntegratedCache DedicatedGatewayType = "IntegratedCache" )
func (*DedicatedGatewayType) UnmarshalJSON ¶
func (s *DedicatedGatewayType) UnmarshalJSON(bytes []byte) error
type GraphAPIComputeClient ¶
type GraphAPIComputeClient struct {
Client *resourcemanager.Client
}
func NewGraphAPIComputeClientWithBaseURI ¶
func NewGraphAPIComputeClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphAPIComputeClient, error)
func (GraphAPIComputeClient) ServiceCreate ¶
func (c GraphAPIComputeClient) ServiceCreate(ctx context.Context, id ServiceId, input ServiceResourceCreateUpdateParameters) (result ServiceCreateOperationResponse, err error)
ServiceCreate ...
func (GraphAPIComputeClient) ServiceCreateThenPoll ¶
func (c GraphAPIComputeClient) ServiceCreateThenPoll(ctx context.Context, id ServiceId, input ServiceResourceCreateUpdateParameters) error
ServiceCreateThenPoll performs ServiceCreate then polls until it's completed
func (GraphAPIComputeClient) ServiceDelete ¶
func (c GraphAPIComputeClient) ServiceDelete(ctx context.Context, id ServiceId) (result ServiceDeleteOperationResponse, err error)
ServiceDelete ...
func (GraphAPIComputeClient) ServiceDeleteThenPoll ¶
func (c GraphAPIComputeClient) ServiceDeleteThenPoll(ctx context.Context, id ServiceId) error
ServiceDeleteThenPoll performs ServiceDelete then polls until it's completed
func (GraphAPIComputeClient) ServiceGet ¶
func (c GraphAPIComputeClient) ServiceGet(ctx context.Context, id ServiceId) (result ServiceGetOperationResponse, err error)
ServiceGet ...
type GraphAPIComputeRegionalServiceResource ¶
type GraphAPIComputeRegionalServiceResource struct { GraphApiComputeEndpoint *string `json:"graphApiComputeEndpoint,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Status *ServiceStatus `json:"status,omitempty"` }
type GraphAPIComputeServiceResourceCreateUpdateProperties ¶ added in v0.20240617.1101532
type GraphAPIComputeServiceResourceCreateUpdateProperties struct { InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` }
func (GraphAPIComputeServiceResourceCreateUpdateProperties) MarshalJSON ¶ added in v0.20240617.1101532
func (s GraphAPIComputeServiceResourceCreateUpdateProperties) MarshalJSON() ([]byte, error)
func (GraphAPIComputeServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s GraphAPIComputeServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type GraphAPIComputeServiceResourceProperties ¶
type GraphAPIComputeServiceResourceProperties struct { GraphApiComputeEndpoint *string `json:"graphApiComputeEndpoint,omitempty"` Locations *[]GraphAPIComputeRegionalServiceResource `json:"locations,omitempty"` CreationTime *string `json:"creationTime,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` Status *ServiceStatus `json:"status,omitempty"` }
func (*GraphAPIComputeServiceResourceProperties) GetCreationTimeAsTime ¶
func (o *GraphAPIComputeServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (GraphAPIComputeServiceResourceProperties) MarshalJSON ¶
func (s GraphAPIComputeServiceResourceProperties) MarshalJSON() ([]byte, error)
func (GraphAPIComputeServiceResourceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s GraphAPIComputeServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*GraphAPIComputeServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *GraphAPIComputeServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
type MaterializedViewsBuilderServiceResourceCreateUpdateProperties ¶ added in v0.20240617.1101532
type MaterializedViewsBuilderServiceResourceCreateUpdateProperties struct { InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` }
func (MaterializedViewsBuilderServiceResourceCreateUpdateProperties) MarshalJSON ¶ added in v0.20240617.1101532
func (s MaterializedViewsBuilderServiceResourceCreateUpdateProperties) MarshalJSON() ([]byte, error)
func (MaterializedViewsBuilderServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s MaterializedViewsBuilderServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type MaterializedViewsBuilderServiceResourceProperties ¶
type MaterializedViewsBuilderServiceResourceProperties struct { Locations *[]RegionalServiceResource `json:"locations,omitempty"` CreationTime *string `json:"creationTime,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` Status *ServiceStatus `json:"status,omitempty"` }
func (*MaterializedViewsBuilderServiceResourceProperties) GetCreationTimeAsTime ¶
func (o *MaterializedViewsBuilderServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (MaterializedViewsBuilderServiceResourceProperties) MarshalJSON ¶
func (s MaterializedViewsBuilderServiceResourceProperties) MarshalJSON() ([]byte, error)
func (MaterializedViewsBuilderServiceResourceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s MaterializedViewsBuilderServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*MaterializedViewsBuilderServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *MaterializedViewsBuilderServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
type RawServiceResourceCreateUpdatePropertiesImpl ¶
type RawServiceResourceCreateUpdatePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawServiceResourceCreateUpdatePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawServiceResourceCreateUpdatePropertiesImpl) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s RawServiceResourceCreateUpdatePropertiesImpl) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type RawServiceResourcePropertiesImpl ¶
type RawServiceResourcePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawServiceResourcePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawServiceResourcePropertiesImpl) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s RawServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
type RegionalServiceResource ¶
type RegionalServiceResource struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Status *ServiceStatus `json:"status,omitempty"` }
type ServiceGetOperationResponse ¶
type ServiceGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServiceResource }
type ServiceId ¶
type ServiceId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string ServiceName string }
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
func NewServiceID(subscriptionId string, resourceGroupName string, databaseAccountName string, serviceName string) ServiceId
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 ServiceResource ¶
type ServiceResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ServiceResourceProperties `json:"properties"` Type *string `json:"type,omitempty"` }
func (*ServiceResource) UnmarshalJSON ¶
func (s *ServiceResource) UnmarshalJSON(bytes []byte) error
type ServiceResourceCreateUpdateParameters ¶
type ServiceResourceCreateUpdateParameters struct {
Properties ServiceResourceCreateUpdateProperties `json:"properties"`
}
func (*ServiceResourceCreateUpdateParameters) UnmarshalJSON ¶
func (s *ServiceResourceCreateUpdateParameters) UnmarshalJSON(bytes []byte) error
type ServiceResourceCreateUpdateProperties ¶
type ServiceResourceCreateUpdateProperties interface {
ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
}
func UnmarshalServiceResourceCreateUpdatePropertiesImplementation ¶ added in v0.20240920.1135249
func UnmarshalServiceResourceCreateUpdatePropertiesImplementation(input []byte) (ServiceResourceCreateUpdateProperties, error)
type ServiceResourceProperties ¶
type ServiceResourceProperties interface {
ServiceResourceProperties() BaseServiceResourcePropertiesImpl
}
func UnmarshalServiceResourcePropertiesImplementation ¶ added in v0.20240920.1135249
func UnmarshalServiceResourcePropertiesImplementation(input []byte) (ServiceResourceProperties, error)
type ServiceSize ¶
type ServiceSize string
const ( ServiceSizeCosmosPointDEights ServiceSize = "Cosmos.D8s" ServiceSizeCosmosPointDFours ServiceSize = "Cosmos.D4s" ServiceSizeCosmosPointDOneSixs ServiceSize = "Cosmos.D16s" )
func (*ServiceSize) UnmarshalJSON ¶
func (s *ServiceSize) UnmarshalJSON(bytes []byte) error
type ServiceStatus ¶
type ServiceStatus string
const ( ServiceStatusCreating ServiceStatus = "Creating" ServiceStatusDeleting ServiceStatus = "Deleting" ServiceStatusError ServiceStatus = "Error" ServiceStatusRunning ServiceStatus = "Running" ServiceStatusStopped ServiceStatus = "Stopped" ServiceStatusUpdating ServiceStatus = "Updating" )
func (*ServiceStatus) UnmarshalJSON ¶
func (s *ServiceStatus) UnmarshalJSON(bytes []byte) error
type ServiceType ¶
type ServiceType string
const ( ServiceTypeDataTransfer ServiceType = "DataTransfer" ServiceTypeGraphAPICompute ServiceType = "GraphAPICompute" ServiceTypeMaterializedViewsBuilder ServiceType = "MaterializedViewsBuilder" ServiceTypeSqlDedicatedGateway ServiceType = "SqlDedicatedGateway" )
func (*ServiceType) UnmarshalJSON ¶
func (s *ServiceType) UnmarshalJSON(bytes []byte) error
type SqlDedicatedGatewayRegionalServiceResource ¶
type SqlDedicatedGatewayRegionalServiceResource struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` SqlDedicatedGatewayEndpoint *string `json:"sqlDedicatedGatewayEndpoint,omitempty"` Status *ServiceStatus `json:"status,omitempty"` }
type SqlDedicatedGatewayServiceResourceCreateUpdateProperties ¶ added in v0.20240617.1101532
type SqlDedicatedGatewayServiceResourceCreateUpdateProperties struct { DedicatedGatewayType *DedicatedGatewayType `json:"dedicatedGatewayType,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` }
func (SqlDedicatedGatewayServiceResourceCreateUpdateProperties) MarshalJSON ¶ added in v0.20240617.1101532
func (s SqlDedicatedGatewayServiceResourceCreateUpdateProperties) MarshalJSON() ([]byte, error)
func (SqlDedicatedGatewayServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties ¶ added in v0.20240920.1135249
func (s SqlDedicatedGatewayServiceResourceCreateUpdateProperties) ServiceResourceCreateUpdateProperties() BaseServiceResourceCreateUpdatePropertiesImpl
type SqlDedicatedGatewayServiceResourceProperties ¶
type SqlDedicatedGatewayServiceResourceProperties struct { DedicatedGatewayType *DedicatedGatewayType `json:"dedicatedGatewayType,omitempty"` Locations *[]SqlDedicatedGatewayRegionalServiceResource `json:"locations,omitempty"` SqlDedicatedGatewayEndpoint *string `json:"sqlDedicatedGatewayEndpoint,omitempty"` CreationTime *string `json:"creationTime,omitempty"` InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceSize *ServiceSize `json:"instanceSize,omitempty"` ServiceType ServiceType `json:"serviceType"` Status *ServiceStatus `json:"status,omitempty"` }
func (*SqlDedicatedGatewayServiceResourceProperties) GetCreationTimeAsTime ¶
func (o *SqlDedicatedGatewayServiceResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (SqlDedicatedGatewayServiceResourceProperties) MarshalJSON ¶
func (s SqlDedicatedGatewayServiceResourceProperties) MarshalJSON() ([]byte, error)
func (SqlDedicatedGatewayServiceResourceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s SqlDedicatedGatewayServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*SqlDedicatedGatewayServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *SqlDedicatedGatewayServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_servicecreate.go
- method_servicedelete.go
- method_serviceget.go
- model_datatransferserviceresourcecreateupdateproperties.go
- model_datatransferserviceresourceproperties.go
- model_graphapicomputeregionalserviceresource.go
- model_graphapicomputeserviceresourcecreateupdateproperties.go
- model_graphapicomputeserviceresourceproperties.go
- model_materializedviewsbuilderserviceresourcecreateupdateproperties.go
- model_materializedviewsbuilderserviceresourceproperties.go
- model_regionalserviceresource.go
- model_serviceresource.go
- model_serviceresourcecreateupdateparameters.go
- model_serviceresourcecreateupdateproperties.go
- model_serviceresourceproperties.go
- model_sqldedicatedgatewayregionalserviceresource.go
- model_sqldedicatedgatewayserviceresourcecreateupdateproperties.go
- model_sqldedicatedgatewayserviceresourceproperties.go
- version.go