Documentation ¶
Index ¶
- func PossibleValuesForDataTypeState() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateDataProductID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDataTypeID(input interface{}, key string) (warnings []string, errors []error)
- type ContainerSaS
- type ContainerSasToken
- type CreateOperationResponse
- type DataProductId
- type DataType
- type DataTypeId
- type DataTypeOperationPredicate
- type DataTypeProperties
- type DataTypeState
- type DataTypeUpdate
- type DataTypeUpdateProperties
- type DataTypesClient
- func (c DataTypesClient) Create(ctx context.Context, id DataTypeId, input DataType) (result CreateOperationResponse, err error)
- func (c DataTypesClient) CreateThenPoll(ctx context.Context, id DataTypeId, input DataType) error
- func (c DataTypesClient) Delete(ctx context.Context, id DataTypeId) (result DeleteOperationResponse, err error)
- func (c DataTypesClient) DeleteData(ctx context.Context, id DataTypeId, input interface{}) (result DeleteDataOperationResponse, err error)
- func (c DataTypesClient) DeleteDataThenPoll(ctx context.Context, id DataTypeId, input interface{}) error
- func (c DataTypesClient) DeleteThenPoll(ctx context.Context, id DataTypeId) error
- func (c DataTypesClient) GenerateStorageContainerSasToken(ctx context.Context, id DataTypeId, input ContainerSaS) (result GenerateStorageContainerSasTokenOperationResponse, err error)
- func (c DataTypesClient) Get(ctx context.Context, id DataTypeId) (result GetOperationResponse, err error)
- func (c DataTypesClient) ListByDataProduct(ctx context.Context, id DataProductId) (result ListByDataProductOperationResponse, err error)
- func (c DataTypesClient) ListByDataProductComplete(ctx context.Context, id DataProductId) (ListByDataProductCompleteResult, error)
- func (c DataTypesClient) ListByDataProductCompleteMatchingPredicate(ctx context.Context, id DataProductId, predicate DataTypeOperationPredicate) (result ListByDataProductCompleteResult, err error)
- func (c DataTypesClient) Update(ctx context.Context, id DataTypeId, input DataTypeUpdate) (result UpdateOperationResponse, err error)
- func (c DataTypesClient) UpdateThenPoll(ctx context.Context, id DataTypeId, input DataTypeUpdate) error
- type DeleteDataOperationResponse
- type DeleteOperationResponse
- type GenerateStorageContainerSasTokenOperationResponse
- type GetOperationResponse
- type ListByDataProductCompleteResult
- type ListByDataProductCustomPager
- type ListByDataProductOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataTypeState ¶
func PossibleValuesForDataTypeState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDataProductID ¶
ValidateDataProductID checks that 'input' can be parsed as a Data Product ID
func ValidateDataTypeID ¶
ValidateDataTypeID checks that 'input' can be parsed as a Data Type ID
Types ¶
type ContainerSaS ¶
type ContainerSaS struct { ExpiryTimeStamp string `json:"expiryTimeStamp"` IPAddress string `json:"ipAddress"` StartTimeStamp string `json:"startTimeStamp"` }
func (*ContainerSaS) GetExpiryTimeStampAsTime ¶
func (o *ContainerSaS) GetExpiryTimeStampAsTime() (*time.Time, error)
func (*ContainerSaS) GetStartTimeStampAsTime ¶
func (o *ContainerSaS) GetStartTimeStampAsTime() (*time.Time, error)
func (*ContainerSaS) SetExpiryTimeStampAsTime ¶
func (o *ContainerSaS) SetExpiryTimeStampAsTime(input time.Time)
func (*ContainerSaS) SetStartTimeStampAsTime ¶
func (o *ContainerSaS) SetStartTimeStampAsTime(input time.Time)
type ContainerSasToken ¶
type ContainerSasToken struct {
StorageContainerSasToken string `json:"storageContainerSasToken"`
}
type CreateOperationResponse ¶
type DataProductId ¶
DataProductId is a struct representing the Resource ID for a Data Product
func NewDataProductID ¶
func NewDataProductID(subscriptionId string, resourceGroupName string, dataProductName string) DataProductId
NewDataProductID returns a new DataProductId struct
func ParseDataProductID ¶
func ParseDataProductID(input string) (*DataProductId, error)
ParseDataProductID parses 'input' into a DataProductId
func ParseDataProductIDInsensitively ¶
func ParseDataProductIDInsensitively(input string) (*DataProductId, error)
ParseDataProductIDInsensitively parses 'input' case-insensitively into a DataProductId note: this method should only be used for API response data and not user input
func (*DataProductId) FromParseResult ¶
func (id *DataProductId) FromParseResult(input resourceids.ParseResult) error
func (DataProductId) ID ¶
func (id DataProductId) ID() string
ID returns the formatted Data Product ID
func (DataProductId) Segments ¶
func (id DataProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Product ID
func (DataProductId) String ¶
func (id DataProductId) String() string
String returns a human-readable description of this Data Product ID
type DataType ¶
type DataType struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DataTypeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DataTypeId ¶
type DataTypeId struct { SubscriptionId string ResourceGroupName string DataProductName string DataTypeName string }
DataTypeId is a struct representing the Resource ID for a Data Type
func NewDataTypeID ¶
func NewDataTypeID(subscriptionId string, resourceGroupName string, dataProductName string, dataTypeName string) DataTypeId
NewDataTypeID returns a new DataTypeId struct
func ParseDataTypeID ¶
func ParseDataTypeID(input string) (*DataTypeId, error)
ParseDataTypeID parses 'input' into a DataTypeId
func ParseDataTypeIDInsensitively ¶
func ParseDataTypeIDInsensitively(input string) (*DataTypeId, error)
ParseDataTypeIDInsensitively parses 'input' case-insensitively into a DataTypeId note: this method should only be used for API response data and not user input
func (*DataTypeId) FromParseResult ¶
func (id *DataTypeId) FromParseResult(input resourceids.ParseResult) error
func (DataTypeId) Segments ¶
func (id DataTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Type ID
func (DataTypeId) String ¶
func (id DataTypeId) String() string
String returns a human-readable description of this Data Type ID
type DataTypeOperationPredicate ¶
func (DataTypeOperationPredicate) Matches ¶
func (p DataTypeOperationPredicate) Matches(input DataType) bool
type DataTypeProperties ¶
type DataTypeProperties struct { DatabaseCacheRetention *int64 `json:"databaseCacheRetention,omitempty"` DatabaseRetention *int64 `json:"databaseRetention,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` State *DataTypeState `json:"state,omitempty"` StateReason *string `json:"stateReason,omitempty"` StorageOutputRetention *int64 `json:"storageOutputRetention,omitempty"` VisualizationURL *string `json:"visualizationUrl,omitempty"` }
type DataTypeState ¶
type DataTypeState string
const ( DataTypeStateRunning DataTypeState = "Running" DataTypeStateStopped DataTypeState = "Stopped" )
func (*DataTypeState) UnmarshalJSON ¶
func (s *DataTypeState) UnmarshalJSON(bytes []byte) error
type DataTypeUpdate ¶
type DataTypeUpdate struct {
Properties *DataTypeUpdateProperties `json:"properties,omitempty"`
}
type DataTypeUpdateProperties ¶
type DataTypeUpdateProperties struct { DatabaseCacheRetention *int64 `json:"databaseCacheRetention,omitempty"` DatabaseRetention *int64 `json:"databaseRetention,omitempty"` State *DataTypeState `json:"state,omitempty"` StorageOutputRetention *int64 `json:"storageOutputRetention,omitempty"` }
type DataTypesClient ¶
type DataTypesClient struct {
Client *resourcemanager.Client
}
func NewDataTypesClientWithBaseURI ¶
func NewDataTypesClientWithBaseURI(sdkApi sdkEnv.Api) (*DataTypesClient, error)
func (DataTypesClient) Create ¶
func (c DataTypesClient) Create(ctx context.Context, id DataTypeId, input DataType) (result CreateOperationResponse, err error)
Create ...
func (DataTypesClient) CreateThenPoll ¶
func (c DataTypesClient) CreateThenPoll(ctx context.Context, id DataTypeId, input DataType) error
CreateThenPoll performs Create then polls until it's completed
func (DataTypesClient) Delete ¶
func (c DataTypesClient) Delete(ctx context.Context, id DataTypeId) (result DeleteOperationResponse, err error)
Delete ...
func (DataTypesClient) DeleteData ¶
func (c DataTypesClient) DeleteData(ctx context.Context, id DataTypeId, input interface{}) (result DeleteDataOperationResponse, err error)
DeleteData ...
func (DataTypesClient) DeleteDataThenPoll ¶
func (c DataTypesClient) DeleteDataThenPoll(ctx context.Context, id DataTypeId, input interface{}) error
DeleteDataThenPoll performs DeleteData then polls until it's completed
func (DataTypesClient) DeleteThenPoll ¶
func (c DataTypesClient) DeleteThenPoll(ctx context.Context, id DataTypeId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DataTypesClient) GenerateStorageContainerSasToken ¶
func (c DataTypesClient) GenerateStorageContainerSasToken(ctx context.Context, id DataTypeId, input ContainerSaS) (result GenerateStorageContainerSasTokenOperationResponse, err error)
GenerateStorageContainerSasToken ...
func (DataTypesClient) Get ¶
func (c DataTypesClient) Get(ctx context.Context, id DataTypeId) (result GetOperationResponse, err error)
Get ...
func (DataTypesClient) ListByDataProduct ¶
func (c DataTypesClient) ListByDataProduct(ctx context.Context, id DataProductId) (result ListByDataProductOperationResponse, err error)
ListByDataProduct ...
func (DataTypesClient) ListByDataProductComplete ¶
func (c DataTypesClient) ListByDataProductComplete(ctx context.Context, id DataProductId) (ListByDataProductCompleteResult, error)
ListByDataProductComplete retrieves all the results into a single object
func (DataTypesClient) ListByDataProductCompleteMatchingPredicate ¶
func (c DataTypesClient) ListByDataProductCompleteMatchingPredicate(ctx context.Context, id DataProductId, predicate DataTypeOperationPredicate) (result ListByDataProductCompleteResult, err error)
ListByDataProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DataTypesClient) Update ¶
func (c DataTypesClient) Update(ctx context.Context, id DataTypeId, input DataTypeUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DataTypesClient) UpdateThenPoll ¶
func (c DataTypesClient) UpdateThenPoll(ctx context.Context, id DataTypeId, input DataTypeUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type GenerateStorageContainerSasTokenOperationResponse ¶
type GenerateStorageContainerSasTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ContainerSasToken }
type GetOperationResponse ¶
type ListByDataProductCustomPager ¶
func (*ListByDataProductCustomPager) NextPageLink ¶
func (p *ListByDataProductCustomPager) NextPageLink() *odata.Link
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_dataproduct.go
- id_datatype.go
- method_create.go
- method_delete.go
- method_deletedata.go
- method_generatestoragecontainersastoken.go
- method_get.go
- method_listbydataproduct.go
- method_update.go
- model_containersas.go
- model_containersastoken.go
- model_datatype.go
- model_datatypeproperties.go
- model_datatypeupdate.go
- model_datatypeupdateproperties.go
- predicates.go
- version.go