netapp

package
v57.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package netapp implements the Azure ARM Netapp service API version 2017-08-15.

Microsoft NetApp Azure Resource Provider specification

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type Account

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 interface{} `json:"tags,omitempty"`
	// AccountProperties - NetApp Account properties
	*AccountProperties `json:"properties,omitempty"`
}

Account netApp account resource

func (Account) MarshalJSON

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

MarshalJSON is the custom marshaler for Account.

func (*Account) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Account struct.

type AccountList

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

AccountList list of NetApp account resources

type AccountPatch

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 interface{} `json:"tags,omitempty"`
	// AccountProperties - NetApp Account properties
	*AccountProperties `json:"properties,omitempty"`
}

AccountPatch netApp account patch resource

func (AccountPatch) MarshalJSON

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

MarshalJSON is the custom marshaler for AccountPatch.

func (*AccountPatch) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AccountPatch struct.

type AccountProperties

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

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

MarshalJSON is the custom marshaler for AccountProperties.

type AccountsClient

type AccountsClient struct {
	BaseClient
}

AccountsClient is the microsoft NetApp Azure Resource Provider specification

func NewAccountsClient

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI

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

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

CreateOrUpdate create or update a 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) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder

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

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

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

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

func (AccountsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder

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

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

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

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder

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

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

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

List lists all NetApp accounts in the resource group Parameters: resourceGroupName - the name of the resource group.

func (AccountsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AccountsClient) ListResponder

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

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

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

Update patch a 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

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

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder

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

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

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

type AccountsCreateOrUpdateFuture

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.

func (*AccountsCreateOrUpdateFuture) UnmarshalJSON

func (future *AccountsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AccountsDeleteFuture

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.

func (*AccountsDeleteFuture) UnmarshalJSON

func (future *AccountsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ActiveDirectory

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 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"`
}

ActiveDirectory active Directory

type BaseClient

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

BaseClient is the base client for Netapp.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

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

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 interface{} `json:"tags,omitempty"`
	// PoolProperties - Capacity pool properties
	*PoolProperties `json:"properties,omitempty"`
}

CapacityPool capacity pool resource

func (CapacityPool) MarshalJSON

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

MarshalJSON is the custom marshaler for CapacityPool.

func (*CapacityPool) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CapacityPool struct.

type CapacityPoolList

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

CapacityPoolList list of capacity pool resources

type CapacityPoolPatch

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 interface{} `json:"tags,omitempty"`
	// PoolPatchProperties - Capacity pool properties
	*PoolPatchProperties `json:"properties,omitempty"`
}

CapacityPoolPatch capacity pool patch resource

func (CapacityPoolPatch) MarshalJSON

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

MarshalJSON is the custom marshaler for CapacityPoolPatch.

func (*CapacityPoolPatch) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CapacityPoolPatch struct.

type Dimension

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 Error

type Error struct {
	// Code - Error code
	Code *string `json:"code,omitempty"`
	// Message - Detailed error message
	Message *string `json:"message,omitempty"`
}

Error error response describing why the operation failed.

type ExportPolicyRule

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
	Nfsv3 *bool `json:"nfsv3,omitempty"`
	// Nfsv4 - Allows NFSv4 protocol
	Nfsv4 *bool `json:"nfsv4,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 MetricSpecification

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 MountTarget

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"`
	// Tags - Resource tags
	Tags interface{} `json:"tags,omitempty"`
	// MountTargetProperties - Mount Target Properties
	*MountTargetProperties `json:"properties,omitempty"`
}

MountTarget mount Target

func (MountTarget) MarshalJSON

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

MarshalJSON is the custom marshaler for MountTarget.

func (*MountTarget) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for MountTarget struct.

type MountTargetList

type MountTargetList struct {
	autorest.Response `json:"-"`
	// Value - A list of Mount targets
	Value *[]MountTarget `json:"value,omitempty"`
}

MountTargetList list of Mount Targets

