azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2020-02-01/netapp Index | Files | Directories

package netapp

import "github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2020-02-01/netapp"

Package netapp implements the Azure ARM Netapp service API version 2020-02-01.

Microsoft NetApp Azure Resource Provider specification

Index

Package Files

accounts.go client.go enums.go models.go operations.go pools.go resource.go snapshots.go version.go volumes.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Netapp
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type Account Uses

type Account struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AccountProperties - NetApp Account properties
    *AccountProperties `json:"properties,omitempty"`
}

Account netApp account resource

func (Account) MarshalJSON Uses

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON Uses

func (a *Account) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountList Uses

type AccountList struct {
    autorest.Response `json:"-"`
    // Value - Multiple NetApp accounts
    Value *[]Account `json:"value,omitempty"`
}

AccountList list of NetApp account resources

type AccountPatch Uses

type AccountPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // AccountProperties - NetApp Account properties
    *AccountProperties `json:"properties,omitempty"`
}

AccountPatch netApp account patch resource

func (AccountPatch) MarshalJSON Uses

func (ap AccountPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountPatch.

func (*AccountPatch) UnmarshalJSON Uses

func (ap *AccountPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccountPatch struct.

type AccountProperties Uses

type AccountProperties struct {
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ActiveDirectories - Active Directories
    ActiveDirectories *[]ActiveDirectory `json:"activeDirectories,omitempty"`
}

AccountProperties netApp account properties

func (AccountProperties) MarshalJSON Uses

func (ap AccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountProperties.

type AccountsClient Uses

type AccountsClient struct {
    BaseClient
}

AccountsClient is the microsoft NetApp Azure Resource Provider specification

func NewAccountsClient Uses

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI Uses

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AccountsClient) CreateOrUpdate Uses

func (client AccountsClient) CreateOrUpdate(ctx context.Context, body Account, resourceGroupName string, accountName string) (result AccountsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the specified NetApp account within the resource group Parameters: body - netApp Account object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) CreateOrUpdatePreparer Uses

func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, body Account, resourceGroupName string, accountName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder Uses

func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccountsClient) CreateOrUpdateSender Uses

func (client AccountsClient) CreateOrUpdateSender(req *http.Request) (future AccountsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Delete Uses

func (client AccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result AccountsDeleteFuture, err error)

Delete delete the specified NetApp account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) DeletePreparer Uses

func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder Uses

func (client AccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AccountsClient) DeleteSender Uses

func (client AccountsClient) DeleteSender(req *http.Request) (future AccountsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Get Uses

func (client AccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Account, err error)

Get get the NetApp account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) GetPreparer Uses

func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder Uses

func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccountsClient) GetSender Uses

func (client AccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) List Uses

func (client AccountsClient) List(ctx context.Context, resourceGroupName string) (result AccountList, err error)

List list and describe all NetApp accounts in the resource group. Parameters: resourceGroupName - the name of the resource group.

func (AccountsClient) ListPreparer Uses

func (client AccountsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AccountsClient) ListResponder Uses

func (client AccountsClient) ListResponder(resp *http.Response) (result AccountList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccountsClient) ListSender Uses

func (client AccountsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AccountsClient) Update Uses

func (client AccountsClient) Update(ctx context.Context, body AccountPatch, resourceGroupName string, accountName string) (result AccountsUpdateFuture, err error)

Update patch the specified NetApp account Parameters: body - netApp Account object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (AccountsClient) UpdatePreparer Uses

func (client AccountsClient) UpdatePreparer(ctx context.Context, body AccountPatch, resourceGroupName string, accountName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder Uses

func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccountsClient) UpdateSender Uses

func (client AccountsClient) UpdateSender(req *http.Request) (future AccountsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AccountsCreateOrUpdateFuture Uses

type AccountsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(AccountsClient) (Account, error)
}

AccountsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountsDeleteFuture Uses

type AccountsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(AccountsClient) (autorest.Response, error)
}

AccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type AccountsUpdateFuture Uses

type AccountsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(AccountsClient) (Account, error)
}

AccountsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ActiveDirectory Uses

type ActiveDirectory struct {
    // ActiveDirectoryID - Id of the Active Directory
    ActiveDirectoryID *string `json:"activeDirectoryId,omitempty"`
    // Username - Username of Active Directory domain administrator
    Username *string `json:"username,omitempty"`
    // Password - Plain text password of Active Directory domain administrator
    Password *string `json:"password,omitempty"`
    // Domain - Name of the Active Directory domain
    Domain *string `json:"domain,omitempty"`
    // DNS - Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain
    DNS *string `json:"dns,omitempty"`
    // Status - Status of the Active Directory
    Status *string `json:"status,omitempty"`
    // SmbServerName - NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes
    SmbServerName *string `json:"smbServerName,omitempty"`
    // OrganizationalUnit - The Organizational Unit (OU) within the Windows Active Directory
    OrganizationalUnit *string `json:"organizationalUnit,omitempty"`
    // Site - The Active Directory site the service will limit Domain Controller discovery to
    Site *string `json:"site,omitempty"`
    // BackupOperators - Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier
    BackupOperators *[]string `json:"backupOperators,omitempty"`
}

ActiveDirectory active Directory

type AuthorizeRequest Uses

type AuthorizeRequest struct {
    // RemoteVolumeResourceID - Resource id of the remote volume
    RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
}

AuthorizeRequest authorize request

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Netapp.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CapacityPool Uses

