fabric

package
v26.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package fabric implements the Azure ARM Fabric service API version 2016-05-01.

Fabric Admin Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Fabric
	DefaultBaseURI = "https://adminmanagement.local.azurestack.external"
)

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 BaseClient

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

BaseClient is the base client for Fabric.

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.

type ComputeFabricOperationsClient

type ComputeFabricOperationsClient struct {
	BaseClient
}

ComputeFabricOperationsClient is the fabric Admin Client

func NewComputeFabricOperationsClient

func NewComputeFabricOperationsClient(subscriptionID string) ComputeFabricOperationsClient

NewComputeFabricOperationsClient creates an instance of the ComputeFabricOperationsClient client.

func NewComputeFabricOperationsClientWithBaseURI

func NewComputeFabricOperationsClientWithBaseURI(baseURI string, subscriptionID string) ComputeFabricOperationsClient

NewComputeFabricOperationsClientWithBaseURI creates an instance of the ComputeFabricOperationsClient client.

func (ComputeFabricOperationsClient) Get

func (client ComputeFabricOperationsClient) Get(ctx context.Context, location string, provider string, computeOperationResult string) (result OperationStatus, err error)

Get get the status of a compute fabric operation.

location is location of the resource. provider is name of the provider. computeOperationResult is id of a compute fabric operation.

func (ComputeFabricOperationsClient) GetPreparer

func (client ComputeFabricOperationsClient) GetPreparer(ctx context.Context, location string, provider string, computeOperationResult string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ComputeFabricOperationsClient) GetResponder

func (client ComputeFabricOperationsClient) GetResponder(resp *http.Response) (result OperationStatus, err error)

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

func (ComputeFabricOperationsClient) GetSender

func (client ComputeFabricOperationsClient) 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.

type EdgeGateway

type EdgeGateway struct {
	autorest.Response `json:"-"`
	// EdgeGatewayModel - Model which holds information related to edge gateways.
	*EdgeGatewayModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

EdgeGateway this resource represents a gateway, which provides the configuration needed to provide gateway services to virtual networks.

func (EdgeGateway) MarshalJSON

func (eg EdgeGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeGateway.

func (*EdgeGateway) UnmarshalJSON

func (eg *EdgeGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EdgeGateway struct.

type EdgeGatewayList

type EdgeGatewayList struct {
	autorest.Response `json:"-"`
	// Value - Array of edge gateways.
	Value *[]EdgeGateway `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

EdgeGatewayList pageable list of edge gateways.

func (EdgeGatewayList) IsEmpty

func (egl EdgeGatewayList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EdgeGatewayListIterator

type EdgeGatewayListIterator struct {
	// contains filtered or unexported fields
}

EdgeGatewayListIterator provides access to a complete listing of EdgeGateway values.

func (*EdgeGatewayListIterator) Next

func (iter *EdgeGatewayListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EdgeGatewayListIterator) NotDone

func (iter EdgeGatewayListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EdgeGatewayListIterator) Response

func (iter EdgeGatewayListIterator) Response() EdgeGatewayList

Response returns the raw server response from the last page request.

func (EdgeGatewayListIterator) Value

func (iter EdgeGatewayListIterator) Value() EdgeGateway

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EdgeGatewayListPage

type EdgeGatewayListPage struct {
	// contains filtered or unexported fields
}

EdgeGatewayListPage contains a page of EdgeGateway values.

func (*EdgeGatewayListPage) Next

func (page *EdgeGatewayListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EdgeGatewayListPage) NotDone

func (page EdgeGatewayListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EdgeGatewayListPage) Response

func (page EdgeGatewayListPage) Response() EdgeGatewayList

Response returns the raw server response from the last page request.

func (EdgeGatewayListPage) Values

func (page EdgeGatewayListPage) Values() []EdgeGateway

Values returns the slice of values for the current page or nil if there are no values.

type EdgeGatewayModel

type EdgeGatewayModel struct {
	// State - The current state of the edge gateway.
	State *string `json:"state,omitempty"`
	// TotalCapacity - The total network capacity.
	TotalCapacity *int64 `json:"totalCapacity,omitempty"`
	// AvailableCapacity - The available network capacity.
	AvailableCapacity *int64 `json:"availableCapacity,omitempty"`
	// NumberOfConnections - The current number of connections.
	NumberOfConnections *int32 `json:"numberOfConnections,omitempty"`
}

EdgeGatewayModel model which holds information related to edge gateways.

type EdgeGatewayPool

type EdgeGatewayPool struct {
	autorest.Response `json:"-"`
	// EdgeGatewayPoolModel - All the properties of an edge gateway pool.
	*EdgeGatewayPoolModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

EdgeGatewayPool this resource represents an edge gateway pool, which contains an array of gateways.

func (EdgeGatewayPool) MarshalJSON

func (egp EdgeGatewayPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeGatewayPool.

func (*EdgeGatewayPool) UnmarshalJSON

func (egp *EdgeGatewayPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EdgeGatewayPool struct.

type EdgeGatewayPoolList

type EdgeGatewayPoolList struct {
	autorest.Response `json:"-"`
	// Value - The array of edge gateway pools in this page.
	Value *[]EdgeGatewayPool `json:"value,omitempty"`
	// NextLink - The URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

EdgeGatewayPoolList a pageable list of edge gateway pools.

func (EdgeGatewayPoolList) IsEmpty

func (egpl EdgeGatewayPoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EdgeGatewayPoolListIterator

type EdgeGatewayPoolListIterator struct {
	// contains filtered or unexported fields
}

EdgeGatewayPoolListIterator provides access to a complete listing of EdgeGatewayPool values.

func (*EdgeGatewayPoolListIterator) Next

func (iter *EdgeGatewayPoolListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EdgeGatewayPoolListIterator) NotDone

func (iter EdgeGatewayPoolListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EdgeGatewayPoolListIterator) Response

Response returns the raw server response from the last page request.

func (EdgeGatewayPoolListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EdgeGatewayPoolListPage

type EdgeGatewayPoolListPage struct {
	// contains filtered or unexported fields
}

EdgeGatewayPoolListPage contains a page of EdgeGatewayPool values.

func (*EdgeGatewayPoolListPage) Next

func (page *EdgeGatewayPoolListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EdgeGatewayPoolListPage) NotDone

func (page EdgeGatewayPoolListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EdgeGatewayPoolListPage) Response

Response returns the raw server response from the last page request.

func (EdgeGatewayPoolListPage) Values

func (page EdgeGatewayPoolListPage) Values() []EdgeGatewayPool

Values returns the slice of values for the current page or nil if there are no values.

type EdgeGatewayPoolModel

type EdgeGatewayPoolModel struct {
	// GatewayType - The gateway type (S2sIPsec, S2sGre, etc).
	GatewayType *string `json:"gatewayType,omitempty"`
	// NumberOfGateways - The number of gateways in the pool.
	NumberOfGateways *int32 `json:"numberOfGateways,omitempty"`
	// RedundantGatewayCount - The number of redundant gateways.
	RedundantGatewayCount *int64 `json:"redundantGatewayCount,omitempty"`
	// GatewayCapacityKiloBitsPerSecond - Gateway capacity in kilobits per second.
	GatewayCapacityKiloBitsPerSecond *int32 `json:"gatewayCapacityKiloBitsPerSecond,omitempty"`
	// PublicIPAddress - The public IP address.
	PublicIPAddress *string `json:"publicIpAddress,omitempty"`
	// GreVipSubnet - The GRE VIP subnet.
	GreVipSubnet *string `json:"greVipSubnet,omitempty"`
	// EdgeGateways - List of the edge gateways in this pool.
	EdgeGateways *[]string `json:"edgeGateways,omitempty"`
}

EdgeGatewayPoolModel a model holding all properties of an edge gateway pool.

type EdgeGatewayPoolsClient

type EdgeGatewayPoolsClient struct {
	BaseClient
}

EdgeGatewayPoolsClient is the fabric Admin Client

func NewEdgeGatewayPoolsClient

func NewEdgeGatewayPoolsClient(subscriptionID string) EdgeGatewayPoolsClient

NewEdgeGatewayPoolsClient creates an instance of the EdgeGatewayPoolsClient client.

func NewEdgeGatewayPoolsClientWithBaseURI

func NewEdgeGatewayPoolsClientWithBaseURI(baseURI string, subscriptionID string) EdgeGatewayPoolsClient

NewEdgeGatewayPoolsClientWithBaseURI creates an instance of the EdgeGatewayPoolsClient client.

func (EdgeGatewayPoolsClient) Get

func (client EdgeGatewayPoolsClient) Get(ctx context.Context, location string, edgeGatewayPool string) (result EdgeGatewayPool, err error)

Get get an EdgeGatewayPool.

location is location of the resource. edgeGatewayPool is name of the edge gateway pool.

func (EdgeGatewayPoolsClient) GetPreparer

func (client EdgeGatewayPoolsClient) GetPreparer(ctx context.Context, location string, edgeGatewayPool string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EdgeGatewayPoolsClient) GetResponder

func (client EdgeGatewayPoolsClient) GetResponder(resp *http.Response) (result EdgeGatewayPool, err error)

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

func (EdgeGatewayPoolsClient) GetSender

func (client EdgeGatewayPoolsClient) 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 (EdgeGatewayPoolsClient) List

func (client EdgeGatewayPoolsClient) List(ctx context.Context, location string, filter string) (result EdgeGatewayPoolListPage, err error)

List get a list of all edge gateway pools at a location.

location is location of the resource. filter is oData filter parameter.

func (EdgeGatewayPoolsClient) ListComplete

func (client EdgeGatewayPoolsClient) ListComplete(ctx context.Context, location string, filter string) (result EdgeGatewayPoolListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EdgeGatewayPoolsClient) ListPreparer

func (client EdgeGatewayPoolsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (EdgeGatewayPoolsClient) ListResponder

func (client EdgeGatewayPoolsClient) ListResponder(resp *http.Response) (result EdgeGatewayPoolList, err error)

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

func (EdgeGatewayPoolsClient) ListSender

func (client EdgeGatewayPoolsClient) 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 EdgeGatewaysClient

type EdgeGatewaysClient struct {
	BaseClient
}

EdgeGatewaysClient is the fabric Admin Client

func NewEdgeGatewaysClient

func NewEdgeGatewaysClient(subscriptionID string) EdgeGatewaysClient

NewEdgeGatewaysClient creates an instance of the EdgeGatewaysClient client.

func NewEdgeGatewaysClientWithBaseURI

func NewEdgeGatewaysClientWithBaseURI(baseURI string, subscriptionID string) EdgeGatewaysClient

NewEdgeGatewaysClientWithBaseURI creates an instance of the EdgeGatewaysClient client.

func (EdgeGatewaysClient) Get

func (client EdgeGatewaysClient) Get(ctx context.Context, location string, edgeGateway string) (result EdgeGateway, err error)

Get get an edge gateway by name.

location is location of the resource. edgeGateway is name of the edge gateway.

func (EdgeGatewaysClient) GetPreparer

func (client EdgeGatewaysClient) GetPreparer(ctx context.Context, location string, edgeGateway string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EdgeGatewaysClient) GetResponder

func (client EdgeGatewaysClient) GetResponder(resp *http.Response) (result EdgeGateway, err error)

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

func (EdgeGatewaysClient) GetSender

func (client EdgeGatewaysClient) 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 (EdgeGatewaysClient) List

func (client EdgeGatewaysClient) List(ctx context.Context, location string, filter string) (result EdgeGatewayListPage, err error)

List get a list of all edge gateways at a certain location.

location is location of the resource. filter is oData filter parameter.

func (EdgeGatewaysClient) ListComplete

func (client EdgeGatewaysClient) ListComplete(ctx context.Context, location string, filter string) (result EdgeGatewayListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EdgeGatewaysClient) ListPreparer

func (client EdgeGatewaysClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (EdgeGatewaysClient) ListResponder

func (client EdgeGatewaysClient) ListResponder(resp *http.Response) (result EdgeGatewayList, err error)

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

func (EdgeGatewaysClient) ListSender

func (client EdgeGatewaysClient) 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 FileShare

type FileShare struct {
	autorest.Response `json:"-"`
	// FileShareModel - Properties of a file share resource.
	*FileShareModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

FileShare representation of a file share resource.

func (FileShare) MarshalJSON

func (fs FileShare) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileShare.

func (*FileShare) UnmarshalJSON

func (fs *FileShare) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FileShare struct.

type FileShareList

type FileShareList struct {
	autorest.Response `json:"-"`
	// Value - List of fabric file shares for this page.
	Value *[]FileShare `json:"value,omitempty"`
}

FileShareList pageable list of fabric file share locations.

type FileShareModel

type FileShareModel struct {
	// AssociatedVolume - Associated volume Id.
	AssociatedVolume *string `json:"associatedVolume,omitempty"`
	// UncPath - The UNCPath for the fileshare.
	UncPath *string `json:"uncPath,omitempty"`
}

FileShareModel properties of a file share resource.

type FileSharesClient

type FileSharesClient struct {
	BaseClient
}

FileSharesClient is the fabric Admin Client

func NewFileSharesClient

func NewFileSharesClient(subscriptionID string) FileSharesClient

NewFileSharesClient creates an instance of the FileSharesClient client.

func NewFileSharesClientWithBaseURI

func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileSharesClient

NewFileSharesClientWithBaseURI creates an instance of the FileSharesClient client.

func (FileSharesClient) Get

func (client FileSharesClient) Get(ctx context.Context, location string, fileShare string) (result FileShare, err error)

Get get a fabric file share.

location is location of the resource. fileShare is fabric file share name.

func (FileSharesClient) GetPreparer

func (client FileSharesClient) GetPreparer(ctx context.Context, location string, fileShare string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FileSharesClient) GetResponder

func (client FileSharesClient) GetResponder(resp *http.Response) (result FileShare, err error)

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

func (FileSharesClient) GetSender

func (client FileSharesClient) 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 (FileSharesClient) List

func (client FileSharesClient) List(ctx context.Context, location string, filter string) (result FileShareList, err error)

List get a list of all fabric file shares at a certain location.

location is location of the resource. filter is oData filter parameter.

func (FileSharesClient) ListPreparer

func (client FileSharesClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (FileSharesClient) ListResponder

func (client FileSharesClient) ListResponder(resp *http.Response) (result FileShareList, err error)

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

func (FileSharesClient) ListSender

func (client FileSharesClient) 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 IPPool

type IPPool struct {
	autorest.Response `json:"-"`
	// IPPoolModel - Properties of an IpPool.
	*IPPoolModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

IPPool this resource defines the range of IP addresses from which addresses are allocated for nodes within a subnet.

func (IPPool) MarshalJSON

func (IP IPPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPPool.

func (*IPPool) UnmarshalJSON

func (IP *IPPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPPool struct.

type IPPoolList

type IPPoolList struct {
	autorest.Response `json:"-"`
	// Value - List of ip pools for this page.
	Value *[]IPPool `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

IPPoolList pageable list of ip pools.

func (IPPoolList) IsEmpty

func (ipl IPPoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IPPoolListIterator

type IPPoolListIterator struct {
	// contains filtered or unexported fields
}

IPPoolListIterator provides access to a complete listing of IPPool values.

func (*IPPoolListIterator) Next

func (iter *IPPoolListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (IPPoolListIterator) NotDone

func (iter IPPoolListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (IPPoolListIterator) Response

func (iter IPPoolListIterator) Response() IPPoolList

Response returns the raw server response from the last page request.

func (IPPoolListIterator) Value

func (iter IPPoolListIterator) Value() IPPool

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type IPPoolListPage

type IPPoolListPage struct {
	// contains filtered or unexported fields
}

IPPoolListPage contains a page of IPPool values.

func (*IPPoolListPage) Next

func (page *IPPoolListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (IPPoolListPage) NotDone

func (page IPPoolListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (IPPoolListPage) Response

func (page IPPoolListPage) Response() IPPoolList

Response returns the raw server response from the last page request.

func (IPPoolListPage) Values

func (page IPPoolListPage) Values() []IPPool

Values returns the slice of values for the current page or nil if there are no values.

type IPPoolModel

type IPPoolModel struct {
	// StartIPAddress - The starting Ip address.
	StartIPAddress *string `json:"startIpAddress,omitempty"`
	// EndIPAddress - The ending Ip address.
	EndIPAddress *string `json:"endIpAddress,omitempty"`
	// AddressPrefix - The address prefix.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// NumberOfIPAddresses - The total number of ip addresses.
	NumberOfIPAddresses *int64 `json:"numberOfIpAddresses,omitempty"`
	// NumberOfAllocatedIPAddresses - The number of currently allocated ip addresses.
	NumberOfAllocatedIPAddresses *int64 `json:"numberOfAllocatedIpAddresses,omitempty"`
	// NumberOfIPAddressesInTransition - The current number of ip addresses in transition.
	NumberOfIPAddressesInTransition *int64 `json:"numberOfIpAddressesInTransition,omitempty"`
}

IPPoolModel properties of an IpPool.

type IPPoolsClient

type IPPoolsClient struct {
	BaseClient
}

IPPoolsClient is the fabric Admin Client

func NewIPPoolsClient

func NewIPPoolsClient(subscriptionID string) IPPoolsClient

NewIPPoolsClient creates an instance of the IPPoolsClient client.

func NewIPPoolsClientWithBaseURI

func NewIPPoolsClientWithBaseURI(baseURI string, subscriptionID string) IPPoolsClient

NewIPPoolsClientWithBaseURI creates an instance of the IPPoolsClient client.

func (IPPoolsClient) Create

func (client IPPoolsClient) Create(ctx context.Context, location string, IPPool string, pool IPPool) (result IPPoolsCreateFuture, err error)

Create create an ip pool.

location is location of the resource. IPPool is ip pool name. pool is ip pool object to send.

func (IPPoolsClient) CreatePreparer

func (client IPPoolsClient) CreatePreparer(ctx context.Context, location string, IPPool string, pool IPPool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (IPPoolsClient) CreateResponder

func (client IPPoolsClient) CreateResponder(resp *http.Response) (result OperationStatus, err error)

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

func (IPPoolsClient) CreateSender

func (client IPPoolsClient) CreateSender(req *http.Request) (future IPPoolsCreateFuture, err error)

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

func (IPPoolsClient) Get

func (client IPPoolsClient) Get(ctx context.Context, location string, IPPool string) (result IPPool, err error)

Get get an ip pool.

location is location of the resource. IPPool is ip pool name.

func (IPPoolsClient) GetPreparer

func (client IPPoolsClient) GetPreparer(ctx context.Context, location string, IPPool string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IPPoolsClient) GetResponder

func (client IPPoolsClient) GetResponder(resp *http.Response) (result IPPool, err error)

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

func (IPPoolsClient) GetSender

func (client IPPoolsClient) 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 (IPPoolsClient) List

func (client IPPoolsClient) List(ctx context.Context, location string, filter string) (result IPPoolListPage, err error)

List get a list of all ip pools at a certain location.

location is location of the resource. filter is oData filter parameter.

func (IPPoolsClient) ListComplete

func (client IPPoolsClient) ListComplete(ctx context.Context, location string, filter string) (result IPPoolListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (IPPoolsClient) ListPreparer

func (client IPPoolsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (IPPoolsClient) ListResponder

func (client IPPoolsClient) ListResponder(resp *http.Response) (result IPPoolList, err error)

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

func (IPPoolsClient) ListSender

func (client IPPoolsClient) 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 IPPoolsCreateFuture

type IPPoolsCreateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (IPPoolsCreateFuture) Result

func (future IPPoolsCreateFuture) Result(client IPPoolsClient) (osVar OperationStatus, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InfraRole

type InfraRole struct {
	autorest.Response `json:"-"`
	// InfraRoleModel - Infra role properties.
	*InfraRoleModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

InfraRole get an infra role description.

func (InfraRole) MarshalJSON

func (ir InfraRole) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InfraRole.

func (*InfraRole) UnmarshalJSON

func (ir *InfraRole) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InfraRole struct.

type InfraRoleInstance

type InfraRoleInstance struct {
	autorest.Response `json:"-"`
	// InfraRoleInstanceModel - All properties of an infra role instance.
	*InfraRoleInstanceModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

InfraRoleInstance the virtual machine resource is used to represent an infrastructure virtual machine in the Azure Stack environment. The fabric resource provider only surfaces infrastructure virtual machines. These machines are never created directly by the admin, but rather as a side effect of expanding admin services.

func (InfraRoleInstance) MarshalJSON

func (iri InfraRoleInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InfraRoleInstance.

func (*InfraRoleInstance) UnmarshalJSON

func (iri *InfraRoleInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InfraRoleInstance struct.

type InfraRoleInstanceList

type InfraRoleInstanceList struct {
	autorest.Response `json:"-"`
	// Value - List of infra role instances for this page.
	Value *[]InfraRoleInstance `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

InfraRoleInstanceList pageable list of infra role instances.

func (InfraRoleInstanceList) IsEmpty

func (iril InfraRoleInstanceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InfraRoleInstanceListIterator

type InfraRoleInstanceListIterator struct {
	// contains filtered or unexported fields
}

InfraRoleInstanceListIterator provides access to a complete listing of InfraRoleInstance values.

func (*InfraRoleInstanceListIterator) Next

func (iter *InfraRoleInstanceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InfraRoleInstanceListIterator) NotDone

func (iter InfraRoleInstanceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InfraRoleInstanceListIterator) Response

Response returns the raw server response from the last page request.

func (InfraRoleInstanceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InfraRoleInstanceListPage

type InfraRoleInstanceListPage struct {
	// contains filtered or unexported fields
}

InfraRoleInstanceListPage contains a page of InfraRoleInstance values.

func (*InfraRoleInstanceListPage) Next

func (page *InfraRoleInstanceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InfraRoleInstanceListPage) NotDone

func (page InfraRoleInstanceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InfraRoleInstanceListPage) Response

Response returns the raw server response from the last page request.

func (InfraRoleInstanceListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InfraRoleInstanceModel

type InfraRoleInstanceModel struct {
	// ScaleUnit - The cluster that the virtual machine's host is part of.
	ScaleUnit *string `json:"scaleUnit,omitempty"`
	// ScaleUnitNode - URI to the scale unit node.
	ScaleUnitNode *string `json:"scaleUnitNode,omitempty"`
	// Size - Size of the virtual machine.
	Size *InfraRoleInstanceSize `json:"size,omitempty"`
	// State - The current state of the virtual machine. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'
	State InfraRoleInstanceState `json:"state,omitempty"`
}

InfraRoleInstanceModel all properties of an infra role instance.

type InfraRoleInstanceSize

type InfraRoleInstanceSize struct {
	// MemoryGb - The amount of memory, in GB, currently assigned to the virtual machine.  In Azure Stack V1, only static memory is used for infrastructure VMs.
	MemoryGb *float64 `json:"memoryGb,omitempty"`
	// Cores - The number of cores assigned to the virtual machine.
	Cores *int32 `json:"cores,omitempty"`
}

InfraRoleInstanceSize the capacity information for a virtual machine.

type InfraRoleInstanceState

type InfraRoleInstanceState string

InfraRoleInstanceState enumerates the values for infra role instance state.

const (
	// Running ...
	Running InfraRoleInstanceState = "Running"
	// Starting ...
	Starting InfraRoleInstanceState = "Starting"
	// Stopped ...
	Stopped InfraRoleInstanceState = "Stopped"
	// Stopping ...
	Stopping InfraRoleInstanceState = "Stopping"
)

func PossibleInfraRoleInstanceStateValues

func PossibleInfraRoleInstanceStateValues() []InfraRoleInstanceState

PossibleInfraRoleInstanceStateValues returns an array of possible values for the InfraRoleInstanceState const type.

type InfraRoleInstancesClient

type InfraRoleInstancesClient struct {
	BaseClient
}

InfraRoleInstancesClient is the fabric Admin Client

func NewInfraRoleInstancesClient

func NewInfraRoleInstancesClient(subscriptionID string) InfraRoleInstancesClient

NewInfraRoleInstancesClient creates an instance of the InfraRoleInstancesClient client.

func NewInfraRoleInstancesClientWithBaseURI

func NewInfraRoleInstancesClientWithBaseURI(baseURI string, subscriptionID string) InfraRoleInstancesClient

NewInfraRoleInstancesClientWithBaseURI creates an instance of the InfraRoleInstancesClient client.

func (InfraRoleInstancesClient) Get

func (client InfraRoleInstancesClient) Get(ctx context.Context, location string, infraRoleInstance string) (result InfraRoleInstance, err error)

Get get an infra role instance.

location is location of the resource. infraRoleInstance is name of an infra role instance.

func (InfraRoleInstancesClient) GetPreparer

func (client InfraRoleInstancesClient) GetPreparer(ctx context.Context, location string, infraRoleInstance string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InfraRoleInstancesClient) GetResponder

func (client InfraRoleInstancesClient) GetResponder(resp *http.Response) (result InfraRoleInstance, err error)

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

func (InfraRoleInstancesClient) GetSender

func (client InfraRoleInstancesClient) 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 (InfraRoleInstancesClient) List

func (client InfraRoleInstancesClient) List(ctx context.Context, location string, filter string) (result InfraRoleInstanceListPage, err error)

List get a list of all infra role instances at a location.

location is location of the resource. filter is oData filter parameter.

func (InfraRoleInstancesClient) ListComplete

func (client InfraRoleInstancesClient) ListComplete(ctx context.Context, location string, filter string) (result InfraRoleInstanceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InfraRoleInstancesClient) ListPreparer

func (client InfraRoleInstancesClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (InfraRoleInstancesClient) ListResponder

func (client InfraRoleInstancesClient) ListResponder(resp *http.Response) (result InfraRoleInstanceList, err error)

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

func (InfraRoleInstancesClient) ListSender

func (client InfraRoleInstancesClient) 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 (InfraRoleInstancesClient) PowerOff

func (client InfraRoleInstancesClient) PowerOff(ctx context.Context, location string, infraRoleInstance string) (result InfraRoleInstancesPowerOffFuture, err error)

PowerOff power off an infra role instance.

location is location of the resource. infraRoleInstance is name of an infra role instance.

func (InfraRoleInstancesClient) PowerOffPreparer

func (client InfraRoleInstancesClient) PowerOffPreparer(ctx context.Context, location string, infraRoleInstance string) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (InfraRoleInstancesClient) PowerOffResponder

func (client InfraRoleInstancesClient) PowerOffResponder(resp *http.Response) (result OperationStatus, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (InfraRoleInstancesClient) PowerOffSender

func (client InfraRoleInstancesClient) PowerOffSender(req *http.Request) (future InfraRoleInstancesPowerOffFuture, err error)

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

func (InfraRoleInstancesClient) PowerOn

func (client InfraRoleInstancesClient) PowerOn(ctx context.Context, location string, infraRoleInstance string) (result InfraRoleInstancesPowerOnFuture, err error)

PowerOn power on an infra role instance.

location is location of the resource. infraRoleInstance is name of an infra role instance.

func (InfraRoleInstancesClient) PowerOnPreparer

func (client InfraRoleInstancesClient) PowerOnPreparer(ctx context.Context, location string, infraRoleInstance string) (*http.Request, error)

PowerOnPreparer prepares the PowerOn request.

func (InfraRoleInstancesClient) PowerOnResponder

func (client InfraRoleInstancesClient) PowerOnResponder(resp *http.Response) (result OperationStatus, err error)

PowerOnResponder handles the response to the PowerOn request. The method always closes the http.Response Body.

func (InfraRoleInstancesClient) PowerOnSender

func (client InfraRoleInstancesClient) PowerOnSender(req *http.Request) (future InfraRoleInstancesPowerOnFuture, err error)

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

func (InfraRoleInstancesClient) Reboot

func (client InfraRoleInstancesClient) Reboot(ctx context.Context, location string, infraRoleInstance string) (result InfraRoleInstancesRebootFuture, err error)

Reboot reboot an infra role instance.

location is location of the resource. infraRoleInstance is name of an infra role instance.

func (InfraRoleInstancesClient) RebootPreparer

func (client InfraRoleInstancesClient) RebootPreparer(ctx context.Context, location string, infraRoleInstance string) (*http.Request, error)

RebootPreparer prepares the Reboot request.

func (InfraRoleInstancesClient) RebootResponder

func (client InfraRoleInstancesClient) RebootResponder(resp *http.Response) (result OperationStatus, err error)

RebootResponder handles the response to the Reboot request. The method always closes the http.Response Body.

func (InfraRoleInstancesClient) RebootSender

func (client InfraRoleInstancesClient) RebootSender(req *http.Request) (future InfraRoleInstancesRebootFuture, err error)

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

func (InfraRoleInstancesClient) Shutdown

func (client InfraRoleInstancesClient) Shutdown(ctx context.Context, location string, infraRoleInstance string) (result InfraRoleInstancesShutdownFuture, err error)

Shutdown shut down an infra role instance.

location is location of the resource. infraRoleInstance is name of an infra role instance.

func (InfraRoleInstancesClient) ShutdownPreparer

func (client InfraRoleInstancesClient) ShutdownPreparer(ctx context.Context, location string, infraRoleInstance string) (*http.Request, error)

ShutdownPreparer prepares the Shutdown request.

func (InfraRoleInstancesClient) ShutdownResponder

func (client InfraRoleInstancesClient) ShutdownResponder(resp *http.Response) (result OperationStatus, err error)

ShutdownResponder handles the response to the Shutdown request. The method always closes the http.Response Body.

func (InfraRoleInstancesClient) ShutdownSender

func (client InfraRoleInstancesClient) ShutdownSender(req *http.Request) (future InfraRoleInstancesShutdownFuture, err error)

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

type InfraRoleInstancesPowerOffFuture

type InfraRoleInstancesPowerOffFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (InfraRoleInstancesPowerOffFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InfraRoleInstancesPowerOnFuture

type InfraRoleInstancesPowerOnFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (InfraRoleInstancesPowerOnFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InfraRoleInstancesRebootFuture

type InfraRoleInstancesRebootFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (InfraRoleInstancesRebootFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InfraRoleInstancesShutdownFuture

type InfraRoleInstancesShutdownFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (InfraRoleInstancesShutdownFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InfraRoleList

type InfraRoleList struct {
	autorest.Response `json:"-"`
	// Value - List of infra roles for this page.
	Value *[]InfraRole `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

InfraRoleList pageable list of infra roles.

func (InfraRoleList) IsEmpty

func (irl InfraRoleList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InfraRoleListIterator

type InfraRoleListIterator struct {
	// contains filtered or unexported fields
}

InfraRoleListIterator provides access to a complete listing of InfraRole values.

func (*InfraRoleListIterator) Next

func (iter *InfraRoleListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InfraRoleListIterator) NotDone

func (iter InfraRoleListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InfraRoleListIterator) Response

func (iter InfraRoleListIterator) Response() InfraRoleList

Response returns the raw server response from the last page request.

func (InfraRoleListIterator) Value

func (iter InfraRoleListIterator) Value() InfraRole

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InfraRoleListPage

type InfraRoleListPage struct {
	// contains filtered or unexported fields
}

InfraRoleListPage contains a page of InfraRole values.

func (*InfraRoleListPage) Next

func (page *InfraRoleListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InfraRoleListPage) NotDone

func (page InfraRoleListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InfraRoleListPage) Response

func (page InfraRoleListPage) Response() InfraRoleList

Response returns the raw server response from the last page request.

func (InfraRoleListPage) Values

func (page InfraRoleListPage) Values() []InfraRole

Values returns the slice of values for the current page or nil if there are no values.

type InfraRoleModel

type InfraRoleModel struct {
	// Instances - List of infra role instances.
	Instances *[]string `json:"instances,omitempty"`
}

InfraRoleModel infra role properties.

type InfraRolesClient

type InfraRolesClient struct {
	BaseClient
}

InfraRolesClient is the fabric Admin Client

func NewInfraRolesClient

func NewInfraRolesClient(subscriptionID string) InfraRolesClient

NewInfraRolesClient creates an instance of the InfraRolesClient client.

func NewInfraRolesClientWithBaseURI

func NewInfraRolesClientWithBaseURI(baseURI string, subscriptionID string) InfraRolesClient

NewInfraRolesClientWithBaseURI creates an instance of the InfraRolesClient client.

func (InfraRolesClient) Get

func (client InfraRolesClient) Get(ctx context.Context, location string, infraRole string) (result InfraRole, err error)

Get get an infra role description.

location is location of the resource. infraRole is infra role name.

func (InfraRolesClient) GetPreparer

func (client InfraRolesClient) GetPreparer(ctx context.Context, location string, infraRole string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InfraRolesClient) GetResponder

func (client InfraRolesClient) GetResponder(resp *http.Response) (result InfraRole, err error)

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

func (InfraRolesClient) GetSender

func (client InfraRolesClient) 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 (InfraRolesClient) List

func (client InfraRolesClient) List(ctx context.Context, location string, filter string) (result InfraRoleListPage, err error)

List get a list of all infra roles at a location.

location is location of the resource. filter is oData filter parameter.

func (InfraRolesClient) ListComplete

func (client InfraRolesClient) ListComplete(ctx context.Context, location string, filter string) (result InfraRoleListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InfraRolesClient) ListPreparer

func (client InfraRolesClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (InfraRolesClient) ListResponder

func (client InfraRolesClient) ListResponder(resp *http.Response) (result InfraRoleList, err error)

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

func (InfraRolesClient) ListSender

func (client InfraRolesClient) 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 Location

type Location struct {
	autorest.Response `json:"-"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

Location place holder for fabric location.

func (Location) MarshalJSON

func (l Location) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Location.

type LocationList

type LocationList struct {
	autorest.Response `json:"-"`
	// Value - List of fabric locations for this page.
	Value *[]Location `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

LocationList pageable list of fabric locations.

func (LocationList) IsEmpty

func (ll LocationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LocationListIterator

type LocationListIterator struct {
	// contains filtered or unexported fields
}

LocationListIterator provides access to a complete listing of Location values.

func (*LocationListIterator) Next

func (iter *LocationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LocationListIterator) NotDone

func (iter LocationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LocationListIterator) Response

func (iter LocationListIterator) Response() LocationList

Response returns the raw server response from the last page request.

func (LocationListIterator) Value

func (iter LocationListIterator) Value() Location

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LocationListPage

type LocationListPage struct {
	// contains filtered or unexported fields
}

LocationListPage contains a page of Location values.

func (*LocationListPage) Next

func (page *LocationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LocationListPage) NotDone

func (page LocationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LocationListPage) Response

func (page LocationListPage) Response() LocationList

Response returns the raw server response from the last page request.

func (LocationListPage) Values

func (page LocationListPage) Values() []Location

Values returns the slice of values for the current page or nil if there are no values.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

LocationsClient is the fabric Admin Client

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client.

func (LocationsClient) Get

func (client LocationsClient) Get(ctx context.Context, location string, fabricLocation string) (result Location, err error)

Get get a fabric location.

location is location of the resource. fabricLocation is fabric Location.

func (LocationsClient) GetPreparer

func (client LocationsClient) GetPreparer(ctx context.Context, location string, fabricLocation string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LocationsClient) GetResponder

func (client LocationsClient) GetResponder(resp *http.Response) (result Location, err error)

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

func (LocationsClient) GetSender

func (client LocationsClient) 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 (LocationsClient) List

func (client LocationsClient) List(ctx context.Context, location string, filter string) (result LocationListPage, err error)

List get a list of all fabric locations.

location is location of the resource. filter is oData filter parameter.

func (LocationsClient) ListComplete

func (client LocationsClient) ListComplete(ctx context.Context, location string, filter string) (result LocationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LocationsClient) ListPreparer

func (client LocationsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocationsClient) ListResponder

func (client LocationsClient) ListResponder(resp *http.Response) (result LocationList, err error)

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

func (LocationsClient) ListSender

func (client LocationsClient) 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 LogicalNetwork

type LogicalNetwork struct {
	autorest.Response `json:"-"`
	// LogicalNetworkModel - Properties of a logical network.
	*LogicalNetworkModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

LogicalNetwork this resource represents a logical partition of physical network that is dedicated for a particular purpose. A logical network comprises of a collection of logical subnets.

func (LogicalNetwork) MarshalJSON

func (ln LogicalNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogicalNetwork.

func (*LogicalNetwork) UnmarshalJSON

func (ln *LogicalNetwork) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogicalNetwork struct.

type LogicalNetworkList

type LogicalNetworkList struct {
	autorest.Response `json:"-"`
	// Value - List of logical networks for this page.
	Value *[]LogicalNetwork `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

LogicalNetworkList a pageable list of logical networks.

func (LogicalNetworkList) IsEmpty

func (lnl LogicalNetworkList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LogicalNetworkListIterator

type LogicalNetworkListIterator struct {
	// contains filtered or unexported fields
}

LogicalNetworkListIterator provides access to a complete listing of LogicalNetwork values.

func (*LogicalNetworkListIterator) Next

func (iter *LogicalNetworkListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LogicalNetworkListIterator) NotDone

func (iter LogicalNetworkListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LogicalNetworkListIterator) Response

Response returns the raw server response from the last page request.

func (LogicalNetworkListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LogicalNetworkListPage

type LogicalNetworkListPage struct {
	// contains filtered or unexported fields
}

LogicalNetworkListPage contains a page of LogicalNetwork values.

func (*LogicalNetworkListPage) Next

func (page *LogicalNetworkListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LogicalNetworkListPage) NotDone

func (page LogicalNetworkListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LogicalNetworkListPage) Response

Response returns the raw server response from the last page request.

func (LogicalNetworkListPage) Values

func (page LogicalNetworkListPage) Values() []LogicalNetwork

Values returns the slice of values for the current page or nil if there are no values.

type LogicalNetworkModel

type LogicalNetworkModel struct {
	// Metadata - Metadata related to this Logical Network.
	Metadata map[string]*string `json:"metadata"`
	// NetworkVirtualizationEnabled - Is Network Virtualization is enabled on this Logical Network.
	NetworkVirtualizationEnabled *bool `json:"networkVirtualizationEnabled,omitempty"`
	// Subnets - List of subnets belonging to this Logical Network.
	Subnets *[]string `json:"subnets,omitempty"`
}

LogicalNetworkModel properties of a logical network.

func (LogicalNetworkModel) MarshalJSON

func (lnm LogicalNetworkModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogicalNetworkModel.

type LogicalNetworksClient

type LogicalNetworksClient struct {
	BaseClient
}

LogicalNetworksClient is the fabric Admin Client

func NewLogicalNetworksClient

func NewLogicalNetworksClient(subscriptionID string) LogicalNetworksClient

NewLogicalNetworksClient creates an instance of the LogicalNetworksClient client.

func NewLogicalNetworksClientWithBaseURI

func NewLogicalNetworksClientWithBaseURI(baseURI string, subscriptionID string) LogicalNetworksClient

NewLogicalNetworksClientWithBaseURI creates an instance of the LogicalNetworksClient client.

func (LogicalNetworksClient) Get

func (client LogicalNetworksClient) Get(ctx context.Context, location string, logicalNetwork string) (result LogicalNetwork, err error)

Get get a logical network.

location is location of the resource. logicalNetwork is name of the logical network.

func (LogicalNetworksClient) GetPreparer

func (client LogicalNetworksClient) GetPreparer(ctx context.Context, location string, logicalNetwork string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LogicalNetworksClient) GetResponder

func (client LogicalNetworksClient) GetResponder(resp *http.Response) (result LogicalNetwork, err error)

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

func (LogicalNetworksClient) GetSender

func (client LogicalNetworksClient) 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 (LogicalNetworksClient) List

func (client LogicalNetworksClient) List(ctx context.Context, location string, filter string) (result LogicalNetworkListPage, err error)

List get a list of all logical networks at a location.

location is location of the resource. filter is oData filter parameter.

func (LogicalNetworksClient) ListComplete

func (client LogicalNetworksClient) ListComplete(ctx context.Context, location string, filter string) (result LogicalNetworkListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LogicalNetworksClient) ListPreparer

func (client LogicalNetworksClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (LogicalNetworksClient) ListResponder

func (client LogicalNetworksClient) ListResponder(resp *http.Response) (result LogicalNetworkList, err error)

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

func (LogicalNetworksClient) ListSender

func (client LogicalNetworksClient) 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 LogicalSubnet

type LogicalSubnet struct {
	autorest.Response `json:"-"`
	// LogicalSubnetModel - Properties of a logical subnet.
	*LogicalSubnetModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

LogicalSubnet this resource represents a Logical Subnet. A Logical Subnet comprises of subnet/vlan pair.

func (LogicalSubnet) MarshalJSON

func (ls LogicalSubnet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogicalSubnet.

func (*LogicalSubnet) UnmarshalJSON

func (ls *LogicalSubnet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LogicalSubnet struct.

type LogicalSubnetList

type LogicalSubnetList struct {
	autorest.Response `json:"-"`
	// Value - List of logical subnets on this page.
	Value *[]LogicalSubnet `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

LogicalSubnetList pageable list of logical subnets.

func (LogicalSubnetList) IsEmpty

func (lsl LogicalSubnetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LogicalSubnetListIterator

type LogicalSubnetListIterator struct {
	// contains filtered or unexported fields
}

LogicalSubnetListIterator provides access to a complete listing of LogicalSubnet values.

func (*LogicalSubnetListIterator) Next

func (iter *LogicalSubnetListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LogicalSubnetListIterator) NotDone

func (iter LogicalSubnetListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LogicalSubnetListIterator) Response

Response returns the raw server response from the last page request.

func (LogicalSubnetListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LogicalSubnetListPage

type LogicalSubnetListPage struct {
	// contains filtered or unexported fields
}

LogicalSubnetListPage contains a page of LogicalSubnet values.

func (*LogicalSubnetListPage) Next

func (page *LogicalSubnetListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LogicalSubnetListPage) NotDone

func (page LogicalSubnetListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LogicalSubnetListPage) Response

func (page LogicalSubnetListPage) Response() LogicalSubnetList

Response returns the raw server response from the last page request.

func (LogicalSubnetListPage) Values

func (page LogicalSubnetListPage) Values() []LogicalSubnet

Values returns the slice of values for the current page or nil if there are no values.

type LogicalSubnetModel

type LogicalSubnetModel struct {
	// IPPools - All ip pools which belong to this subnet.
	IPPools *[]string `json:"ipPools,omitempty"`
	// IsPublic - The visiblity status of the ip pool.  If is true the associated pools are public ip address pools.
	IsPublic *bool `json:"isPublic,omitempty"`
	// Metadata - Metadata related to this Logical Network.
	Metadata map[string]*string `json:"metadata"`
}

LogicalSubnetModel properties of a logical subnet.

func (LogicalSubnetModel) MarshalJSON

func (lsm LogicalSubnetModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogicalSubnetModel.

type LogicalSubnetsClient

type LogicalSubnetsClient struct {
	BaseClient
}

LogicalSubnetsClient is the fabric Admin Client

func NewLogicalSubnetsClient

func NewLogicalSubnetsClient(subscriptionID string) LogicalSubnetsClient

NewLogicalSubnetsClient creates an instance of the LogicalSubnetsClient client.

func NewLogicalSubnetsClientWithBaseURI

func NewLogicalSubnetsClientWithBaseURI(baseURI string, subscriptionID string) LogicalSubnetsClient

NewLogicalSubnetsClientWithBaseURI creates an instance of the LogicalSubnetsClient client.

func (LogicalSubnetsClient) Get

func (client LogicalSubnetsClient) Get(ctx context.Context, location string, logicalNetwork string, logicalSubnet string) (result LogicalSubnet, err error)

Get get a list of all volumes at a location.

location is location of the resource. logicalNetwork is name of the logical network. logicalSubnet is name of the logical subnet.

func (LogicalSubnetsClient) GetPreparer

func (client LogicalSubnetsClient) GetPreparer(ctx context.Context, location string, logicalNetwork string, logicalSubnet string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LogicalSubnetsClient) GetResponder

func (client LogicalSubnetsClient) GetResponder(resp *http.Response) (result LogicalSubnet, err error)

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

func (LogicalSubnetsClient) GetSender

func (client LogicalSubnetsClient) 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 (LogicalSubnetsClient) List

func (client LogicalSubnetsClient) List(ctx context.Context, location string, logicalNetwork string, filter string) (result LogicalSubnetListPage, err error)

List get a list of all logical subnets.

location is location of the resource. logicalNetwork is name of the logical network. filter is oData filter parameter.

func (LogicalSubnetsClient) ListComplete

func (client LogicalSubnetsClient) ListComplete(ctx context.Context, location string, logicalNetwork string, filter string) (result LogicalSubnetListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LogicalSubnetsClient) ListPreparer

func (client LogicalSubnetsClient) ListPreparer(ctx context.Context, location string, logicalNetwork string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (LogicalSubnetsClient) ListResponder

func (client LogicalSubnetsClient) ListResponder(resp *http.Response) (result LogicalSubnetList, err error)

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

func (LogicalSubnetsClient) ListSender

func (client LogicalSubnetsClient) 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 MacAddressPool

type MacAddressPool struct {
	autorest.Response `json:"-"`
	// MacAddressPoolModel - Properties of a MAC address pool.
	*MacAddressPoolModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

MacAddressPool this resource represents a MAC address pool. The default MAC address pools are used if you set the MAC address type for a virtual machine to 'Static'. If the virtual machine setting is “Dynamic”, the hypervisor assigns the MAC address.

func (MacAddressPool) MarshalJSON

func (mapVar MacAddressPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MacAddressPool.

func (*MacAddressPool) UnmarshalJSON

func (mapVar *MacAddressPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MacAddressPool struct.

type MacAddressPoolList

type MacAddressPoolList struct {
	autorest.Response `json:"-"`
	// Value - The list of MAC address pools on this page.
	Value *[]MacAddressPool `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

MacAddressPoolList a pageable list of MAC address pools.

func (MacAddressPoolList) IsEmpty

func (mapl MacAddressPoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type MacAddressPoolListIterator

type MacAddressPoolListIterator struct {
	// contains filtered or unexported fields
}

MacAddressPoolListIterator provides access to a complete listing of MacAddressPool values.

func (*MacAddressPoolListIterator) Next

func (iter *MacAddressPoolListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (MacAddressPoolListIterator) NotDone

func (iter MacAddressPoolListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MacAddressPoolListIterator) Response

Response returns the raw server response from the last page request.

func (MacAddressPoolListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MacAddressPoolListPage

type MacAddressPoolListPage struct {
	// contains filtered or unexported fields
}

MacAddressPoolListPage contains a page of MacAddressPool values.

func (*MacAddressPoolListPage) Next

func (page *MacAddressPoolListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (MacAddressPoolListPage) NotDone

func (page MacAddressPoolListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MacAddressPoolListPage) Response

Response returns the raw server response from the last page request.

func (MacAddressPoolListPage) Values

func (page MacAddressPoolListPage) Values() []MacAddressPool

Values returns the slice of values for the current page or nil if there are no values.

type MacAddressPoolModel

type MacAddressPoolModel struct {
	// Metadata - Metadata related to this MAC pool.
	Metadata map[string]*string `json:"metadata"`
	// StartMacAddress - Starting MAC address.
	StartMacAddress *string `json:"startMacAddress,omitempty"`
	// EndMacAddress - Ending MAC address.
	EndMacAddress *string `json:"endMacAddress,omitempty"`
	// NumberOfAllocatedMacAddresses - Number of MAC addresses allocated.
	NumberOfAllocatedMacAddresses *int64 `json:"numberOfAllocatedMacAddresses,omitempty"`
	// NumberOfAvailableMacAddresses - Number of MAC addresses available.
	NumberOfAvailableMacAddresses *int64 `json:"numberOfAvailableMacAddresses,omitempty"`
}

MacAddressPoolModel properties of a MAC address pool.

func (MacAddressPoolModel) MarshalJSON

func (mapm MacAddressPoolModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MacAddressPoolModel.

type MacAddressPoolsClient

type MacAddressPoolsClient struct {
	BaseClient
}

MacAddressPoolsClient is the fabric Admin Client

func NewMacAddressPoolsClient

func NewMacAddressPoolsClient(subscriptionID string) MacAddressPoolsClient

NewMacAddressPoolsClient creates an instance of the MacAddressPoolsClient client.

func NewMacAddressPoolsClientWithBaseURI

func NewMacAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) MacAddressPoolsClient

NewMacAddressPoolsClientWithBaseURI creates an instance of the MacAddressPoolsClient client.

func (MacAddressPoolsClient) Get

func (client MacAddressPoolsClient) Get(ctx context.Context, location string, macAddressPool string) (result MacAddressPool, err error)

Get get a MAC address pool.

location is location of the resource. macAddressPool is name of the MAC address pool.

func (MacAddressPoolsClient) GetPreparer

func (client MacAddressPoolsClient) GetPreparer(ctx context.Context, location string, macAddressPool string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MacAddressPoolsClient) GetResponder

func (client MacAddressPoolsClient) GetResponder(resp *http.Response) (result MacAddressPool, err error)

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

func (MacAddressPoolsClient) GetSender

func (client MacAddressPoolsClient) 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 (MacAddressPoolsClient) List

func (client MacAddressPoolsClient) List(ctx context.Context, location string, filter string) (result MacAddressPoolListPage, err error)

List get a list of all MAC address pools at a location.

location is location of the resource. filter is oData filter parameter.

func (MacAddressPoolsClient) ListComplete

func (client MacAddressPoolsClient) ListComplete(ctx context.Context, location string, filter string) (result MacAddressPoolListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MacAddressPoolsClient) ListPreparer

func (client MacAddressPoolsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (MacAddressPoolsClient) ListResponder

func (client MacAddressPoolsClient) ListResponder(resp *http.Response) (result MacAddressPoolList, err error)

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

func (MacAddressPoolsClient) ListSender

func (client MacAddressPoolsClient) 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 NetworkFabricOperationsClient

type NetworkFabricOperationsClient struct {
	BaseClient
}

NetworkFabricOperationsClient is the fabric Admin Client

func NewNetworkFabricOperationsClient

func NewNetworkFabricOperationsClient(subscriptionID string) NetworkFabricOperationsClient

NewNetworkFabricOperationsClient creates an instance of the NetworkFabricOperationsClient client.

func NewNetworkFabricOperationsClientWithBaseURI

func NewNetworkFabricOperationsClientWithBaseURI(baseURI string, subscriptionID string) NetworkFabricOperationsClient

NewNetworkFabricOperationsClientWithBaseURI creates an instance of the NetworkFabricOperationsClient client.

func (NetworkFabricOperationsClient) Get

func (client NetworkFabricOperationsClient) Get(ctx context.Context, location string, provider string, networkOperationResult string) (result OperationStatus, err error)

Get get the status of a network fabric operation.

location is location of the resource. provider is name of the provider. networkOperationResult is id of a network fabric operation.

func (NetworkFabricOperationsClient) GetPreparer

func (client NetworkFabricOperationsClient) GetPreparer(ctx context.Context, location string, provider string, networkOperationResult string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NetworkFabricOperationsClient) GetResponder

func (client NetworkFabricOperationsClient) GetResponder(resp *http.Response) (result OperationStatus, err error)

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

func (NetworkFabricOperationsClient) GetSender

func (client NetworkFabricOperationsClient) 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.

type OperationStatus

type OperationStatus struct {
	autorest.Response `json:"-"`
	// ProvisioningStateModel - The state of the operation.
	*ProvisioningStateModel `json:"properties,omitempty"`
}

OperationStatus status of the compute operation.

func (OperationStatus) MarshalJSON

func (osVar OperationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationStatus.

func (*OperationStatus) UnmarshalJSON

func (osVar *OperationStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationStatus struct.

type OperationStatusLocation

type OperationStatusLocation struct {
	// Location - URI where you can poll for status of operation.
	Location *string `json:"location,omitempty"`
}

OperationStatusLocation URI where you can poll for status of operation.

type PowerState

type PowerState string

PowerState enumerates the values for power state.

const (
	// PowerStateRunning ...
	PowerStateRunning PowerState = "Running"
	// PowerStateStarting ...
	PowerStateStarting PowerState = "Starting"
	// PowerStateStopped ...
	PowerStateStopped PowerState = "Stopped"
	// PowerStateStopping ...
	PowerStateStopping PowerState = "Stopping"
)

func PossiblePowerStateValues

func PossiblePowerStateValues() []PowerState

PossiblePowerStateValues returns an array of possible values for the PowerState const type.

type ProvisioningStateModel

type ProvisioningStateModel struct {
	// ProvisioningState - The state of the operation.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ProvisioningStateModel the state of the operation.

type Resource

type Resource struct {
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

Resource base Resource Object

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ScaleUnit

type ScaleUnit struct {
	autorest.Response `json:"-"`
	// ScaleUnitModel - Properties of a scale unit.
	*ScaleUnitModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

ScaleUnit represents a cluster - generally this will be a collection of Hosts backed by Failover Cluster Manager.

func (ScaleUnit) MarshalJSON

func (su ScaleUnit) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScaleUnit.

func (*ScaleUnit) UnmarshalJSON

func (su *ScaleUnit) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScaleUnit struct.

type ScaleUnitCapacity

type ScaleUnitCapacity struct {
	// MemoryGB - The memory for the physical machine.
	MemoryGB *float64 `json:"memoryGB,omitempty"`
	// Cores - The number of CPU cores for the physical machine.
	Cores *int64 `json:"cores,omitempty"`
}

ScaleUnitCapacity the capacity information for a physical machine.

type ScaleUnitList

type ScaleUnitList struct {
	autorest.Response `json:"-"`
	// Value - The list of scale units on this page.
	Value *[]ScaleUnit `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ScaleUnitList a pageable list of scale units.

func (ScaleUnitList) IsEmpty

func (sul ScaleUnitList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScaleUnitListIterator

type ScaleUnitListIterator struct {
	// contains filtered or unexported fields
}

ScaleUnitListIterator provides access to a complete listing of ScaleUnit values.

func (*ScaleUnitListIterator) Next

func (iter *ScaleUnitListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScaleUnitListIterator) NotDone

func (iter ScaleUnitListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScaleUnitListIterator) Response

func (iter ScaleUnitListIterator) Response() ScaleUnitList

Response returns the raw server response from the last page request.

func (ScaleUnitListIterator) Value

func (iter ScaleUnitListIterator) Value() ScaleUnit

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScaleUnitListPage

type ScaleUnitListPage struct {
	// contains filtered or unexported fields
}

ScaleUnitListPage contains a page of ScaleUnit values.

func (*ScaleUnitListPage) Next

func (page *ScaleUnitListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScaleUnitListPage) NotDone

func (page ScaleUnitListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScaleUnitListPage) Response

func (page ScaleUnitListPage) Response() ScaleUnitList

Response returns the raw server response from the last page request.

func (ScaleUnitListPage) Values

func (page ScaleUnitListPage) Values() []ScaleUnit

Values returns the slice of values for the current page or nil if there are no values.

type ScaleUnitModel

type ScaleUnitModel struct {
	// ScaleUnitType - Type of the cluster. Possible values include: 'Unknown', 'ComputeOnly', 'StorageOnly', 'HyperConverged'
	ScaleUnitType ScaleUnitType `json:"scaleUnitType,omitempty"`
	// LogicalFaultDomain - Fault domain name of the cluster.
	LogicalFaultDomain *int32 `json:"logicalFaultDomain,omitempty"`
	// Nodes - List of nodes in the server.
	Nodes *[]string `json:"nodes,omitempty"`
	// State - Current state of the cluster. Possible values include: 'ScaleUnitStateUnknown', 'ScaleUnitStateCreating', 'ScaleUnitStateRunning', 'ScaleUnitStateUpgrading', 'ScaleUnitStateDeleting'
	State ScaleUnitState `json:"state,omitempty"`
	// Model - Model of the servers in the cluster.
	Model *string `json:"model,omitempty"`
	// TotalCapacity - Capacity information for the cluster.
	TotalCapacity *ScaleUnitCapacity `json:"totalCapacity,omitempty"`
}

ScaleUnitModel properties of a scale unit.

type ScaleUnitNode

type ScaleUnitNode struct {
	autorest.Response `json:"-"`
	// ScaleUnitNodeModel - Holds all properties related to a scale unit node.
	*ScaleUnitNodeModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

ScaleUnitNode the physical server in a cluster.

func (ScaleUnitNode) MarshalJSON

func (sun ScaleUnitNode) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScaleUnitNode.

func (*ScaleUnitNode) UnmarshalJSON

func (sun *ScaleUnitNode) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScaleUnitNode struct.

type ScaleUnitNodeList

type ScaleUnitNodeList struct {
	autorest.Response `json:"-"`
	// Value - The list of nodes in this page.
	Value *[]ScaleUnitNode `json:"value,omitempty"`
	// NextLink - The URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

ScaleUnitNodeList a pageable list of scale unit nodes.

func (ScaleUnitNodeList) IsEmpty

func (sunl ScaleUnitNodeList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ScaleUnitNodeListIterator

type ScaleUnitNodeListIterator struct {
	// contains filtered or unexported fields
}

ScaleUnitNodeListIterator provides access to a complete listing of ScaleUnitNode values.

func (*ScaleUnitNodeListIterator) Next

func (iter *ScaleUnitNodeListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ScaleUnitNodeListIterator) NotDone

func (iter ScaleUnitNodeListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ScaleUnitNodeListIterator) Response

Response returns the raw server response from the last page request.

func (ScaleUnitNodeListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ScaleUnitNodeListPage

type ScaleUnitNodeListPage struct {
	// contains filtered or unexported fields
}

ScaleUnitNodeListPage contains a page of ScaleUnitNode values.

func (*ScaleUnitNodeListPage) Next

func (page *ScaleUnitNodeListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ScaleUnitNodeListPage) NotDone

func (page ScaleUnitNodeListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ScaleUnitNodeListPage) Response

func (page ScaleUnitNodeListPage) Response() ScaleUnitNodeList

Response returns the raw server response from the last page request.

func (ScaleUnitNodeListPage) Values

func (page ScaleUnitNodeListPage) Values() []ScaleUnitNode

Values returns the slice of values for the current page or nil if there are no values.

type ScaleUnitNodeModel

type ScaleUnitNodeModel struct {
	// ScaleUnitNodeStatus - Status of the physical machine. Possible values include: 'ScaleUnitNodeStatusRunning', 'ScaleUnitNodeStatusMaintenance', 'ScaleUnitNodeStatusStopped'
	ScaleUnitNodeStatus ScaleUnitNodeStatus `json:"scaleUnitNodeStatus,omitempty"`
	// PowerState - PowerState of the physical machine. Possible values include: 'PowerStateStopped', 'PowerStateStarting', 'PowerStateRunning', 'PowerStateStopping'
	PowerState PowerState `json:"powerState,omitempty"`
	// BmcAddress - Bmc address of the physical machine.
	BmcAddress *string `json:"bmcAddress,omitempty"`
	// ScaleUnitName - Cluster name of the physical machine.
	ScaleUnitName *string `json:"scaleUnitName,omitempty"`
	// ScaleUnitURI - URI of the corresponding cluster.
	ScaleUnitURI *string `json:"scaleUnitUri,omitempty"`
	// CanPowerOff - Value indicating whether the node can be powered off.
	CanPowerOff *bool `json:"canPowerOff,omitempty"`
	// Vendor - Vendor of the physical machine.
	Vendor *string `json:"vendor,omitempty"`
	// Model - Model of the physical machine.
	Model *string `json:"model,omitempty"`
	// SerialNumber - Serial number of the physical machine.
	SerialNumber *string `json:"serialNumber,omitempty"`
	// BiosVersion - Bios version of the physical machine.
	BiosVersion *string `json:"biosVersion,omitempty"`
	// MacAddress - MacAddress of the physical machine.
	MacAddress *string `json:"macAddress,omitempty"`
	// Capacity - Capacity of the physical machine.
	Capacity *ScaleUnitCapacity `json:"capacity,omitempty"`
}

ScaleUnitNodeModel holds all properties related to a scale unit node.

type ScaleUnitNodeStatus

type ScaleUnitNodeStatus string

ScaleUnitNodeStatus enumerates the values for scale unit node status.

const (
	// ScaleUnitNodeStatusMaintenance ...
	ScaleUnitNodeStatusMaintenance ScaleUnitNodeStatus = "Maintenance"
	// ScaleUnitNodeStatusRunning ...
	ScaleUnitNodeStatusRunning ScaleUnitNodeStatus = "Running"
	// ScaleUnitNodeStatusStopped ...
	ScaleUnitNodeStatusStopped ScaleUnitNodeStatus = "Stopped"
)

func PossibleScaleUnitNodeStatusValues

func PossibleScaleUnitNodeStatusValues() []ScaleUnitNodeStatus

PossibleScaleUnitNodeStatusValues returns an array of possible values for the ScaleUnitNodeStatus const type.

type ScaleUnitNodesClient

type ScaleUnitNodesClient struct {
	BaseClient
}

ScaleUnitNodesClient is the fabric Admin Client

func NewScaleUnitNodesClient

func NewScaleUnitNodesClient(subscriptionID string) ScaleUnitNodesClient

NewScaleUnitNodesClient creates an instance of the ScaleUnitNodesClient client.

func NewScaleUnitNodesClientWithBaseURI

func NewScaleUnitNodesClientWithBaseURI(baseURI string, subscriptionID string) ScaleUnitNodesClient

NewScaleUnitNodesClientWithBaseURI creates an instance of the ScaleUnitNodesClient client.

func (ScaleUnitNodesClient) Get

func (client ScaleUnitNodesClient) Get(ctx context.Context, location string, scaleUnitNode string) (result ScaleUnitNode, err error)

Get get a specific scale unit node.

location is location of the resource. scaleUnitNode is name of the scale unit node.

func (ScaleUnitNodesClient) GetPreparer

func (client ScaleUnitNodesClient) GetPreparer(ctx context.Context, location string, scaleUnitNode string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScaleUnitNodesClient) GetResponder

func (client ScaleUnitNodesClient) GetResponder(resp *http.Response) (result ScaleUnitNode, err error)

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

func (ScaleUnitNodesClient) GetSender

func (client ScaleUnitNodesClient) 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 (ScaleUnitNodesClient) List

func (client ScaleUnitNodesClient) List(ctx context.Context, location string, filter string) (result ScaleUnitNodeListPage, err error)

List get a list of all scale unit nodes in a location.

location is location of the resource. filter is oData filter parameter.

func (ScaleUnitNodesClient) ListComplete

func (client ScaleUnitNodesClient) ListComplete(ctx context.Context, location string, filter string) (result ScaleUnitNodeListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ScaleUnitNodesClient) ListPreparer

func (client ScaleUnitNodesClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ScaleUnitNodesClient) ListResponder

func (client ScaleUnitNodesClient) ListResponder(resp *http.Response) (result ScaleUnitNodeList, err error)

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

func (ScaleUnitNodesClient) ListSender

func (client ScaleUnitNodesClient) 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 (ScaleUnitNodesClient) PowerOff

func (client ScaleUnitNodesClient) PowerOff(ctx context.Context, location string, scaleUnitNode string) (result ScaleUnitNodesPowerOffFuture, err error)

PowerOff power off a scale unit node.

location is location of the resource. scaleUnitNode is name of the scale unit node.

func (ScaleUnitNodesClient) PowerOffPreparer

func (client ScaleUnitNodesClient) PowerOffPreparer(ctx context.Context, location string, scaleUnitNode string) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (ScaleUnitNodesClient) PowerOffResponder

func (client ScaleUnitNodesClient) PowerOffResponder(resp *http.Response) (result OperationStatus, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (ScaleUnitNodesClient) PowerOffSender

func (client ScaleUnitNodesClient) PowerOffSender(req *http.Request) (future ScaleUnitNodesPowerOffFuture, err error)

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

func (ScaleUnitNodesClient) PowerOn

func (client ScaleUnitNodesClient) PowerOn(ctx context.Context, location string, scaleUnitNode string) (result ScaleUnitNodesPowerOnFuture, err error)

PowerOn power on a scale unit node.

location is location of the resource. scaleUnitNode is name of the scale unit node.

func (ScaleUnitNodesClient) PowerOnPreparer

func (client ScaleUnitNodesClient) PowerOnPreparer(ctx context.Context, location string, scaleUnitNode string) (*http.Request, error)

PowerOnPreparer prepares the PowerOn request.

func (ScaleUnitNodesClient) PowerOnResponder

func (client ScaleUnitNodesClient) PowerOnResponder(resp *http.Response) (result OperationStatus, err error)

PowerOnResponder handles the response to the PowerOn request. The method always closes the http.Response Body.

func (ScaleUnitNodesClient) PowerOnSender

func (client ScaleUnitNodesClient) PowerOnSender(req *http.Request) (future ScaleUnitNodesPowerOnFuture, err error)

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

func (ScaleUnitNodesClient) StartMaintenanceMode

func (client ScaleUnitNodesClient) StartMaintenanceMode(ctx context.Context, location string, scaleUnitNode string) (result ScaleUnitNodesStartMaintenanceModeFuture, err error)

StartMaintenanceMode start maintenance mode for a scale unit node.

location is location of the resource. scaleUnitNode is name of the scale unit node.

func (ScaleUnitNodesClient) StartMaintenanceModePreparer

func (client ScaleUnitNodesClient) StartMaintenanceModePreparer(ctx context.Context, location string, scaleUnitNode string) (*http.Request, error)

StartMaintenanceModePreparer prepares the StartMaintenanceMode request.

func (ScaleUnitNodesClient) StartMaintenanceModeResponder

func (client ScaleUnitNodesClient) StartMaintenanceModeResponder(resp *http.Response) (result OperationStatus, err error)

StartMaintenanceModeResponder handles the response to the StartMaintenanceMode request. The method always closes the http.Response Body.

func (ScaleUnitNodesClient) StartMaintenanceModeSender

func (client ScaleUnitNodesClient) StartMaintenanceModeSender(req *http.Request) (future ScaleUnitNodesStartMaintenanceModeFuture, err error)

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

func (ScaleUnitNodesClient) StopMaintenanceMode

func (client ScaleUnitNodesClient) StopMaintenanceMode(ctx context.Context, location string, scaleUnitNode string) (result ScaleUnitNodesStopMaintenanceModeFuture, err error)

StopMaintenanceMode stop maintenance mode for a scale unit node.

location is location of the resource. scaleUnitNode is name of the scale unit node.

func (ScaleUnitNodesClient) StopMaintenanceModePreparer

func (client ScaleUnitNodesClient) StopMaintenanceModePreparer(ctx context.Context, location string, scaleUnitNode string) (*http.Request, error)

StopMaintenanceModePreparer prepares the StopMaintenanceMode request.

func (ScaleUnitNodesClient) StopMaintenanceModeResponder

func (client ScaleUnitNodesClient) StopMaintenanceModeResponder(resp *http.Response) (result OperationStatus, err error)

StopMaintenanceModeResponder handles the response to the StopMaintenanceMode request. The method always closes the http.Response Body.

func (ScaleUnitNodesClient) StopMaintenanceModeSender

func (client ScaleUnitNodesClient) StopMaintenanceModeSender(req *http.Request) (future ScaleUnitNodesStopMaintenanceModeFuture, err error)

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

type ScaleUnitNodesPowerOffFuture

type ScaleUnitNodesPowerOffFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (ScaleUnitNodesPowerOffFuture) Result

func (future ScaleUnitNodesPowerOffFuture) Result(client ScaleUnitNodesClient) (osVar OperationStatus, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ScaleUnitNodesPowerOnFuture

type ScaleUnitNodesPowerOnFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (ScaleUnitNodesPowerOnFuture) Result

func (future ScaleUnitNodesPowerOnFuture) Result(client ScaleUnitNodesClient) (osVar OperationStatus, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ScaleUnitNodesStartMaintenanceModeFuture

type ScaleUnitNodesStartMaintenanceModeFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (ScaleUnitNodesStartMaintenanceModeFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ScaleUnitNodesStopMaintenanceModeFuture

type ScaleUnitNodesStopMaintenanceModeFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

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

func (ScaleUnitNodesStopMaintenanceModeFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ScaleUnitState

type ScaleUnitState string

ScaleUnitState enumerates the values for scale unit state.

const (
	// ScaleUnitStateCreating ...
	ScaleUnitStateCreating ScaleUnitState = "Creating"
	// ScaleUnitStateDeleting ...
	ScaleUnitStateDeleting ScaleUnitState = "Deleting"
	// ScaleUnitStateRunning ...
	ScaleUnitStateRunning ScaleUnitState = "Running"
	// ScaleUnitStateUnknown ...
	ScaleUnitStateUnknown ScaleUnitState = "Unknown"
	// ScaleUnitStateUpgrading ...
	ScaleUnitStateUpgrading ScaleUnitState = "Upgrading"
)

func PossibleScaleUnitStateValues

func PossibleScaleUnitStateValues() []ScaleUnitState

PossibleScaleUnitStateValues returns an array of possible values for the ScaleUnitState const type.

type ScaleUnitType

type ScaleUnitType string

ScaleUnitType enumerates the values for scale unit type.

const (
	// ComputeOnly ...
	ComputeOnly ScaleUnitType = "ComputeOnly"
	// HyperConverged ...
	HyperConverged ScaleUnitType = "HyperConverged"
	// StorageOnly ...
	StorageOnly ScaleUnitType = "StorageOnly"
	// Unknown ...
	Unknown ScaleUnitType = "Unknown"
)

func PossibleScaleUnitTypeValues

func PossibleScaleUnitTypeValues() []ScaleUnitType

PossibleScaleUnitTypeValues returns an array of possible values for the ScaleUnitType const type.

type ScaleUnitsClient

type ScaleUnitsClient struct {
	BaseClient
}

ScaleUnitsClient is the fabric Admin Client

func NewScaleUnitsClient

func NewScaleUnitsClient(subscriptionID string) ScaleUnitsClient

NewScaleUnitsClient creates an instance of the ScaleUnitsClient client.

func NewScaleUnitsClientWithBaseURI

func NewScaleUnitsClientWithBaseURI(baseURI string, subscriptionID string) ScaleUnitsClient

NewScaleUnitsClientWithBaseURI creates an instance of the ScaleUnitsClient client.

func (ScaleUnitsClient) Get

func (client ScaleUnitsClient) Get(ctx context.Context, location string, scaleUnit string) (result ScaleUnit, err error)

Get get a scale unit.

location is location of the resource. scaleUnit is name of the scale units.

func (ScaleUnitsClient) GetPreparer

func (client ScaleUnitsClient) GetPreparer(ctx context.Context, location string, scaleUnit string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScaleUnitsClient) GetResponder

func (client ScaleUnitsClient) GetResponder(resp *http.Response) (result ScaleUnit, err error)

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

func (ScaleUnitsClient) GetSender

func (client ScaleUnitsClient) 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 (ScaleUnitsClient) List

func (client ScaleUnitsClient) List(ctx context.Context, location string, filter string) (result ScaleUnitListPage, err error)

List get a list of all scale units at a location.

location is location of the resource. filter is oData filter parameter.

func (ScaleUnitsClient) ListComplete

func (client ScaleUnitsClient) ListComplete(ctx context.Context, location string, filter string) (result ScaleUnitListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ScaleUnitsClient) ListPreparer

func (client ScaleUnitsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ScaleUnitsClient) ListResponder

func (client ScaleUnitsClient) ListResponder(resp *http.Response) (result ScaleUnitList, err error)

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

func (ScaleUnitsClient) ListSender

func (client ScaleUnitsClient) 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 SlbMuxInstance

type SlbMuxInstance struct {
	autorest.Response `json:"-"`
	// SlbMuxInstanceModel - Properties of a SLB MUX
	*SlbMuxInstanceModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

SlbMuxInstance this resource represents an SLB MUX (software load balancing multiplexer, which distributes the tenant and tenant customer network traffic).

func (SlbMuxInstance) MarshalJSON

func (smi SlbMuxInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SlbMuxInstance.

func (*SlbMuxInstance) UnmarshalJSON

func (smi *SlbMuxInstance) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SlbMuxInstance struct.

type SlbMuxInstanceList

type SlbMuxInstanceList struct {
	autorest.Response `json:"-"`
	// Value - List of SLB Mux instances on this page.
	Value *[]SlbMuxInstance `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

SlbMuxInstanceList a pageable list of SLB Mux instances.

func (SlbMuxInstanceList) IsEmpty

func (smil SlbMuxInstanceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SlbMuxInstanceListIterator

type SlbMuxInstanceListIterator struct {
	// contains filtered or unexported fields
}

SlbMuxInstanceListIterator provides access to a complete listing of SlbMuxInstance values.

func (*SlbMuxInstanceListIterator) Next

func (iter *SlbMuxInstanceListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SlbMuxInstanceListIterator) NotDone

func (iter SlbMuxInstanceListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SlbMuxInstanceListIterator) Response

Response returns the raw server response from the last page request.

func (SlbMuxInstanceListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SlbMuxInstanceListPage

type SlbMuxInstanceListPage struct {
	// contains filtered or unexported fields
}

SlbMuxInstanceListPage contains a page of SlbMuxInstance values.

func (*SlbMuxInstanceListPage) Next

func (page *SlbMuxInstanceListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SlbMuxInstanceListPage) NotDone

func (page SlbMuxInstanceListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SlbMuxInstanceListPage) Response

Response returns the raw server response from the last page request.

func (SlbMuxInstanceListPage) Values

func (page SlbMuxInstanceListPage) Values() []SlbMuxInstance

Values returns the slice of values for the current page or nil if there are no values.

type SlbMuxInstanceModel

type SlbMuxInstanceModel struct {
	// ConfigurationState - Configuration state.
	ConfigurationState *string `json:"configurationState,omitempty"`
	// VirtualServer - Virtual server.
	VirtualServer *string `json:"virtualServer,omitempty"`
	// BgpPeers - List of BGP peers.
	BgpPeers *[]string `json:"bgpPeers,omitempty"`
}

SlbMuxInstanceModel properties of a SLB MUX

type SlbMuxInstancesClient

type SlbMuxInstancesClient struct {
	BaseClient
}

SlbMuxInstancesClient is the fabric Admin Client

func NewSlbMuxInstancesClient

func NewSlbMuxInstancesClient(subscriptionID string) SlbMuxInstancesClient

NewSlbMuxInstancesClient creates an instance of the SlbMuxInstancesClient client.

func NewSlbMuxInstancesClientWithBaseURI

func NewSlbMuxInstancesClientWithBaseURI(baseURI string, subscriptionID string) SlbMuxInstancesClient

NewSlbMuxInstancesClientWithBaseURI creates an instance of the SlbMuxInstancesClient client.

func (SlbMuxInstancesClient) Get

func (client SlbMuxInstancesClient) Get(ctx context.Context, location string, slbMuxInstance string) (result SlbMuxInstance, err error)

Get get a software load balancer multiplexer instance.

location is location of the resource. slbMuxInstance is name of a SLB Mux instance.

func (SlbMuxInstancesClient) GetPreparer

func (client SlbMuxInstancesClient) GetPreparer(ctx context.Context, location string, slbMuxInstance string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SlbMuxInstancesClient) GetResponder

func (client SlbMuxInstancesClient) GetResponder(resp *http.Response) (result SlbMuxInstance, err error)

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

func (SlbMuxInstancesClient) GetSender

func (client SlbMuxInstancesClient) 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 (SlbMuxInstancesClient) List

func (client SlbMuxInstancesClient) List(ctx context.Context, location string, filter string) (result SlbMuxInstanceListPage, err error)

List get a list of all software load balancer instances at a location.

location is location of the resource. filter is oData filter parameter.

func (SlbMuxInstancesClient) ListComplete

func (client SlbMuxInstancesClient) ListComplete(ctx context.Context, location string, filter string) (result SlbMuxInstanceListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SlbMuxInstancesClient) ListPreparer

func (client SlbMuxInstancesClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (SlbMuxInstancesClient) ListResponder

func (client SlbMuxInstancesClient) ListResponder(resp *http.Response) (result SlbMuxInstanceList, err error)

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

func (SlbMuxInstancesClient) ListSender

func (client SlbMuxInstancesClient) 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 StoragePool

type StoragePool struct {
	autorest.Response `json:"-"`
	// StoragePoolModel - All properties of a storage pool.
	*StoragePoolModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

StoragePool representation of a storage pool resource.

func (StoragePool) MarshalJSON

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

MarshalJSON is the custom marshaler for StoragePool.

func (*StoragePool) UnmarshalJSON

func (sp *StoragePool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StoragePool struct.

type StoragePoolList

type StoragePoolList struct {
	autorest.Response `json:"-"`
	// Value - List of storage pools on this page.
	Value *[]StoragePool `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

StoragePoolList pageable list of storage pools.

func (StoragePoolList) IsEmpty

func (spl StoragePoolList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StoragePoolListIterator

type StoragePoolListIterator struct {
	// contains filtered or unexported fields
}

StoragePoolListIterator provides access to a complete listing of StoragePool values.

func (*StoragePoolListIterator) Next

func (iter *StoragePoolListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StoragePoolListIterator) NotDone

func (iter StoragePoolListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StoragePoolListIterator) Response

func (iter StoragePoolListIterator) Response() StoragePoolList

Response returns the raw server response from the last page request.

func (StoragePoolListIterator) Value

func (iter StoragePoolListIterator) Value() StoragePool

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StoragePoolListPage

type StoragePoolListPage struct {
	// contains filtered or unexported fields
}

StoragePoolListPage contains a page of StoragePool values.

func (*StoragePoolListPage) Next

func (page *StoragePoolListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StoragePoolListPage) NotDone

func (page StoragePoolListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StoragePoolListPage) Response

func (page StoragePoolListPage) Response() StoragePoolList

Response returns the raw server response from the last page request.

func (StoragePoolListPage) Values

func (page StoragePoolListPage) Values() []StoragePool

Values returns the slice of values for the current page or nil if there are no values.

type StoragePoolModel

type StoragePoolModel struct {
	// SizeGB - Amount of space in the storage pool in GB.
	SizeGB *int32 `json:"sizeGB,omitempty"`
}

StoragePoolModel all properties of a storage pool.

type StoragePoolsClient

type StoragePoolsClient struct {
	BaseClient
}

StoragePoolsClient is the fabric Admin Client

func NewStoragePoolsClient

func NewStoragePoolsClient(subscriptionID string) StoragePoolsClient

NewStoragePoolsClient creates an instance of the StoragePoolsClient client.

func NewStoragePoolsClientWithBaseURI

func NewStoragePoolsClientWithBaseURI(baseURI string, subscriptionID string) StoragePoolsClient

NewStoragePoolsClientWithBaseURI creates an instance of the StoragePoolsClient client.

func (StoragePoolsClient) Get

func (client StoragePoolsClient) Get(ctx context.Context, location string, storageSubSystem string, storagePool string) (result StoragePool, err error)

Get get a storage pool.

location is location of the resource. storageSubSystem is name of the storage system. storagePool is storage pool name.

func (StoragePoolsClient) GetPreparer

func (client StoragePoolsClient) GetPreparer(ctx context.Context, location string, storageSubSystem string, storagePool string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StoragePoolsClient) GetResponder

func (client StoragePoolsClient) GetResponder(resp *http.Response) (result StoragePool, err error)

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

func (StoragePoolsClient) GetSender

func (client StoragePoolsClient) 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 (StoragePoolsClient) List

func (client StoragePoolsClient) List(ctx context.Context, location string, storageSubSystem string, filter string) (result StoragePoolListPage, err error)

List get a list of all storage pools for a location.

location is location of the resource. storageSubSystem is name of the storage system. filter is oData filter parameter.

func (StoragePoolsClient) ListComplete

func (client StoragePoolsClient) ListComplete(ctx context.Context, location string, storageSubSystem string, filter string) (result StoragePoolListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StoragePoolsClient) ListPreparer

func (client StoragePoolsClient) ListPreparer(ctx context.Context, location string, storageSubSystem string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (StoragePoolsClient) ListResponder

func (client StoragePoolsClient) ListResponder(resp *http.Response) (result StoragePoolList, err error)

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

func (StoragePoolsClient) ListSender

func (client StoragePoolsClient) 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 StorageSystem

type StorageSystem struct {
	autorest.Response `json:"-"`
	// StorageSystemModel - All properties of a storage system.
	*StorageSystemModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

StorageSystem representation of a storage system resource.

func (StorageSystem) MarshalJSON

func (ss StorageSystem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageSystem.

func (*StorageSystem) UnmarshalJSON

func (ss *StorageSystem) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StorageSystem struct.

type StorageSystemList

type StorageSystemList struct {
	autorest.Response `json:"-"`
	// Value - List of storage systems on this page.
	Value *[]StorageSystem `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

StorageSystemList pageable list of storage systems.

func (StorageSystemList) IsEmpty

func (ssl StorageSystemList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StorageSystemListIterator

type StorageSystemListIterator struct {
	// contains filtered or unexported fields
}

StorageSystemListIterator provides access to a complete listing of StorageSystem values.

func (*StorageSystemListIterator) Next

func (iter *StorageSystemListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (StorageSystemListIterator) NotDone

func (iter StorageSystemListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (StorageSystemListIterator) Response

Response returns the raw server response from the last page request.

func (StorageSystemListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type StorageSystemListPage

type StorageSystemListPage struct {
	// contains filtered or unexported fields
}

StorageSystemListPage contains a page of StorageSystem values.

func (*StorageSystemListPage) Next

func (page *StorageSystemListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (StorageSystemListPage) NotDone

func (page StorageSystemListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (StorageSystemListPage) Response

func (page StorageSystemListPage) Response() StorageSystemList

Response returns the raw server response from the last page request.

func (StorageSystemListPage) Values

func (page StorageSystemListPage) Values() []StorageSystem

Values returns the slice of values for the current page or nil if there are no values.

type StorageSystemModel

type StorageSystemModel struct {
	// TotalCapacityGB - Total capacity of the system.
	TotalCapacityGB *int32 `json:"totalCapacityGB,omitempty"`
}

StorageSystemModel all properties of a storage system.

type StorageSystemsClient

type StorageSystemsClient struct {
	BaseClient
}

StorageSystemsClient is the fabric Admin Client

func NewStorageSystemsClient

func NewStorageSystemsClient(subscriptionID string) StorageSystemsClient

NewStorageSystemsClient creates an instance of the StorageSystemsClient client.

func NewStorageSystemsClientWithBaseURI

func NewStorageSystemsClientWithBaseURI(baseURI string, subscriptionID string) StorageSystemsClient

NewStorageSystemsClientWithBaseURI creates an instance of the StorageSystemsClient client.

func (StorageSystemsClient) Get

func (client StorageSystemsClient) Get(ctx context.Context, location string, storageSubSystem string) (result StorageSystem, err error)

Get get a storage subsystem.

location is location of the resource. storageSubSystem is name of the storage system.

func (StorageSystemsClient) GetPreparer

func (client StorageSystemsClient) GetPreparer(ctx context.Context, location string, storageSubSystem string) (*http.Request, error)

GetPreparer prepares the Get request.

func (StorageSystemsClient) GetResponder

func (client StorageSystemsClient) GetResponder(resp *http.Response) (result StorageSystem, err error)

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

func (StorageSystemsClient) GetSender

func (client StorageSystemsClient) 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 (StorageSystemsClient) List

func (client StorageSystemsClient) List(ctx context.Context, location string, filter string) (result StorageSystemListPage, err error)

List get a list of all storage subsystems for a location.

location is location of the resource. filter is oData filter parameter.

func (StorageSystemsClient) ListComplete

func (client StorageSystemsClient) ListComplete(ctx context.Context, location string, filter string) (result StorageSystemListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (StorageSystemsClient) ListPreparer

func (client StorageSystemsClient) ListPreparer(ctx context.Context, location string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (StorageSystemsClient) ListResponder

func (client StorageSystemsClient) ListResponder(resp *http.Response) (result StorageSystemList, err error)

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

func (StorageSystemsClient) ListSender

func (client StorageSystemsClient) 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 Volume

type Volume struct {
	autorest.Response `json:"-"`
	// VolumeModel - Properties of a volume.
	*VolumeModel `json:"properties,omitempty"`
	// ID - URI of the resource.
	ID *string `json:"id,omitempty"`
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - Type of resource.
	Type *string `json:"type,omitempty"`
	// Location - Region Location of resource.
	Location *string `json:"location,omitempty"`
	// Tags - List of key value pairs.
	Tags map[string]*string `json:"tags"`
}

Volume representation of a 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 on this page.
	Value *[]Volume `json:"value,omitempty"`
	// NextLink - URI to the next page.
	NextLink *string `json:"nextLink,omitempty"`
}

VolumeList pageable list of volumes.

func (VolumeList) IsEmpty

func (vl VolumeList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VolumeListIterator

type VolumeListIterator struct {
	// contains filtered or unexported fields
}

VolumeListIterator provides access to a complete listing of Volume values.

func (*VolumeListIterator) Next

func (iter *VolumeListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VolumeListIterator) NotDone

func (iter VolumeListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VolumeListIterator) Response

func (iter VolumeListIterator) Response() VolumeList

Response returns the raw server response from the last page request.

func (VolumeListIterator) Value

func (iter VolumeListIterator) Value() Volume

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VolumeListPage

type VolumeListPage struct {
	// contains filtered or unexported fields
}

VolumeListPage contains a page of Volume values.

func (*VolumeListPage) Next

func (page *VolumeListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VolumeListPage) NotDone

func (page VolumeListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VolumeListPage) Response

func (page VolumeListPage) Response() VolumeList

Response returns the raw server response from the last page request.

func (VolumeListPage) Values

func (page VolumeListPage) Values() []Volume

Values returns the slice of values for the current page or nil if there are no values.

type VolumeModel

type VolumeModel struct {
	// FileSystem - Filesystem type.
	FileSystem *string `json:"fileSystem,omitempty"`
	// RemainingSizeGB - Amount of free space in GB.
	RemainingSizeGB *int32 `json:"remainingSizeGB,omitempty"`
	// SizeGB - Total amount of space in GB.
	SizeGB *int32 `json:"sizeGB,omitempty"`
	// VolumeLabel - Volume label.
	VolumeLabel *string `json:"volumeLabel,omitempty"`
}

VolumeModel properties of a volume.

type VolumesClient

type VolumesClient struct {
	BaseClient
}

VolumesClient is the fabric Admin Client

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.

func (VolumesClient) Get

func (client VolumesClient) Get(ctx context.Context, location string, storageSubSystem string, storagePool string, volume string) (result Volume, err error)

Get get a volume.

location is location of the resource. storageSubSystem is name of the storage system. storagePool is storage pool name. volume is name of the volume.

func (VolumesClient) GetPreparer

func (client VolumesClient) GetPreparer(ctx context.Context, location string, storageSubSystem string, storagePool string, volume 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, location string, storageSubSystem string, storagePool string, filter string) (result VolumeListPage, err error)

List get a list of all volumes at a location.

location is location of the resource. storageSubSystem is name of the storage system. storagePool is storage pool name. filter is oData filter parameter.

func (VolumesClient) ListComplete

func (client VolumesClient) ListComplete(ctx context.Context, location string, storageSubSystem string, storagePool string, filter string) (result VolumeListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VolumesClient) ListPreparer

func (client VolumesClient) ListPreparer(ctx context.Context, location string, storageSubSystem string, storagePool string, filter 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.

Jump to

Keyboard shortcuts

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