Documentation ¶
Index ¶
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProvisioningStates() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func ValidateElasticSanID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type ElasticSan
- type ElasticSanId
- type ElasticSanOperationPredicate
- type ElasticSanProperties
- type ElasticSanUpdate
- type ElasticSanUpdateProperties
- type ElasticSansClient
- func (c ElasticSansClient) Create(ctx context.Context, id ElasticSanId, input ElasticSan) (result CreateOperationResponse, err error)
- func (c ElasticSansClient) CreateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSan) error
- func (c ElasticSansClient) Delete(ctx context.Context, id ElasticSanId) (result DeleteOperationResponse, err error)
- func (c ElasticSansClient) DeleteThenPoll(ctx context.Context, id ElasticSanId) error
- func (c ElasticSansClient) Get(ctx context.Context, id ElasticSanId) (result GetOperationResponse, err error)
- func (c ElasticSansClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ElasticSansClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ElasticSansClient) Update(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) (result UpdateOperationResponse, err error)
- func (c ElasticSansClient) UpdateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) error
- type GetOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ProvisioningStates
- type PublicNetworkAccess
- type Sku
- type SkuName
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateElasticSanID ¶
ValidateElasticSanID checks that 'input' can be parsed as a Elastic San ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type ElasticSan ¶
type ElasticSan struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties ElasticSanProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ElasticSanId ¶
ElasticSanId is a struct representing the Resource ID for a Elastic San
func NewElasticSanID ¶
func NewElasticSanID(subscriptionId string, resourceGroupName string, elasticSanName string) ElasticSanId
NewElasticSanID returns a new ElasticSanId struct
func ParseElasticSanID ¶
func ParseElasticSanID(input string) (*ElasticSanId, error)
ParseElasticSanID parses 'input' into a ElasticSanId
func ParseElasticSanIDInsensitively ¶
func ParseElasticSanIDInsensitively(input string) (*ElasticSanId, error)
ParseElasticSanIDInsensitively parses 'input' case-insensitively into a ElasticSanId note: this method should only be used for API response data and not user input
func (*ElasticSanId) FromParseResult ¶
func (id *ElasticSanId) FromParseResult(input resourceids.ParseResult) error
func (ElasticSanId) Segments ¶
func (id ElasticSanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Elastic San ID
func (ElasticSanId) String ¶
func (id ElasticSanId) String() string
String returns a human-readable description of this Elastic San ID
type ElasticSanOperationPredicate ¶
func (ElasticSanOperationPredicate) Matches ¶
func (p ElasticSanOperationPredicate) Matches(input ElasticSan) bool
type ElasticSanProperties ¶
type ElasticSanProperties struct { AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` BaseSizeTiB int64 `json:"baseSizeTiB"` ExtendedCapacitySizeTiB int64 `json:"extendedCapacitySizeTiB"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningStates `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` Sku Sku `json:"sku"` TotalIops *int64 `json:"totalIops,omitempty"` TotalMBps *int64 `json:"totalMBps,omitempty"` TotalSizeTiB *int64 `json:"totalSizeTiB,omitempty"` TotalVolumeSizeGiB *int64 `json:"totalVolumeSizeGiB,omitempty"` VolumeGroupCount *int64 `json:"volumeGroupCount,omitempty"` }
type ElasticSanUpdate ¶
type ElasticSanUpdate struct { Properties *ElasticSanUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ElasticSanUpdateProperties ¶
type ElasticSanUpdateProperties struct { BaseSizeTiB *int64 `json:"baseSizeTiB,omitempty"` ExtendedCapacitySizeTiB *int64 `json:"extendedCapacitySizeTiB,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
type ElasticSansClient ¶
type ElasticSansClient struct {
Client *resourcemanager.Client
}
func NewElasticSansClientWithBaseURI ¶
func NewElasticSansClientWithBaseURI(sdkApi sdkEnv.Api) (*ElasticSansClient, error)
func (ElasticSansClient) Create ¶
func (c ElasticSansClient) Create(ctx context.Context, id ElasticSanId, input ElasticSan) (result CreateOperationResponse, err error)
Create ...
func (ElasticSansClient) CreateThenPoll ¶
func (c ElasticSansClient) CreateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSan) error
CreateThenPoll performs Create then polls until it's completed
func (ElasticSansClient) Delete ¶
func (c ElasticSansClient) Delete(ctx context.Context, id ElasticSanId) (result DeleteOperationResponse, err error)
Delete ...
func (ElasticSansClient) DeleteThenPoll ¶
func (c ElasticSansClient) DeleteThenPoll(ctx context.Context, id ElasticSanId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ElasticSansClient) Get ¶
func (c ElasticSansClient) Get(ctx context.Context, id ElasticSanId) (result GetOperationResponse, err error)
Get ...
func (ElasticSansClient) ListBySubscription ¶
func (c ElasticSansClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ElasticSansClient) ListBySubscriptionComplete ¶
func (c ElasticSansClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ElasticSanOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ElasticSansClient) Update ¶
func (c ElasticSansClient) Update(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ElasticSansClient) UpdateThenPoll ¶
func (c ElasticSansClient) UpdateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ElasticSan }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []ElasticSan }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticSan }
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PrivateEndpointConnectionProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *ProvisioningStates `json:"provisioningState,omitempty"` }
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusFailed PrivateEndpointServiceConnectionStatus = "Failed" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type ProvisioningStates ¶
type ProvisioningStates string
const ( ProvisioningStatesCanceled ProvisioningStates = "Canceled" ProvisioningStatesCreating ProvisioningStates = "Creating" ProvisioningStatesDeleting ProvisioningStates = "Deleting" ProvisioningStatesFailed ProvisioningStates = "Failed" ProvisioningStatesInvalid ProvisioningStates = "Invalid" ProvisioningStatesPending ProvisioningStates = "Pending" ProvisioningStatesSucceeded ProvisioningStates = "Succeeded" ProvisioningStatesUpdating ProvisioningStates = "Updating" )
func (*ProvisioningStates) UnmarshalJSON ¶
func (s *ProvisioningStates) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type SkuTier ¶
type SkuTier string
const (
SkuTierPremium SkuTier = "Premium"
)
func (*SkuTier) UnmarshalJSON ¶
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_elasticsan.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbysubscription.go
- method_update.go
- model_elasticsan.go
- model_elasticsanproperties.go
- model_elasticsanupdate.go
- model_elasticsanupdateproperties.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_sku.go
- predicates.go
- version.go