type CapacityPool struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // PoolProperties - Capacity pool properties
    *PoolProperties `json:"properties,omitempty"`
}

CapacityPool capacity pool resource

func (CapacityPool) MarshalJSON Uses

func (cp CapacityPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityPool.

func (*CapacityPool) UnmarshalJSON Uses

func (cp *CapacityPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityPool struct.

type CapacityPoolList Uses

type CapacityPoolList struct {
    autorest.Response `json:"-"`
    // Value - List of Capacity pools
    Value *[]CapacityPool `json:"value,omitempty"`
}

CapacityPoolList list of capacity pool resources

type CapacityPoolPatch Uses

type CapacityPoolPatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // PoolPatchProperties - Capacity pool properties
    *PoolPatchProperties `json:"properties,omitempty"`
}

CapacityPoolPatch capacity pool patch resource

func (CapacityPoolPatch) MarshalJSON Uses

func (cpp CapacityPoolPatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityPoolPatch.

func (*CapacityPoolPatch) UnmarshalJSON Uses

func (cpp *CapacityPoolPatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityPoolPatch struct.

type CheckNameResourceTypes Uses

type CheckNameResourceTypes string

CheckNameResourceTypes enumerates the values for check name resource types.

const (
    // MicrosoftNetAppnetAppAccounts ...
    MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts"
    // MicrosoftNetAppnetAppAccountscapacityPools ...
    MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools"
    // MicrosoftNetAppnetAppAccountscapacityPoolsvolumes ...
    MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes"
    // MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ...
    MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
)

func PossibleCheckNameResourceTypesValues Uses

func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes

PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type.

type Dimension Uses

type Dimension struct {
    // Name - Display name of dimension.
    Name *string `json:"name,omitempty"`
    // DisplayName - Display name of dimension.
    DisplayName *string `json:"displayName,omitempty"`
}

Dimension dimension of blobs, possibly be blob type or access tier.

type EndpointType Uses

type EndpointType string

EndpointType enumerates the values for endpoint type.

const (
    // Dst ...
    Dst EndpointType = "dst"
    // Src ...
    Src EndpointType = "src"
)

func PossibleEndpointTypeValues Uses

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.

type ExportPolicyRule Uses

type ExportPolicyRule struct {
    // RuleIndex - Order index
    RuleIndex *int32 `json:"ruleIndex,omitempty"`
    // UnixReadOnly - Read only access
    UnixReadOnly *bool `json:"unixReadOnly,omitempty"`
    // UnixReadWrite - Read and write access
    UnixReadWrite *bool `json:"unixReadWrite,omitempty"`
    // Cifs - Allows CIFS protocol
    Cifs *bool `json:"cifs,omitempty"`
    // Nfsv3 - Allows NFSv3 protocol. Enable only for NFSv3 type volumes
    Nfsv3 *bool `json:"nfsv3,omitempty"`
    // Nfsv41 - Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes
    Nfsv41 *bool `json:"nfsv41,omitempty"`
    // AllowedClients - Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names
    AllowedClients *string `json:"allowedClients,omitempty"`
}

ExportPolicyRule volume Export Policy Rule

type InAvailabilityReasonType Uses

type InAvailabilityReasonType string

InAvailabilityReasonType enumerates the values for in availability reason type.

const (
    // AlreadyExists ...
    AlreadyExists InAvailabilityReasonType = "AlreadyExists"
    // Invalid ...
    Invalid InAvailabilityReasonType = "Invalid"
)

func PossibleInAvailabilityReasonTypeValues Uses

func PossibleInAvailabilityReasonTypeValues() []InAvailabilityReasonType

PossibleInAvailabilityReasonTypeValues returns an array of possible values for the InAvailabilityReasonType const type.

type MetricSpecification Uses

type MetricSpecification struct {
    // Name - Name of metric specification.
    Name *string `json:"name,omitempty"`
    // DisplayName - Display name of metric specification.
    DisplayName *string `json:"displayName,omitempty"`
    // DisplayDescription - Display description of metric specification.
    DisplayDescription *string `json:"displayDescription,omitempty"`
    // Unit - Unit could be Bytes or Count.
    Unit *string `json:"unit,omitempty"`
    // Dimensions - Dimensions of blobs, including blob type and access tier.
    Dimensions *[]Dimension `json:"dimensions,omitempty"`
    // AggregationType - Aggregation type could be Average.
    AggregationType *string `json:"aggregationType,omitempty"`
    // FillGapWithZero - The property to decide fill gap with zero or not.
    FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`
    // Category - The category this metric specification belong to, could be Capacity.
    Category *string `json:"category,omitempty"`
    // ResourceIDDimensionNameOverride - Account Resource Id.
    ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"`
}

MetricSpecification metric specification of operation.

type MirrorState Uses

type MirrorState string

MirrorState enumerates the values for mirror state.

const (
    // Broken ...
    Broken MirrorState = "Broken"
    // Mirrored ...
    Mirrored MirrorState = "Mirrored"
    // Uninitialized ...
    Uninitialized MirrorState = "Uninitialized"
)

func PossibleMirrorStateValues Uses

func PossibleMirrorStateValues() []MirrorState

PossibleMirrorStateValues returns an array of possible values for the MirrorState const type.

type MountTarget Uses

type MountTarget struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // MountTargetProperties - Mount Target Properties
    *MountTargetProperties `json:"properties,omitempty"`
}

MountTarget mount Target

func (MountTarget) MarshalJSON Uses

func (mt MountTarget) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MountTarget.

func (*MountTarget) UnmarshalJSON Uses

func (mt *MountTarget) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MountTarget struct.

type MountTargetProperties Uses

type MountTargetProperties struct {
    // MountTargetID - READ-ONLY; UUID v4 used to identify the MountTarget
    MountTargetID *string `json:"mountTargetId,omitempty"`
    // FileSystemID - UUID v4 used to identify the MountTarget
    FileSystemID *string `json:"fileSystemId,omitempty"`
    // IPAddress - READ-ONLY; The mount target's IPv4 address
    IPAddress *string `json:"ipAddress,omitempty"`
    // Subnet - The subnet
    Subnet *string `json:"subnet,omitempty"`
    // StartIP - The start of IPv4 address range to use when creating a new mount target
    StartIP *string `json:"startIp,omitempty"`
    // EndIP - The end of IPv4 address range to use when creating a new mount target
    EndIP *string `json:"endIp,omitempty"`
    // Gateway - The gateway of the IPv4 address range to use when creating a new mount target
    Gateway *string `json:"gateway,omitempty"`
    // Netmask - The netmask of the IPv4 address range to use when creating a new mount target
    Netmask *string `json:"netmask,omitempty"`
    // SmbServerFqdn - The SMB server's Fully Qualified Domain Name, FQDN
    SmbServerFqdn *string `json:"smbServerFqdn,omitempty"`
}

MountTargetProperties mount target properties

func (MountTargetProperties) MarshalJSON Uses

func (mtp MountTargetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MountTargetProperties.

type Operation Uses

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - Display metadata associated with the operation.
    Display *OperationDisplay `json:"display,omitempty"`
    // Origin - The origin of operations.
    Origin *string `json:"origin,omitempty"`
    // OperationProperties - Properties of operation, include metric specifications.
    *OperationProperties `json:"properties,omitempty"`
}

Operation microsoft.NetApp REST API operation definition.

func (Operation) MarshalJSON Uses

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON Uses

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - Service provider: Microsoft NetApp.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Type of operation: get, read, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Operation description.
    Description *string `json:"description,omitempty"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of Storage operations supported by the Storage resource provider.
    Value *[]Operation `json:"value,omitempty"`
}

OperationListResult result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.

type OperationProperties Uses

type OperationProperties struct {
    // ServiceSpecification - One property of operation, include metric specifications.
    ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties properties of operation, include metric specifications.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the microsoft NetApp Azure Resource Provider specification

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists all of the available Microsoft.NetApp Rest API operations

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PatchServiceLevel Uses

type PatchServiceLevel string

PatchServiceLevel enumerates the values for patch service level.

const (
    // Premium Premium service level
    Premium PatchServiceLevel = "Premium"
    // Standard Standard service level
    Standard PatchServiceLevel = "Standard"
    // Ultra Ultra service level
    Ultra PatchServiceLevel = "Ultra"
)

func PossiblePatchServiceLevelValues Uses

func PossiblePatchServiceLevelValues() []PatchServiceLevel

PossiblePatchServiceLevelValues returns an array of possible values for the PatchServiceLevel const type.

type PoolPatchProperties Uses

type PoolPatchProperties struct {
    // Size - Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).
    Size *int64 `json:"size,omitempty"`
    // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
    ServiceLevel PatchServiceLevel `json:"serviceLevel,omitempty"`
}

PoolPatchProperties patchable pool properties

type PoolProperties Uses

type PoolProperties struct {
    // PoolID - READ-ONLY; UUID v4 used to identify the Pool
    PoolID *string `json:"poolId,omitempty"`
    // Size - Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).
    Size *int64 `json:"size,omitempty"`
    // ServiceLevel - The service level of the file system. Possible values include: 'PoolServiceLevelStandard', 'PoolServiceLevelPremium', 'PoolServiceLevelUltra'
    ServiceLevel PoolServiceLevel `json:"serviceLevel,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

PoolProperties pool properties

func (PoolProperties) MarshalJSON Uses

func (pp PoolProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PoolProperties.

type PoolServiceLevel Uses

type PoolServiceLevel string

PoolServiceLevel enumerates the values for pool service level.

const (
    // PoolServiceLevelPremium Premium service level
    PoolServiceLevelPremium PoolServiceLevel = "Premium"
    // PoolServiceLevelStandard Standard service level
    PoolServiceLevelStandard PoolServiceLevel = "Standard"
    // PoolServiceLevelUltra Ultra service level
    PoolServiceLevelUltra PoolServiceLevel = "Ultra"
)

func PossiblePoolServiceLevelValues Uses

func PossiblePoolServiceLevelValues() []PoolServiceLevel

PossiblePoolServiceLevelValues returns an array of possible values for the PoolServiceLevel const type.

type PoolsClient Uses

type PoolsClient struct {
    BaseClient
}

PoolsClient is the microsoft NetApp Azure Resource Provider specification

func NewPoolsClient Uses

func NewPoolsClient(subscriptionID string) PoolsClient

NewPoolsClient creates an instance of the PoolsClient client.

func NewPoolsClientWithBaseURI Uses

func NewPoolsClientWithBaseURI(baseURI string, subscriptionID string) PoolsClient

NewPoolsClientWithBaseURI creates an instance of the PoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PoolsClient) CreateOrUpdate Uses

func (client PoolsClient) CreateOrUpdate(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (result PoolsCreateOrUpdateFuture, err error)

CreateOrUpdate create or Update a capacity pool Parameters: body - capacity pool object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) CreateOrUpdatePreparer Uses

func (client PoolsClient) CreateOrUpdatePreparer(ctx context.Context, body CapacityPool, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoolsClient) CreateOrUpdateResponder Uses

func (client PoolsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityPool, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PoolsClient) CreateOrUpdateSender Uses

func (client PoolsClient) CreateOrUpdateSender(req *http.Request) (future PoolsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) Delete Uses

func (client PoolsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result PoolsDeleteFuture, err error)

Delete delete the specified capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) DeletePreparer Uses

func (client PoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PoolsClient) DeleteResponder Uses

func (client PoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PoolsClient) DeleteSender Uses

func (client PoolsClient) DeleteSender(req *http.Request) (future PoolsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) Get Uses

func (client PoolsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result CapacityPool, err error)

Get get details of the specified capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) GetPreparer Uses