type MountTargetProperties

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"`
	// ProvisioningState - READ-ONLY; Azure lifecycle management
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

MountTargetProperties mount target properties

func (MountTargetProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for MountTargetProperties.

type MountTargetsClient

type MountTargetsClient struct {
	BaseClient
}

MountTargetsClient is the microsoft NetApp Azure Resource Provider specification

func NewMountTargetsClient

func NewMountTargetsClient(subscriptionID string) MountTargetsClient

NewMountTargetsClient creates an instance of the MountTargetsClient client.

func NewMountTargetsClientWithBaseURI

func NewMountTargetsClientWithBaseURI(baseURI string, subscriptionID string) MountTargetsClient

NewMountTargetsClientWithBaseURI creates an instance of the MountTargetsClient 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 (MountTargetsClient) List

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

List list mount targets 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 (MountTargetsClient) ListPreparer

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

ListPreparer prepares the List request.

func (MountTargetsClient) ListResponder

func (client MountTargetsClient) ListResponder(resp *http.Response) (result MountTargetList, err error)

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

func (MountTargetsClient) ListSender

func (client MountTargetsClient) 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 Operation

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

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

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay

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

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

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

type OperationsClient struct {
	BaseClient
}

OperationsClient is the microsoft NetApp Azure Resource Provider specification

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

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

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

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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 PoolPatchProperties

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 ServiceLevel `json:"serviceLevel,omitempty"`
}

PoolPatchProperties patchable pool properties

type PoolProperties

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: 'Standard', 'Premium', 'Ultra'
	ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"`
	// ProvisioningState - READ-ONLY; Azure lifecycle management
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

PoolProperties pool properties

func (PoolProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for PoolProperties.

type PoolsClient

type PoolsClient struct {
	BaseClient
}

PoolsClient is the microsoft NetApp Azure Resource Provider specification

func NewPoolsClient

func NewPoolsClient(subscriptionID string) PoolsClient

NewPoolsClient creates an instance of the PoolsClient client.

func NewPoolsClientWithBaseURI

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

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

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

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

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

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

Delete delete a 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

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

DeletePreparer prepares the Delete request.

func (PoolsClient) DeleteResponder

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

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

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

Get get a 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

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

GetPreparer prepares the Get request.

func (PoolsClient) GetResponder

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

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

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

List lists 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

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

ListPreparer prepares the List request.

func (PoolsClient) ListResponder

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

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

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

Update patch 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) UpdatePreparer

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

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

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

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

type PoolsCreateOrUpdateFuture

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.

func (*PoolsCreateOrUpdateFuture) UnmarshalJSON

