Documentation
¶
Index ¶
- func PossibleValuesForAction() []string
- func PossibleValuesForEncryptionType() []string
- func PossibleValuesForProvisioningStates() []string
- func PossibleValuesForState() []string
- func PossibleValuesForStorageTargetType() []string
- func ValidateElasticSanID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVolumeGroupID(input interface{}, key string) (warnings []string, errors []error)
- type Action
- type CreateOperationResponse
- type DeleteOperationResponse
- type ElasticSanId
- type EncryptionType
- type GetOperationResponse
- type ListByElasticSanCompleteResult
- type ListByElasticSanOperationResponse
- type NetworkRuleSet
- type ProvisioningStates
- type State
- type StorageTargetType
- type UpdateOperationResponse
- type VirtualNetworkRule
- type VolumeGroup
- type VolumeGroupId
- type VolumeGroupOperationPredicate
- type VolumeGroupProperties
- type VolumeGroupUpdate
- type VolumeGroupUpdateProperties
- type VolumeGroupsClient
- func (c VolumeGroupsClient) Create(ctx context.Context, id VolumeGroupId, input VolumeGroup) (result CreateOperationResponse, err error)
- func (c VolumeGroupsClient) CreateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroup) error
- func (c VolumeGroupsClient) Delete(ctx context.Context, id VolumeGroupId) (result DeleteOperationResponse, err error)
- func (c VolumeGroupsClient) DeleteThenPoll(ctx context.Context, id VolumeGroupId) error
- func (c VolumeGroupsClient) Get(ctx context.Context, id VolumeGroupId) (result GetOperationResponse, err error)
- func (c VolumeGroupsClient) ListByElasticSan(ctx context.Context, id ElasticSanId) (result ListByElasticSanOperationResponse, err error)
- func (c VolumeGroupsClient) ListByElasticSanComplete(ctx context.Context, id ElasticSanId) (ListByElasticSanCompleteResult, error)
- func (c VolumeGroupsClient) ListByElasticSanCompleteMatchingPredicate(ctx context.Context, id ElasticSanId, predicate VolumeGroupOperationPredicate) (result ListByElasticSanCompleteResult, err error)
- func (c VolumeGroupsClient) Update(ctx context.Context, id VolumeGroupId, input VolumeGroupUpdate) (result UpdateOperationResponse, err error)
- func (c VolumeGroupsClient) UpdateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroupUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAction ¶
func PossibleValuesForAction() []string
func PossibleValuesForEncryptionType ¶
func PossibleValuesForEncryptionType() []string
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func PossibleValuesForStorageTargetType ¶
func PossibleValuesForStorageTargetType() []string
func ValidateElasticSanID ¶
ValidateElasticSanID checks that 'input' can be parsed as a Elastic San ID
func ValidateVolumeGroupID ¶
ValidateVolumeGroupID checks that 'input' can be parsed as a Volume Group ID
Types ¶
type Action ¶
type Action string
const (
ActionAllow Action = "Allow"
)
func (*Action) UnmarshalJSON ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
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) 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 EncryptionType ¶
type EncryptionType string
const (
EncryptionTypeEncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey"
)
func (*EncryptionType) UnmarshalJSON ¶
func (s *EncryptionType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VolumeGroup }
type ListByElasticSanCompleteResult ¶
type ListByElasticSanCompleteResult struct {
Items []VolumeGroup
}
type ListByElasticSanOperationResponse ¶
type ListByElasticSanOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VolumeGroup }
type NetworkRuleSet ¶
type NetworkRuleSet struct {
VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,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 StorageTargetType ¶
type StorageTargetType string
const ( StorageTargetTypeIscsi StorageTargetType = "Iscsi" StorageTargetTypeNone StorageTargetType = "None" )
func (*StorageTargetType) UnmarshalJSON ¶
func (s *StorageTargetType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VirtualNetworkRule ¶
type VolumeGroup ¶
type VolumeGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VolumeGroupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VolumeGroupId ¶
type VolumeGroupId struct { SubscriptionId string ResourceGroupName string ElasticSanName string VolumeGroupName string }
VolumeGroupId is a struct representing the Resource ID for a Volume Group
func NewVolumeGroupID ¶
func NewVolumeGroupID(subscriptionId string, resourceGroupName string, elasticSanName string, volumeGroupName string) VolumeGroupId
NewVolumeGroupID returns a new VolumeGroupId struct
func ParseVolumeGroupID ¶
func ParseVolumeGroupID(input string) (*VolumeGroupId, error)
ParseVolumeGroupID parses 'input' into a VolumeGroupId
func ParseVolumeGroupIDInsensitively ¶
func ParseVolumeGroupIDInsensitively(input string) (*VolumeGroupId, error)
ParseVolumeGroupIDInsensitively parses 'input' case-insensitively into a VolumeGroupId note: this method should only be used for API response data and not user input
func (VolumeGroupId) ID ¶
func (id VolumeGroupId) ID() string
ID returns the formatted Volume Group ID
func (VolumeGroupId) Segments ¶
func (id VolumeGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume Group ID
func (VolumeGroupId) String ¶
func (id VolumeGroupId) String() string
String returns a human-readable description of this Volume Group ID
type VolumeGroupOperationPredicate ¶
func (VolumeGroupOperationPredicate) Matches ¶
func (p VolumeGroupOperationPredicate) Matches(input VolumeGroup) bool
type VolumeGroupProperties ¶
type VolumeGroupProperties struct { Encryption *EncryptionType `json:"encryption,omitempty"` NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"` ProtocolType *StorageTargetType `json:"protocolType,omitempty"` ProvisioningState *ProvisioningStates `json:"provisioningState,omitempty"` }
type VolumeGroupUpdate ¶
type VolumeGroupUpdate struct { Properties *VolumeGroupUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VolumeGroupUpdateProperties ¶
type VolumeGroupUpdateProperties struct { Encryption *EncryptionType `json:"encryption,omitempty"` NetworkAcls *NetworkRuleSet `json:"networkAcls,omitempty"` ProtocolType *StorageTargetType `json:"protocolType,omitempty"` }
type VolumeGroupsClient ¶
type VolumeGroupsClient struct {
Client *resourcemanager.Client
}
func NewVolumeGroupsClientWithBaseURI ¶
func NewVolumeGroupsClientWithBaseURI(api environments.Api) (*VolumeGroupsClient, error)
func (VolumeGroupsClient) Create ¶
func (c VolumeGroupsClient) Create(ctx context.Context, id VolumeGroupId, input VolumeGroup) (result CreateOperationResponse, err error)
Create ...
func (VolumeGroupsClient) CreateThenPoll ¶
func (c VolumeGroupsClient) CreateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroup) error
CreateThenPoll performs Create then polls until it's completed
func (VolumeGroupsClient) Delete ¶
func (c VolumeGroupsClient) Delete(ctx context.Context, id VolumeGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (VolumeGroupsClient) DeleteThenPoll ¶
func (c VolumeGroupsClient) DeleteThenPoll(ctx context.Context, id VolumeGroupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VolumeGroupsClient) Get ¶
func (c VolumeGroupsClient) Get(ctx context.Context, id VolumeGroupId) (result GetOperationResponse, err error)
Get ...
func (VolumeGroupsClient) ListByElasticSan ¶
func (c VolumeGroupsClient) ListByElasticSan(ctx context.Context, id ElasticSanId) (result ListByElasticSanOperationResponse, err error)
ListByElasticSan ...
func (VolumeGroupsClient) ListByElasticSanComplete ¶
func (c VolumeGroupsClient) ListByElasticSanComplete(ctx context.Context, id ElasticSanId) (ListByElasticSanCompleteResult, error)
ListByElasticSanComplete retrieves all the results into a single object
func (VolumeGroupsClient) ListByElasticSanCompleteMatchingPredicate ¶
func (c VolumeGroupsClient) ListByElasticSanCompleteMatchingPredicate(ctx context.Context, id ElasticSanId, predicate VolumeGroupOperationPredicate) (result ListByElasticSanCompleteResult, err error)
ListByElasticSanCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VolumeGroupsClient) Update ¶
func (c VolumeGroupsClient) Update(ctx context.Context, id VolumeGroupId, input VolumeGroupUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VolumeGroupsClient) UpdateThenPoll ¶
func (c VolumeGroupsClient) UpdateThenPoll(ctx context.Context, id VolumeGroupId, input VolumeGroupUpdate) error
UpdateThenPoll performs Update then polls until it's completed
Source Files
¶
- client.go
- constants.go
- id_elasticsan.go
- id_volumegroup.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyelasticsan.go
- method_update.go
- model_networkruleset.go
- model_virtualnetworkrule.go
- model_volumegroup.go
- model_volumegroupproperties.go
- model_volumegroupupdate.go
- model_volumegroupupdateproperties.go
- predicates.go
- version.go