Documentation ¶
Index ¶
- func PossibleValuesForDedicatedGatewayType() []string
- func PossibleValuesForServiceSize() []string
- func PossibleValuesForServiceStatus() []string
- func PossibleValuesForServiceType() []string
- func ValidateDatabaseAccountID(input interface{}, key string) (warnings []string, errors []error)
- type BaseServiceResourcePropertiesImpl
- 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 DatabaseAccountId
- type DedicatedGatewayType
- type GraphAPIComputeRegionalServiceResource
- 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 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 RawServiceResourcePropertiesImpl
- type RegionalServiceResource
- type ServiceListOperationResponse
- type ServiceResource
- type ServiceResourceListResult
- type ServiceResourceProperties
- type ServiceSize
- type ServiceStatus
- type ServiceType
- type ServicesClient
- type SqlDedicatedGatewayRegionalServiceResource
- 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 ValidateDatabaseAccountID ¶
ValidateDatabaseAccountID checks that 'input' can be parsed as a Database Account ID
Types ¶
type BaseServiceResourcePropertiesImpl ¶
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 ¶
func (s BaseServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
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 ¶
func (s DataTransferServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*DataTransferServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *DataTransferServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
type DatabaseAccountId ¶
type DatabaseAccountId struct { SubscriptionId string ResourceGroupName string DatabaseAccountName string }
DatabaseAccountId is a struct representing the Resource ID for a Database Account
func NewDatabaseAccountID ¶
func NewDatabaseAccountID(subscriptionId string, resourceGroupName string, databaseAccountName string) DatabaseAccountId
NewDatabaseAccountID returns a new DatabaseAccountId struct
func ParseDatabaseAccountID ¶
func ParseDatabaseAccountID(input string) (*DatabaseAccountId, error)
ParseDatabaseAccountID parses 'input' into a DatabaseAccountId
func ParseDatabaseAccountIDInsensitively ¶
func ParseDatabaseAccountIDInsensitively(input string) (*DatabaseAccountId, error)
ParseDatabaseAccountIDInsensitively parses 'input' case-insensitively into a DatabaseAccountId note: this method should only be used for API response data and not user input
func (*DatabaseAccountId) FromParseResult ¶
func (id *DatabaseAccountId) FromParseResult(input resourceids.ParseResult) error
func (DatabaseAccountId) ID ¶
func (id DatabaseAccountId) ID() string
ID returns the formatted Database Account ID
func (DatabaseAccountId) Segments ¶
func (id DatabaseAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Database Account ID
func (DatabaseAccountId) String ¶
func (id DatabaseAccountId) String() string
String returns a human-readable description of this Database Account ID
type DedicatedGatewayType ¶
type DedicatedGatewayType string
const ( DedicatedGatewayTypeDistributedQuery DedicatedGatewayType = "DistributedQuery" DedicatedGatewayTypeIntegratedCache DedicatedGatewayType = "IntegratedCache" )
func (*DedicatedGatewayType) UnmarshalJSON ¶
func (s *DedicatedGatewayType) UnmarshalJSON(bytes []byte) error
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 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 ¶
func (s GraphAPIComputeServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*GraphAPIComputeServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *GraphAPIComputeServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
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 ¶
func (s MaterializedViewsBuilderServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*MaterializedViewsBuilderServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *MaterializedViewsBuilderServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
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 ¶
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 ServiceListOperationResponse ¶
type ServiceListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServiceResourceListResult }
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 ServiceResourceListResult ¶
type ServiceResourceListResult struct {
Value *[]ServiceResource `json:"value,omitempty"`
}
type ServiceResourceProperties ¶
type ServiceResourceProperties interface {
ServiceResourceProperties() BaseServiceResourcePropertiesImpl
}
func UnmarshalServiceResourcePropertiesImplementation ¶
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 ServicesClient ¶
type ServicesClient struct {
Client *resourcemanager.Client
}
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServicesClient, error)
func (ServicesClient) ServiceList ¶
func (c ServicesClient) ServiceList(ctx context.Context, id DatabaseAccountId) (result ServiceListOperationResponse, err error)
ServiceList ...
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 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 ¶
func (s SqlDedicatedGatewayServiceResourceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*SqlDedicatedGatewayServiceResourceProperties) SetCreationTimeAsTime ¶
func (o *SqlDedicatedGatewayServiceResourceProperties) SetCreationTimeAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_databaseaccount.go
- method_servicelist.go
- model_datatransferserviceresourceproperties.go
- model_graphapicomputeregionalserviceresource.go
- model_graphapicomputeserviceresourceproperties.go
- model_materializedviewsbuilderserviceresourceproperties.go
- model_regionalserviceresource.go
- model_serviceresource.go
- model_serviceresourcelistresult.go
- model_serviceresourceproperties.go
- model_sqldedicatedgatewayregionalserviceresource.go
- model_sqldedicatedgatewayserviceresourceproperties.go
- version.go