func (client PoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PoolsClient) GetResponder Uses

func (client PoolsClient) GetResponder(resp *http.Response) (result CapacityPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PoolsClient) GetSender Uses

func (client PoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) List Uses

func (client PoolsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result CapacityPoolList, err error)

List list all capacity pools in the NetApp Account Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account

func (PoolsClient) ListPreparer Uses

func (client PoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PoolsClient) ListResponder Uses

func (client PoolsClient) ListResponder(resp *http.Response) (result CapacityPoolList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PoolsClient) ListSender Uses

func (client PoolsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PoolsClient) Update Uses

func (client PoolsClient) Update(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (result PoolsUpdateFuture, err error)

Update patch the specified capacity pool Parameters: body - capacity pool object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (PoolsClient) UpdatePreparer Uses

func (client PoolsClient) UpdatePreparer(ctx context.Context, body CapacityPoolPatch, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PoolsClient) UpdateResponder Uses

func (client PoolsClient) UpdateResponder(resp *http.Response) (result CapacityPool, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PoolsClient) UpdateSender Uses

func (client PoolsClient) UpdateSender(req *http.Request) (future PoolsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type PoolsCreateOrUpdateFuture Uses

type PoolsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (CapacityPool, error)
}

PoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoolsDeleteFuture Uses

type PoolsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (autorest.Response, error)
}

PoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoolsUpdateFuture Uses

type PoolsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoolsClient) (CapacityPool, error)
}

PoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RelationshipStatus Uses

type RelationshipStatus string

RelationshipStatus enumerates the values for relationship status.

const (
    // Idle ...
    Idle RelationshipStatus = "Idle"
    // Transferring ...
    Transferring RelationshipStatus = "Transferring"
)

func PossibleRelationshipStatusValues Uses

func PossibleRelationshipStatusValues() []RelationshipStatus

PossibleRelationshipStatusValues returns an array of possible values for the RelationshipStatus const type.

type ReplicationObject Uses

type ReplicationObject struct {
    // ReplicationID - Id
    ReplicationID *string `json:"replicationId,omitempty"`
    // EndpointType - Indicates whether the local volume is the source or destination for the Volume Replication. Possible values include: 'Src', 'Dst'
    EndpointType EndpointType `json:"endpointType,omitempty"`
    // ReplicationSchedule - Schedule. Possible values include: '10minutely', 'Hourly', 'Daily'
    ReplicationSchedule ReplicationSchedule `json:"replicationSchedule,omitempty"`
    // RemoteVolumeResourceID - The resource ID of the remote volume.
    RemoteVolumeResourceID *string `json:"remoteVolumeResourceId,omitempty"`
    // RemoteVolumeRegion - The remote region for the other end of the Volume Replication.
    RemoteVolumeRegion *string `json:"remoteVolumeRegion,omitempty"`
}

ReplicationObject replication properties

type ReplicationSchedule Uses

type ReplicationSchedule string

ReplicationSchedule enumerates the values for replication schedule.

const (
    // OneZerominutely ...
    OneZerominutely ReplicationSchedule = "_10minutely"
    // Daily ...
    Daily ReplicationSchedule = "daily"
    // Hourly ...
    Hourly ReplicationSchedule = "hourly"
)

func PossibleReplicationScheduleValues Uses

func PossibleReplicationScheduleValues() []ReplicationSchedule

PossibleReplicationScheduleValues returns an array of possible values for the ReplicationSchedule const type.

type ReplicationStatus Uses

type ReplicationStatus struct {
    autorest.Response `json:"-"`
    // Healthy - Replication health check
    Healthy *bool `json:"healthy,omitempty"`
    // RelationshipStatus - Status of the mirror relationship. Possible values include: 'Idle', 'Transferring'
    RelationshipStatus RelationshipStatus `json:"relationshipStatus,omitempty"`
    // MirrorState - The status of the replication. Possible values include: 'Uninitialized', 'Mirrored', 'Broken'
    MirrorState MirrorState `json:"mirrorState,omitempty"`
    // TotalProgress - The progress of the replication
    TotalProgress *string `json:"totalProgress,omitempty"`
    // ErrorMessage - Displays error message if the replication is in an error state
    ErrorMessage *string `json:"errorMessage,omitempty"`
}

ReplicationStatus replication status

type ResourceClient Uses

type ResourceClient struct {
    BaseClient
}

ResourceClient is the microsoft NetApp Azure Resource Provider specification

func NewResourceClient Uses

func NewResourceClient(subscriptionID string) ResourceClient

NewResourceClient creates an instance of the ResourceClient client.

func NewResourceClientWithBaseURI Uses

func NewResourceClientWithBaseURI(baseURI string, subscriptionID string) ResourceClient

NewResourceClientWithBaseURI creates an instance of the ResourceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ResourceClient) CheckFilePathAvailability Uses

func (client ResourceClient) CheckFilePathAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result ResourceNameAvailability, err error)

CheckFilePathAvailability check if a file path is available. Parameters: body - file path availability request. location - the location

func (ResourceClient) CheckFilePathAvailabilityPreparer Uses

func (client ResourceClient) CheckFilePathAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)

CheckFilePathAvailabilityPreparer prepares the CheckFilePathAvailability request.

func (ResourceClient) CheckFilePathAvailabilityResponder Uses

func (client ResourceClient) CheckFilePathAvailabilityResponder(resp *http.Response) (result ResourceNameAvailability, err error)

CheckFilePathAvailabilityResponder handles the response to the CheckFilePathAvailability request. The method always closes the http.Response Body.

func (ResourceClient) CheckFilePathAvailabilitySender Uses

func (client ResourceClient) CheckFilePathAvailabilitySender(req *http.Request) (*http.Response, error)

CheckFilePathAvailabilitySender sends the CheckFilePathAvailability request. The method will close the http.Response Body if it receives an error.

func (ResourceClient) CheckNameAvailability Uses

func (client ResourceClient) CheckNameAvailability(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (result ResourceNameAvailability, err error)

CheckNameAvailability check if a resource name is available. Parameters: body - name availability request. location - the location

func (ResourceClient) CheckNameAvailabilityPreparer Uses

func (client ResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, body ResourceNameAvailabilityRequest, location string) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ResourceClient) CheckNameAvailabilityResponder Uses

func (client ResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result ResourceNameAvailability, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ResourceClient) CheckNameAvailabilitySender Uses

func (client ResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type ResourceNameAvailability Uses

type ResourceNameAvailability struct {
    autorest.Response `json:"-"`
    // IsAvailable - <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.
    IsAvailable *bool `json:"isAvailable,omitempty"`
    // Reason - <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'
    Reason InAvailabilityReasonType `json:"reason,omitempty"`
    // Message - If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.
    Message *string `json:"message,omitempty"`
}

ResourceNameAvailability information regarding availability of a resource name.

type ResourceNameAvailabilityRequest Uses

type ResourceNameAvailabilityRequest struct {
    // Name - Resource name to verify.
    Name *string `json:"name,omitempty"`
    // Type - Resource type used for verification. Possible values include: 'MicrosoftNetAppnetAppAccounts', 'MicrosoftNetAppnetAppAccountscapacityPools', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumes', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots'
    Type CheckNameResourceTypes `json:"type,omitempty"`
    // ResourceGroup - Resource group name.
    ResourceGroup *string `json:"resourceGroup,omitempty"`
}

ResourceNameAvailabilityRequest resource name availability request content.

type ServiceLevel Uses

type ServiceLevel string

ServiceLevel enumerates the values for service level.

const (
    // ServiceLevelPremium Premium service level
    ServiceLevelPremium ServiceLevel = "Premium"
    // ServiceLevelStandard Standard service level
    ServiceLevelStandard ServiceLevel = "Standard"
    // ServiceLevelUltra Ultra service level
    ServiceLevelUltra ServiceLevel = "Ultra"
)

func PossibleServiceLevelValues Uses

func PossibleServiceLevelValues() []ServiceLevel

PossibleServiceLevelValues returns an array of possible values for the ServiceLevel const type.

type ServiceSpecification Uses

type ServiceSpecification struct {
    // MetricSpecifications - Metric specifications of operation.
    MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification one property of operation, include metric specifications.

type Snapshot Uses

type Snapshot struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // SnapshotProperties - Snapshot Properties
    *SnapshotProperties `json:"properties,omitempty"`
}

Snapshot snapshot of a Volume

func (Snapshot) MarshalJSON Uses

func (s Snapshot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Snapshot.

func (*Snapshot) UnmarshalJSON Uses

func (s *Snapshot) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Snapshot struct.

type SnapshotProperties Uses

type SnapshotProperties struct {
    // SnapshotID - READ-ONLY; UUID v4 used to identify the Snapshot
    SnapshotID *string `json:"snapshotId,omitempty"`
    // Created - READ-ONLY; The creation date of the snapshot
    Created *date.Time `json:"created,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

SnapshotProperties snapshot properties

type SnapshotsClient Uses

type SnapshotsClient struct {
    BaseClient
}

SnapshotsClient is the microsoft NetApp Azure Resource Provider specification

func NewSnapshotsClient Uses

func NewSnapshotsClient(subscriptionID string) SnapshotsClient

NewSnapshotsClient creates an instance of the SnapshotsClient client.

func NewSnapshotsClientWithBaseURI Uses

func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient

NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SnapshotsClient) Create Uses

func (client SnapshotsClient) Create(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsCreateFuture, err error)

Create create the specified snapshot within the given volume Parameters: body - snapshot object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) CreatePreparer Uses

func (client SnapshotsClient) CreatePreparer(ctx context.Context, body Snapshot, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SnapshotsClient) CreateResponder Uses

func (client SnapshotsClient) CreateResponder(resp *http.Response) (result Snapshot, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SnapshotsClient) CreateSender Uses

func (client SnapshotsClient) CreateSender(req *http.Request) (future SnapshotsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Delete Uses

func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsDeleteFuture, err error)

Delete delete snapshot Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) DeletePreparer Uses

func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SnapshotsClient) DeleteResponder Uses

func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SnapshotsClient) DeleteSender Uses

func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Get Uses

func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result Snapshot, err error)

Get get details of the specified snapshot Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) GetPreparer Uses

func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SnapshotsClient) GetResponder Uses

func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SnapshotsClient) GetSender Uses

func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) List Uses

func (client SnapshotsClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result SnapshotsList, err error)

List list all snapshots associated with the volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (SnapshotsClient) ListPreparer Uses

func (client SnapshotsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SnapshotsClient) ListResponder Uses

func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotsList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SnapshotsClient) ListSender Uses

func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Update Uses

func (client SnapshotsClient) Update(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result SnapshotsUpdateFuture, err error)

Update patch a snapshot Parameters: body - snapshot object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume snapshotName - the name of the mount target

func (SnapshotsClient) UpdatePreparer Uses

func (client SnapshotsClient) UpdatePreparer(ctx context.Context, body interface{}, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SnapshotsClient) UpdateResponder Uses

func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SnapshotsClient) UpdateSender Uses

func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SnapshotsCreateFuture Uses

type SnapshotsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

SnapshotsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsDeleteFuture Uses

type SnapshotsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (autorest.Response, error)
}

SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsList Uses

type SnapshotsList struct {
    autorest.Response `json:"-"`
    // Value - A list of Snapshots
    Value *[]Snapshot `json:"value,omitempty"`
}

SnapshotsList list of Snapshots

type SnapshotsUpdateFuture Uses

type SnapshotsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type Volume Uses

type Volume struct {
    autorest.Response `json:"-"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // VolumeProperties - Volume properties
    *VolumeProperties `json:"properties,omitempty"`
}

Volume volume resource

func (Volume) MarshalJSON Uses

func (vVar Volume) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Volume.

func (*Volume) UnmarshalJSON Uses

func (vVar *Volume) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Volume struct.

type VolumeList Uses

type VolumeList struct {
    autorest.Response `json:"-"`
    // Value - List of volumes
    Value *[]Volume `json:"value,omitempty"`
}

VolumeList list of volume resources

type VolumePatch Uses

type VolumePatch struct {
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    // VolumePatchProperties - Patchable volume properties
    *VolumePatchProperties `json:"properties,omitempty"`
}

VolumePatch volume patch resource

func (VolumePatch) MarshalJSON Uses

func (vp VolumePatch) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VolumePatch.

func (*VolumePatch) UnmarshalJSON Uses

func (vp *VolumePatch) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VolumePatch struct.

type VolumePatchProperties Uses

type VolumePatchProperties struct {
    // ServiceLevel - The service level of the file system. Possible values include: 'ServiceLevelStandard', 'ServiceLevelPremium', 'ServiceLevelUltra'
    ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"`
    // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
    UsageThreshold *int64 `json:"usageThreshold,omitempty"`
    // ExportPolicy - Set of export policy rules
    ExportPolicy *VolumePatchPropertiesExportPolicy `json:"exportPolicy,omitempty"`
}

VolumePatchProperties patchable volume properties

type VolumePatchPropertiesExportPolicy Uses

type VolumePatchPropertiesExportPolicy struct {
    // Rules - Export policy rule
    Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

VolumePatchPropertiesExportPolicy set of export policy rules

type VolumeProperties Uses

type VolumeProperties struct {
    // FileSystemID - READ-ONLY; Unique FileSystem Identifier.
    FileSystemID *string `json:"fileSystemId,omitempty"`
    // CreationToken - A unique file path for the volume. Used when creating mount targets
    CreationToken *string `json:"creationToken,omitempty"`
    // ServiceLevel - The service level of the file system. Possible values include: 'VolumeServiceLevelStandard', 'VolumeServiceLevelPremium', 'VolumeServiceLevelUltra'
    ServiceLevel VolumeServiceLevel `json:"serviceLevel,omitempty"`
    // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.
    UsageThreshold *int64 `json:"usageThreshold,omitempty"`
    // ExportPolicy - Set of export policy rules
    ExportPolicy *VolumePropertiesExportPolicy `json:"exportPolicy,omitempty"`
    // ProtocolTypes - Set of protocol types
    ProtocolTypes *[]string `json:"protocolTypes,omitempty"`
    // ProvisioningState - READ-ONLY; Azure lifecycle management
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // SnapshotID - UUID v4 or resource identifier used to identify the Snapshot.
    SnapshotID *string `json:"snapshotId,omitempty"`
    // BaremetalTenantID - READ-ONLY; Unique Baremetal Tenant Identifier.
    BaremetalTenantID *string `json:"baremetalTenantId,omitempty"`
    // SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
    SubnetID *string `json:"subnetId,omitempty"`
    // MountTargets - List of mount targets
    MountTargets *[]MountTargetProperties `json:"mountTargets,omitempty"`
    // VolumeType - What type of volume is this
    VolumeType *string `json:"volumeType,omitempty"`
    // DataProtection - DataProtection type volumes include an object containing details of the replication
    DataProtection *VolumePropertiesDataProtection `json:"dataProtection,omitempty"`
    // IsRestoring - Restoring
    IsRestoring *bool `json:"isRestoring,omitempty"`
    // SnapshotDirectoryVisible - If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true).
    SnapshotDirectoryVisible *bool `json:"snapshotDirectoryVisible,omitempty"`
}

VolumeProperties volume properties

func (VolumeProperties) MarshalJSON Uses

func (vp VolumeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VolumeProperties.

type VolumePropertiesDataProtection Uses

type VolumePropertiesDataProtection struct {
    // Replication - Replication properties
    Replication *ReplicationObject `json:"replication,omitempty"`
    // Snapshot - Snapshot properties.
    Snapshot *VolumeSnapshotProperties `json:"snapshot,omitempty"`
}

VolumePropertiesDataProtection dataProtection type volumes include an object containing details of the replication

type VolumePropertiesExportPolicy Uses

type VolumePropertiesExportPolicy struct {
    // Rules - Export policy rule
    Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

VolumePropertiesExportPolicy set of export policy rules

type VolumeRevert Uses

type VolumeRevert struct {
    // SnapshotID - Resource id of the snapshot
    SnapshotID *string `json:"snapshotId,omitempty"`
}

VolumeRevert revert a volume to the snapshot

type VolumeServiceLevel Uses

type VolumeServiceLevel string

VolumeServiceLevel enumerates the values for volume service level.

const (
    // VolumeServiceLevelPremium Premium service level
    VolumeServiceLevelPremium VolumeServiceLevel = "Premium"
    // VolumeServiceLevelStandard Standard service level
    VolumeServiceLevelStandard VolumeServiceLevel = "Standard"
    // VolumeServiceLevelUltra Ultra service level
    VolumeServiceLevelUltra VolumeServiceLevel = "Ultra"
)

func PossibleVolumeServiceLevelValues Uses

func PossibleVolumeServiceLevelValues() []VolumeServiceLevel

PossibleVolumeServiceLevelValues returns an array of possible values for the VolumeServiceLevel const type.

type VolumeSnapshotProperties Uses

type VolumeSnapshotProperties struct {
    // SnapshotPolicyID - Snapshot Policy ResourceId
    SnapshotPolicyID *string `json:"snapshotPolicyId,omitempty"`
}

VolumeSnapshotProperties volume Snapshot Properties

type VolumesAuthorizeReplicationFuture Uses

type VolumesAuthorizeReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesAuthorizeReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesBreakReplicationFuture Uses

type VolumesBreakReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesBreakReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesClient Uses

type VolumesClient struct {
    BaseClient
}

VolumesClient is the microsoft NetApp Azure Resource Provider specification

func NewVolumesClient Uses

func NewVolumesClient(subscriptionID string) VolumesClient

NewVolumesClient creates an instance of the VolumesClient client.

func NewVolumesClientWithBaseURI Uses

func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient

NewVolumesClientWithBaseURI creates an instance of the VolumesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VolumesClient) AuthorizeReplication Uses

func (client VolumesClient) AuthorizeReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (result VolumesAuthorizeReplicationFuture, err error)

AuthorizeReplication authorize the replication connection on the source volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - authorize request object supplied in the body of the operation.

func (VolumesClient) AuthorizeReplicationPreparer Uses

func (client VolumesClient) AuthorizeReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body AuthorizeRequest) (*http.Request, error)

AuthorizeReplicationPreparer prepares the AuthorizeReplication request.

func (VolumesClient) AuthorizeReplicationResponder Uses

func (client VolumesClient) AuthorizeReplicationResponder(resp *http.Response) (result autorest.Response, err error)

AuthorizeReplicationResponder handles the response to the AuthorizeReplication request. The method always closes the http.Response Body.

func (VolumesClient) AuthorizeReplicationSender Uses

func (client VolumesClient) AuthorizeReplicationSender(req *http.Request) (future VolumesAuthorizeReplicationFuture, err error)

AuthorizeReplicationSender sends the AuthorizeReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) BreakReplication Uses

func (client VolumesClient) BreakReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesBreakReplicationFuture, err error)

BreakReplication break the replication connection on the destination volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) BreakReplicationPreparer Uses

func (client VolumesClient) BreakReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

BreakReplicationPreparer prepares the BreakReplication request.

func (VolumesClient) BreakReplicationResponder Uses

func (client VolumesClient) BreakReplicationResponder(resp *http.Response) (result autorest.Response, err error)

BreakReplicationResponder handles the response to the BreakReplication request. The method always closes the http.Response Body.

func (VolumesClient) BreakReplicationSender Uses

func (client VolumesClient) BreakReplicationSender(req *http.Request) (future VolumesBreakReplicationFuture, err error)

BreakReplicationSender sends the BreakReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) CreateOrUpdate Uses

func (client VolumesClient) CreateOrUpdate(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the specified volume within the capacity pool Parameters: body - volume object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) CreateOrUpdatePreparer Uses

func (client VolumesClient) CreateOrUpdatePreparer(ctx context.Context, body Volume, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VolumesClient) CreateOrUpdateResponder Uses

func (client VolumesClient) CreateOrUpdateResponder(resp *http.Response) (result Volume, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VolumesClient) CreateOrUpdateSender Uses

func (client VolumesClient) CreateOrUpdateSender(req *http.Request) (future VolumesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Delete Uses

func (client VolumesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteFuture, err error)

Delete delete the specified volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) DeletePreparer Uses

func (client VolumesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VolumesClient) DeleteReplication Uses

func (client VolumesClient) DeleteReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesDeleteReplicationFuture, err error)

DeleteReplication delete the replication connection on the destination volume, and send release to the source replication Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) DeleteReplicationPreparer Uses

func (client VolumesClient) DeleteReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

DeleteReplicationPreparer prepares the DeleteReplication request.

func (VolumesClient) DeleteReplicationResponder Uses

func (client VolumesClient) DeleteReplicationResponder(resp *http.Response) (result autorest.Response, err error)

DeleteReplicationResponder handles the response to the DeleteReplication request. The method always closes the http.Response Body.

func (VolumesClient) DeleteReplicationSender Uses

func (client VolumesClient) DeleteReplicationSender(req *http.Request) (future VolumesDeleteReplicationFuture, err error)

DeleteReplicationSender sends the DeleteReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) DeleteResponder Uses

func (client VolumesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VolumesClient) DeleteSender Uses

func (client VolumesClient) DeleteSender(req *http.Request) (future VolumesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Get Uses

func (client VolumesClient) Get(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result Volume, err error)

Get get the details of the specified volume Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) GetPreparer Uses

func (client VolumesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VolumesClient) GetResponder Uses

func (client VolumesClient) GetResponder(resp *http.Response) (result Volume, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VolumesClient) GetSender Uses

func (client VolumesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) List Uses

func (client VolumesClient) List(ctx context.Context, resourceGroupName string, accountName string, poolName string) (result VolumeList, err error)

List list all volumes within the capacity pool Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool

func (VolumesClient) ListPreparer Uses

func (client VolumesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VolumesClient) ListResponder Uses

func (client VolumesClient) ListResponder(resp *http.Response) (result VolumeList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VolumesClient) ListSender Uses

func (client VolumesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) ReplicationStatusMethod Uses

func (client VolumesClient) ReplicationStatusMethod(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result ReplicationStatus, err error)

ReplicationStatusMethod get the status of the replication Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) ReplicationStatusMethodPreparer Uses

func (client VolumesClient) ReplicationStatusMethodPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ReplicationStatusMethodPreparer prepares the ReplicationStatusMethod request.

func (VolumesClient) ReplicationStatusMethodResponder Uses

func (client VolumesClient) ReplicationStatusMethodResponder(resp *http.Response) (result ReplicationStatus, err error)

ReplicationStatusMethodResponder handles the response to the ReplicationStatusMethod request. The method always closes the http.Response Body.

func (VolumesClient) ReplicationStatusMethodSender Uses

func (client VolumesClient) ReplicationStatusMethodSender(req *http.Request) (*http.Response, error)

ReplicationStatusMethodSender sends the ReplicationStatusMethod request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) ResyncReplication Uses

func (client VolumesClient) ResyncReplication(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesResyncReplicationFuture, err error)

ResyncReplication resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination. Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) ResyncReplicationPreparer Uses

func (client VolumesClient) ResyncReplicationPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

ResyncReplicationPreparer prepares the ResyncReplication request.

func (VolumesClient) ResyncReplicationResponder Uses

func (client VolumesClient) ResyncReplicationResponder(resp *http.Response) (result autorest.Response, err error)

ResyncReplicationResponder handles the response to the ResyncReplication request. The method always closes the http.Response Body.

func (VolumesClient) ResyncReplicationSender Uses

func (client VolumesClient) ResyncReplicationSender(req *http.Request) (future VolumesResyncReplicationFuture, err error)

ResyncReplicationSender sends the ResyncReplication request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Revert Uses

func (client VolumesClient) Revert(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (result VolumesRevertFuture, err error)

Revert revert a volume to the snapshot specified in the body Parameters: resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume body - object for snapshot to revert supplied in the body of the operation.

func (VolumesClient) RevertPreparer Uses

func (client VolumesClient) RevertPreparer(ctx context.Context, resourceGroupName string, accountName string, poolName string, volumeName string, body VolumeRevert) (*http.Request, error)

RevertPreparer prepares the Revert request.

func (VolumesClient) RevertResponder Uses

func (client VolumesClient) RevertResponder(resp *http.Response) (result autorest.Response, err error)

RevertResponder handles the response to the Revert request. The method always closes the http.Response Body.

func (VolumesClient) RevertSender Uses

func (client VolumesClient) RevertSender(req *http.Request) (future VolumesRevertFuture, err error)

RevertSender sends the Revert request. The method will close the http.Response Body if it receives an error.

func (VolumesClient) Update Uses

func (client VolumesClient) Update(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (result VolumesUpdateFuture, err error)

Update patch the specified volume Parameters: body - volume object supplied in the body of the operation. resourceGroupName - the name of the resource group. accountName - the name of the NetApp account poolName - the name of the capacity pool volumeName - the name of the volume

func (VolumesClient) UpdatePreparer Uses

func (client VolumesClient) UpdatePreparer(ctx context.Context, body VolumePatch, resourceGroupName string, accountName string, poolName string, volumeName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VolumesClient) UpdateResponder Uses

func (client VolumesClient) UpdateResponder(resp *http.Response) (result Volume, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VolumesClient) UpdateSender Uses

func (client VolumesClient) UpdateSender(req *http.Request) (future VolumesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VolumesCreateOrUpdateFuture Uses

type VolumesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (Volume, error)
}

VolumesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesDeleteFuture Uses

type VolumesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesDeleteReplicationFuture Uses

type VolumesDeleteReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesDeleteReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesResyncReplicationFuture Uses

type VolumesResyncReplicationFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesResyncReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesRevertFuture Uses

type VolumesRevertFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (autorest.Response, error)
}

VolumesRevertFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VolumesUpdateFuture Uses

type VolumesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VolumesClient) (Volume, error)
}

VolumesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

Directories

PathSynopsis
netappapi

Package netapp imports 9 packages (graph) and is imported by 1 packages. Updated 2021-01-16. Refresh now. Tools for package owners.