Documentation ¶
Index ¶
- func PossibleValuesForEnvironmentKind() []string
- func PossibleValuesForIngressState() []string
- func PossibleValuesForKind() []string
- func PossibleValuesForPropertyType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForStorageLimitExceededBehavior() []string
- func PossibleValuesForWarmStoragePropertiesState() []string
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EnvironmentCreateOrUpdateParameters
- type EnvironmentId
- type EnvironmentKind
- type EnvironmentListResponse
- type EnvironmentResource
- type EnvironmentStateDetails
- type EnvironmentStatus
- type EnvironmentUpdateParameters
- type EnvironmentsClient
- func (c EnvironmentsClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c EnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id EnvironmentId, ...) error
- func (c EnvironmentsClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
- func (c EnvironmentsClient) Get(ctx context.Context, id EnvironmentId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c EnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c EnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c EnvironmentsClient) Update(ctx context.Context, id EnvironmentId, input EnvironmentUpdateParameters) (result UpdateOperationResponse, err error)
- func (c EnvironmentsClient) UpdateThenPoll(ctx context.Context, id EnvironmentId, input EnvironmentUpdateParameters) error
- type Gen1EnvironmentCreateOrUpdateParameters
- type Gen1EnvironmentCreationProperties
- type Gen1EnvironmentMutableProperties
- type Gen1EnvironmentResource
- type Gen1EnvironmentResourceProperties
- type Gen1EnvironmentUpdateParameters
- type Gen2EnvironmentCreateOrUpdateParameters
- type Gen2EnvironmentCreationProperties
- type Gen2EnvironmentMutableProperties
- type Gen2EnvironmentResource
- type Gen2EnvironmentResourceProperties
- type Gen2EnvironmentUpdateParameters
- type Gen2StorageConfigurationInput
- type Gen2StorageConfigurationMutableProperties
- type Gen2StorageConfigurationOutput
- type GetOperationOptions
- type GetOperationResponse
- type IngressEnvironmentStatus
- type IngressState
- type Kind
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionOperationResponse
- type PropertyType
- type ProvisioningState
- type RawEnvironmentCreateOrUpdateParametersImpl
- type RawEnvironmentResourceImpl
- type RawEnvironmentUpdateParametersImpl
- type Sku
- type SkuName
- type StorageLimitExceededBehavior
- type TimeSeriesIdProperty
- type UpdateOperationResponse
- type WarmStorageEnvironmentStatus
- type WarmStoragePropertiesState
- type WarmStoragePropertiesUsage
- type WarmStoragePropertiesUsageStateDetails
- type WarmStoreConfigurationProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnvironmentKind ¶
func PossibleValuesForEnvironmentKind() []string
func PossibleValuesForIngressState ¶
func PossibleValuesForIngressState() []string
func PossibleValuesForKind ¶
func PossibleValuesForKind() []string
func PossibleValuesForPropertyType ¶
func PossibleValuesForPropertyType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForStorageLimitExceededBehavior ¶
func PossibleValuesForStorageLimitExceededBehavior() []string
func PossibleValuesForWarmStoragePropertiesState ¶
func PossibleValuesForWarmStoragePropertiesState() []string
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type EnvironmentCreateOrUpdateParameters ¶
type EnvironmentCreateOrUpdateParameters interface { }
type EnvironmentId ¶
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (*EnvironmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *EnvironmentId) FromParseResult(input resourceids.ParseResult) error
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type EnvironmentKind ¶
type EnvironmentKind string
const ( EnvironmentKindGenOne EnvironmentKind = "Gen1" EnvironmentKindGenTwo EnvironmentKind = "Gen2" )
type EnvironmentListResponse ¶
type EnvironmentListResponse struct {
Value *[]EnvironmentResource `json:"value,omitempty"`
}
func (*EnvironmentListResponse) UnmarshalJSON ¶
func (s *EnvironmentListResponse) UnmarshalJSON(bytes []byte) error
type EnvironmentResource ¶
type EnvironmentResource interface { }
type EnvironmentStateDetails ¶
type EnvironmentStatus ¶
type EnvironmentStatus struct { Ingress *IngressEnvironmentStatus `json:"ingress,omitempty"` WarmStorage *WarmStorageEnvironmentStatus `json:"warmStorage,omitempty"` }
type EnvironmentUpdateParameters ¶
type EnvironmentUpdateParameters interface { }
type EnvironmentsClient ¶
func NewEnvironmentsClientWithBaseURI ¶
func NewEnvironmentsClientWithBaseURI(endpoint string) EnvironmentsClient
func (EnvironmentsClient) CreateOrUpdate ¶
func (c EnvironmentsClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, input EnvironmentCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EnvironmentsClient) CreateOrUpdateThenPoll ¶
func (c EnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id EnvironmentId, input EnvironmentCreateOrUpdateParameters) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (EnvironmentsClient) Delete ¶
func (c EnvironmentsClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (EnvironmentsClient) Get ¶
func (c EnvironmentsClient) Get(ctx context.Context, id EnvironmentId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (EnvironmentsClient) ListByResourceGroup ¶
func (c EnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (EnvironmentsClient) ListBySubscription ¶
func (c EnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (EnvironmentsClient) Update ¶
func (c EnvironmentsClient) Update(ctx context.Context, id EnvironmentId, input EnvironmentUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (EnvironmentsClient) UpdateThenPoll ¶
func (c EnvironmentsClient) UpdateThenPoll(ctx context.Context, id EnvironmentId, input EnvironmentUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type Gen1EnvironmentCreateOrUpdateParameters ¶
type Gen1EnvironmentCreateOrUpdateParameters struct { Properties Gen1EnvironmentCreationProperties `json:"properties"` // Fields inherited from EnvironmentCreateOrUpdateParameters Location string `json:"location"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` }
func (Gen1EnvironmentCreateOrUpdateParameters) MarshalJSON ¶
func (s Gen1EnvironmentCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
type Gen1EnvironmentCreationProperties ¶
type Gen1EnvironmentCreationProperties struct { DataRetentionTime string `json:"dataRetentionTime"` PartitionKeyProperties *[]TimeSeriesIdProperty `json:"partitionKeyProperties,omitempty"` StorageLimitExceededBehavior *StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"` }
type Gen1EnvironmentMutableProperties ¶
type Gen1EnvironmentMutableProperties struct { DataRetentionTime *string `json:"dataRetentionTime,omitempty"` StorageLimitExceededBehavior *StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"` }
type Gen1EnvironmentResource ¶
type Gen1EnvironmentResource struct { Properties Gen1EnvironmentResourceProperties `json:"properties"` // Fields inherited from EnvironmentResource Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (Gen1EnvironmentResource) MarshalJSON ¶
func (s Gen1EnvironmentResource) MarshalJSON() ([]byte, error)
type Gen1EnvironmentResourceProperties ¶
type Gen1EnvironmentResourceProperties struct { CreationTime *string `json:"creationTime,omitempty"` DataAccessFqdn *string `json:"dataAccessFqdn,omitempty"` DataAccessId *string `json:"dataAccessId,omitempty"` DataRetentionTime string `json:"dataRetentionTime"` PartitionKeyProperties *[]TimeSeriesIdProperty `json:"partitionKeyProperties,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *EnvironmentStatus `json:"status,omitempty"` StorageLimitExceededBehavior *StorageLimitExceededBehavior `json:"storageLimitExceededBehavior,omitempty"` }
func (*Gen1EnvironmentResourceProperties) GetCreationTimeAsTime ¶
func (o *Gen1EnvironmentResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*Gen1EnvironmentResourceProperties) SetCreationTimeAsTime ¶
func (o *Gen1EnvironmentResourceProperties) SetCreationTimeAsTime(input time.Time)
type Gen1EnvironmentUpdateParameters ¶
type Gen1EnvironmentUpdateParameters struct { Properties *Gen1EnvironmentMutableProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` // Fields inherited from EnvironmentUpdateParameters Tags *map[string]string `json:"tags,omitempty"` }
func (Gen1EnvironmentUpdateParameters) MarshalJSON ¶
func (s Gen1EnvironmentUpdateParameters) MarshalJSON() ([]byte, error)
type Gen2EnvironmentCreateOrUpdateParameters ¶
type Gen2EnvironmentCreateOrUpdateParameters struct { Properties Gen2EnvironmentCreationProperties `json:"properties"` // Fields inherited from EnvironmentCreateOrUpdateParameters Location string `json:"location"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` }
func (Gen2EnvironmentCreateOrUpdateParameters) MarshalJSON ¶
func (s Gen2EnvironmentCreateOrUpdateParameters) MarshalJSON() ([]byte, error)
type Gen2EnvironmentCreationProperties ¶
type Gen2EnvironmentCreationProperties struct { StorageConfiguration Gen2StorageConfigurationInput `json:"storageConfiguration"` TimeSeriesIdProperties []TimeSeriesIdProperty `json:"timeSeriesIdProperties"` WarmStoreConfiguration *WarmStoreConfigurationProperties `json:"warmStoreConfiguration,omitempty"` }
type Gen2EnvironmentMutableProperties ¶
type Gen2EnvironmentMutableProperties struct { StorageConfiguration *Gen2StorageConfigurationMutableProperties `json:"storageConfiguration,omitempty"` WarmStoreConfiguration *WarmStoreConfigurationProperties `json:"warmStoreConfiguration,omitempty"` }
type Gen2EnvironmentResource ¶
type Gen2EnvironmentResource struct { Properties Gen2EnvironmentResourceProperties `json:"properties"` // Fields inherited from EnvironmentResource Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (Gen2EnvironmentResource) MarshalJSON ¶
func (s Gen2EnvironmentResource) MarshalJSON() ([]byte, error)
type Gen2EnvironmentResourceProperties ¶
type Gen2EnvironmentResourceProperties struct { CreationTime *string `json:"creationTime,omitempty"` DataAccessFqdn *string `json:"dataAccessFqdn,omitempty"` DataAccessId *string `json:"dataAccessId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Status *EnvironmentStatus `json:"status,omitempty"` StorageConfiguration Gen2StorageConfigurationOutput `json:"storageConfiguration"` TimeSeriesIdProperties []TimeSeriesIdProperty `json:"timeSeriesIdProperties"` WarmStoreConfiguration *WarmStoreConfigurationProperties `json:"warmStoreConfiguration,omitempty"` }
func (*Gen2EnvironmentResourceProperties) GetCreationTimeAsTime ¶
func (o *Gen2EnvironmentResourceProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*Gen2EnvironmentResourceProperties) SetCreationTimeAsTime ¶
func (o *Gen2EnvironmentResourceProperties) SetCreationTimeAsTime(input time.Time)
type Gen2EnvironmentUpdateParameters ¶
type Gen2EnvironmentUpdateParameters struct { Properties *Gen2EnvironmentMutableProperties `json:"properties,omitempty"` // Fields inherited from EnvironmentUpdateParameters Tags *map[string]string `json:"tags,omitempty"` }
func (Gen2EnvironmentUpdateParameters) MarshalJSON ¶
func (s Gen2EnvironmentUpdateParameters) MarshalJSON() ([]byte, error)
type Gen2StorageConfigurationMutableProperties ¶
type Gen2StorageConfigurationMutableProperties struct {
ManagementKey string `json:"managementKey"`
}
type Gen2StorageConfigurationOutput ¶
type Gen2StorageConfigurationOutput struct {
AccountName string `json:"accountName"`
}
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *EnvironmentResource }
type IngressEnvironmentStatus ¶
type IngressEnvironmentStatus struct { State *IngressState `json:"state,omitempty"` StateDetails *EnvironmentStateDetails `json:"stateDetails,omitempty"` }
type IngressState ¶
type IngressState string
const ( IngressStateDisabled IngressState = "Disabled" IngressStatePaused IngressState = "Paused" IngressStateReady IngressState = "Ready" IngressStateRunning IngressState = "Running" IngressStateUnknown IngressState = "Unknown" )
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *EnvironmentListResponse }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *EnvironmentListResponse }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type RawEnvironmentCreateOrUpdateParametersImpl ¶ added in v0.20230807.1063129
type RawEnvironmentCreateOrUpdateParametersImpl struct { Type string Values map[string]interface{} }
RawEnvironmentCreateOrUpdateParametersImpl 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).
type RawEnvironmentResourceImpl ¶ added in v0.20230807.1063129
RawEnvironmentResourceImpl 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).
type RawEnvironmentUpdateParametersImpl ¶ added in v0.20230807.1063129
RawEnvironmentUpdateParametersImpl 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).
type StorageLimitExceededBehavior ¶
type StorageLimitExceededBehavior string
const ( StorageLimitExceededBehaviorPauseIngress StorageLimitExceededBehavior = "PauseIngress" StorageLimitExceededBehaviorPurgeOldData StorageLimitExceededBehavior = "PurgeOldData" )
type TimeSeriesIdProperty ¶
type TimeSeriesIdProperty struct { Name *string `json:"name,omitempty"` Type *PropertyType `json:"type,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type WarmStorageEnvironmentStatus ¶
type WarmStorageEnvironmentStatus struct {
PropertiesUsage *WarmStoragePropertiesUsage `json:"propertiesUsage,omitempty"`
}
type WarmStoragePropertiesState ¶
type WarmStoragePropertiesState string
const ( WarmStoragePropertiesStateError WarmStoragePropertiesState = "Error" WarmStoragePropertiesStateOk WarmStoragePropertiesState = "Ok" WarmStoragePropertiesStateUnknown WarmStoragePropertiesState = "Unknown" )
type WarmStoragePropertiesUsage ¶
type WarmStoragePropertiesUsage struct { State *WarmStoragePropertiesState `json:"state,omitempty"` StateDetails *WarmStoragePropertiesUsageStateDetails `json:"stateDetails,omitempty"` }
type WarmStoreConfigurationProperties ¶
type WarmStoreConfigurationProperties struct {
DataRetention string `json:"dataRetention"`
}
Source Files ¶
- client.go
- constants.go
- id_environment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_environmentcreateorupdateparameters.go
- model_environmentlistresponse.go
- model_environmentresource.go
- model_environmentstatedetails.go
- model_environmentstatus.go
- model_environmentupdateparameters.go
- model_gen1environmentcreateorupdateparameters.go
- model_gen1environmentcreationproperties.go
- model_gen1environmentmutableproperties.go
- model_gen1environmentresource.go
- model_gen1environmentresourceproperties.go
- model_gen1environmentupdateparameters.go
- model_gen2environmentcreateorupdateparameters.go
- model_gen2environmentcreationproperties.go
- model_gen2environmentmutableproperties.go
- model_gen2environmentresource.go
- model_gen2environmentresourceproperties.go
- model_gen2environmentupdateparameters.go
- model_gen2storageconfigurationinput.go
- model_gen2storageconfigurationmutableproperties.go
- model_gen2storageconfigurationoutput.go
- model_ingressenvironmentstatus.go
- model_sku.go
- model_timeseriesidproperty.go
- model_warmstorageenvironmentstatus.go
- model_warmstoragepropertiesusage.go
- model_warmstoragepropertiesusagestatedetails.go
- model_warmstoreconfigurationproperties.go
- version.go