func (future *PoolsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PoolsDeleteFuture

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.

func (*PoolsDeleteFuture) UnmarshalJSON

func (future *PoolsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServiceLevel

type ServiceLevel string

ServiceLevel enumerates the values for service level.

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

func PossibleServiceLevelValues

func PossibleServiceLevelValues() []ServiceLevel

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

type ServiceSpecification

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

ServiceSpecification one property of operation, include metric specifications.

type Snapshot

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"`
	// Tags - Resource tags
	Tags interface{} `json:"tags,omitempty"`
	// SnapshotProperties - Snapshot Properties
	*SnapshotProperties `json:"properties,omitempty"`
}

Snapshot snapshot of a Volume

func (Snapshot) MarshalJSON

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

MarshalJSON is the custom marshaler for Snapshot.

func (*Snapshot) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Snapshot struct.

type SnapshotPatch

type SnapshotPatch struct {
	// Tags - Resource tags
	Tags interface{} `json:"tags,omitempty"`
}

SnapshotPatch snapshot patch

type SnapshotProperties

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

SnapshotProperties snapshot properties

func (SnapshotProperties) MarshalJSON

func (sp SnapshotProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotProperties.

type SnapshotsClient

type SnapshotsClient struct {
	BaseClient
}

SnapshotsClient is the microsoft NetApp Azure Resource Provider specification

func NewSnapshotsClient

func NewSnapshotsClient(subscriptionID string) SnapshotsClient

NewSnapshotsClient creates an instance of the SnapshotsClient client.

func NewSnapshotsClientWithBaseURI

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

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 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) CreatePreparer

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

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

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

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

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

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

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

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

Get get a 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

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

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

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

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

List list snapshots 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

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

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

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

func (client SnapshotsClient) Update(ctx context.Context, body SnapshotPatch, resourceGroupName string, accountName string, poolName string, volumeName string, snapshotName string) (result Snapshot, 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

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

UpdatePreparer prepares the Update request.

func (SnapshotsClient) UpdateResponder

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

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

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

type SnapshotsCreateFuture

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.

func (*SnapshotsCreateFuture) UnmarshalJSON

func (future *SnapshotsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsDeleteFuture

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.

func (*SnapshotsDeleteFuture) UnmarshalJSON

func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsList

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

SnapshotsList list of Snapshots

type Volume

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 interface{} `json:"tags,omitempty"`
	// VolumeProperties - Volume properties
	*VolumeProperties `json:"properties,omitempty"`
}

Volume volume resource

func (Volume) MarshalJSON

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

MarshalJSON is the custom marshaler for Volume.

func (*Volume) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Volume struct.

type VolumeList

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

VolumeList list of volume resources

type VolumePatch

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 interface{} `json:"tags,omitempty"`
	// VolumePatchProperties - Patchable volume properties
	*VolumePatchProperties `json:"properties,omitempty"`
}

VolumePatch volume patch resource

func (VolumePatch) MarshalJSON

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

MarshalJSON is the custom marshaler for VolumePatch.

func (*VolumePatch) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for VolumePatch struct.

type VolumePatchProperties

type VolumePatchProperties struct {
	// ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
	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.
	UsageThreshold *int64 `json:"usageThreshold,omitempty"`
	// ExportPolicy - Export policy rule
	ExportPolicy *VolumePatchPropertiesExportPolicy `json:"exportPolicy,omitempty"`
}

VolumePatchProperties patchable volume properties

type VolumePatchPropertiesExportPolicy

type VolumePatchPropertiesExportPolicy struct {
	Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

VolumePatchPropertiesExportPolicy export policy rule

type VolumeProperties

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: 'Standard', 'Premium', 'Ultra'
	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.
	UsageThreshold *int64 `json:"usageThreshold,omitempty"`
	// ExportPolicy - Export policy rule
	ExportPolicy *VolumePropertiesExportPolicy `json:"exportPolicy,omitempty"`
	// ProvisioningState - READ-ONLY; Azure lifecycle management
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes
	SubnetID *string `json:"subnetId,omitempty"`
}

VolumeProperties volume properties

func (VolumeProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for VolumeProperties.

type VolumePropertiesExportPolicy

type VolumePropertiesExportPolicy struct {
	Rules *[]ExportPolicyRule `json:"rules,omitempty"`
}

VolumePropertiesExportPolicy export policy rule

type VolumesClient

type VolumesClient struct {
	BaseClient
}

VolumesClient is the microsoft NetApp Azure Resource Provider specification

func NewVolumesClient

func NewVolumesClient(subscriptionID string) VolumesClient

NewVolumesClient creates an instance of the VolumesClient client.

func NewVolumesClientWithBaseURI

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) CreateOrUpdate

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 a 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) CreateOrUpdatePreparer

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

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

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

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

Delete delete a 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

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) DeleteResponder

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

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

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

Get get a 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

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

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

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

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

List list volumes 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

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

ListPreparer prepares the List request.

func (VolumesClient) ListResponder

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

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) Update

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

Update patch a 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

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

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

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

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

type VolumesCreateOrUpdateFuture

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.

func (*VolumesCreateOrUpdateFuture) UnmarshalJSON

func (future *VolumesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VolumesDeleteFuture

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.

func (*VolumesDeleteFuture) UnmarshalJSON

func (future *VolumesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL