diskpools

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCreatedByType

func PossibleValuesForCreatedByType() []string

func PossibleValuesForOperationalStatus

func PossibleValuesForOperationalStatus() []string

func PossibleValuesForProvisioningStates

func PossibleValuesForProvisioningStates() []string

func ValidateDiskPoolID

func ValidateDiskPoolID(input interface{}, key string) (warnings []string, errors []error)

ValidateDiskPoolID checks that 'input' can be parsed as a Disk Pool ID

func ValidateResourceGroupID

func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateSubscriptionID

func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)

ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID

Types

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CreatedByType

type CreatedByType string
const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

type DeallocateResponse

type DeallocateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type Disk

type Disk struct {
	Id string `json:"id"`
}

type DiskPool

type DiskPool struct {
	Id                *string            `json:"id,omitempty"`
	Location          string             `json:"location"`
	ManagedBy         *string            `json:"managedBy,omitempty"`
	ManagedByExtended *[]string          `json:"managedByExtended,omitempty"`
	Name              *string            `json:"name,omitempty"`
	Properties        DiskPoolProperties `json:"properties"`
	Sku               *Sku               `json:"sku,omitempty"`
	SystemData        *SystemMetadata    `json:"systemData,omitempty"`
	Tags              *map[string]string `json:"tags,omitempty"`
	Type              *string            `json:"type,omitempty"`
}

type DiskPoolCreate

type DiskPoolCreate struct {
	Id                *string                  `json:"id,omitempty"`
	Location          string                   `json:"location"`
	ManagedBy         *string                  `json:"managedBy,omitempty"`
	ManagedByExtended *[]string                `json:"managedByExtended,omitempty"`
	Name              *string                  `json:"name,omitempty"`
	Properties        DiskPoolCreateProperties `json:"properties"`
	Sku               Sku                      `json:"sku"`
	Tags              *map[string]string       `json:"tags,omitempty"`
	Type              *string                  `json:"type,omitempty"`
}

type DiskPoolCreateProperties

type DiskPoolCreateProperties struct {
	AdditionalCapabilities *[]string `json:"additionalCapabilities,omitempty"`
	AvailabilityZones      *[]string `json:"availabilityZones,omitempty"`
	Disks                  *[]Disk   `json:"disks,omitempty"`
	SubnetId               string    `json:"subnetId"`
}

type DiskPoolId

type DiskPoolId struct {
	SubscriptionId    string
	ResourceGroupName string
	DiskPoolName      string
}

DiskPoolId is a struct representing the Resource ID for a Disk Pool

func NewDiskPoolID

func NewDiskPoolID(subscriptionId string, resourceGroupName string, diskPoolName string) DiskPoolId

NewDiskPoolID returns a new DiskPoolId struct

func ParseDiskPoolID

func ParseDiskPoolID(input string) (*DiskPoolId, error)

ParseDiskPoolID parses 'input' into a DiskPoolId

func ParseDiskPoolIDInsensitively

func ParseDiskPoolIDInsensitively(input string) (*DiskPoolId, error)

ParseDiskPoolIDInsensitively parses 'input' case-insensitively into a DiskPoolId note: this method should only be used for API response data and not user input

func (DiskPoolId) ID

func (id DiskPoolId) ID() string

ID returns the formatted Disk Pool ID

func (DiskPoolId) Segments

func (id DiskPoolId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Disk Pool ID

func (DiskPoolId) String

func (id DiskPoolId) String() string

String returns a human-readable description of this Disk Pool ID

type DiskPoolManagedDiskAttachmentId

type DiskPoolManagedDiskAttachmentId struct {
	DiskPoolId    DiskPoolId
	ManagedDiskId computeParse.ManagedDiskId
}

func DiskPoolManagedDiskAttachmentID

func DiskPoolManagedDiskAttachmentID(input string) (*DiskPoolManagedDiskAttachmentId, error)

func NewDiskPoolManagedDiskAttachmentId

func NewDiskPoolManagedDiskAttachmentId(diskPoolId DiskPoolId, managedDiskId computeParse.ManagedDiskId) DiskPoolManagedDiskAttachmentId

func (DiskPoolManagedDiskAttachmentId) ID

type DiskPoolPredicate

type DiskPoolPredicate struct {
	Id        *string
	Location  *string
	ManagedBy *string
	Name      *string
	Type      *string
}

func (DiskPoolPredicate) Matches

func (p DiskPoolPredicate) Matches(input DiskPool) bool

type DiskPoolProperties

type DiskPoolProperties struct {
	AdditionalCapabilities *[]string          `json:"additionalCapabilities,omitempty"`
	AvailabilityZones      []string           `json:"availabilityZones"`
	Disks                  *[]Disk            `json:"disks,omitempty"`
	ProvisioningState      ProvisioningStates `json:"provisioningState"`
	Status                 OperationalStatus  `json:"status"`
	SubnetId               string             `json:"subnetId"`
}

type DiskPoolUpdate

type DiskPoolUpdate struct {
	ManagedBy         *string                  `json:"managedBy,omitempty"`
	ManagedByExtended *[]string                `json:"managedByExtended,omitempty"`
	Properties        DiskPoolUpdateProperties `json:"properties"`
	Sku               *Sku                     `json:"sku,omitempty"`
	Tags              *map[string]string       `json:"tags,omitempty"`
}

type DiskPoolUpdateProperties

type DiskPoolUpdateProperties struct {
	Disks *[]Disk `json:"disks,omitempty"`
}

type DiskPoolsClient

type DiskPoolsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDiskPoolsClientWithBaseURI

func NewDiskPoolsClientWithBaseURI(endpoint string) DiskPoolsClient

func (DiskPoolsClient) CreateOrUpdate

func (c DiskPoolsClient) CreateOrUpdate(ctx context.Context, id DiskPoolId, input DiskPoolCreate) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (DiskPoolsClient) CreateOrUpdateThenPoll

func (c DiskPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolCreate) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (DiskPoolsClient) Deallocate

func (c DiskPoolsClient) Deallocate(ctx context.Context, id DiskPoolId) (result DeallocateResponse, err error)

Deallocate ...

func (DiskPoolsClient) DeallocateThenPoll

func (c DiskPoolsClient) DeallocateThenPoll(ctx context.Context, id DiskPoolId) error

DeallocateThenPoll performs Deallocate then polls until it's completed

func (DiskPoolsClient) Delete

func (c DiskPoolsClient) Delete(ctx context.Context, id DiskPoolId) (result DeleteResponse, err error)

Delete ...

func (DiskPoolsClient) DeleteThenPoll

func (c DiskPoolsClient) DeleteThenPoll(ctx context.Context, id DiskPoolId) error

DeleteThenPoll performs Delete then polls until it's completed

func (DiskPoolsClient) Get

func (c DiskPoolsClient) Get(ctx context.Context, id DiskPoolId) (result GetResponse, err error)

Get ...

func (DiskPoolsClient) ListByResourceGroup

func (c DiskPoolsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)

ListByResourceGroup ...

func (DiskPoolsClient) ListByResourceGroupComplete

func (c DiskPoolsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)

ListByResourceGroupComplete retrieves all of the results into a single object

func (DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate

func (c DiskPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate DiskPoolPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DiskPoolsClient) ListBySubscription

func (c DiskPoolsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)

ListBySubscription ...

func (DiskPoolsClient) ListBySubscriptionComplete

func (c DiskPoolsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)

ListBySubscriptionComplete retrieves all of the results into a single object

func (DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate

func (c DiskPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate DiskPoolPredicate) (resp ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints

func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id DiskPoolId) (resp ListOutboundNetworkDependenciesEndpointsResponse, err error)

ListOutboundNetworkDependenciesEndpoints ...

func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete

func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id DiskPoolId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)

ListOutboundNetworkDependenciesEndpointsComplete retrieves all of the results into a single object

func (DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate

func (c DiskPoolsClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, predicate OutboundEnvironmentEndpointPredicate) (resp ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)

ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DiskPoolsClient) Start

func (c DiskPoolsClient) Start(ctx context.Context, id DiskPoolId) (result StartResponse, err error)

Start ...

func (DiskPoolsClient) StartThenPoll

func (c DiskPoolsClient) StartThenPoll(ctx context.Context, id DiskPoolId) error

StartThenPoll performs Start then polls until it's completed

func (DiskPoolsClient) Update

func (c DiskPoolsClient) Update(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) (result UpdateResponse, err error)

Update ...

func (DiskPoolsClient) UpdateThenPoll

func (c DiskPoolsClient) UpdateThenPoll(ctx context.Context, id DiskPoolId, input DiskPoolUpdate) error

UpdateThenPoll performs Update then polls until it's completed

func (DiskPoolsClient) Upgrade

func (c DiskPoolsClient) Upgrade(ctx context.Context, id DiskPoolId) (result UpgradeResponse, err error)

Upgrade ...

func (DiskPoolsClient) UpgradeThenPoll

func (c DiskPoolsClient) UpgradeThenPoll(ctx context.Context, id DiskPoolId) error

UpgradeThenPoll performs Upgrade then polls until it's completed

type EndpointDependency

type EndpointDependency struct {
	DomainName      *string           `json:"domainName,omitempty"`
	EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"`
}

type EndpointDetail

type EndpointDetail struct {
	IpAddress    *string  `json:"ipAddress,omitempty"`
	IsAccessible *bool    `json:"isAccessible,omitempty"`
	Latency      *float64 `json:"latency,omitempty"`
	Port         *int64   `json:"port,omitempty"`
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *DiskPool
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []DiskPool
}

type ListByResourceGroupResponse

type ListByResourceGroupResponse struct {
	HttpResponse *http.Response
	Model        *[]DiskPool
	// contains filtered or unexported fields
}

func (ListByResourceGroupResponse) HasMore

func (r ListByResourceGroupResponse) HasMore() bool

func (ListByResourceGroupResponse) LoadMore

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	Items []DiskPool
}

type ListBySubscriptionResponse

type ListBySubscriptionResponse struct {
	HttpResponse *http.Response
	Model        *[]DiskPool
	// contains filtered or unexported fields
}

func (ListBySubscriptionResponse) HasMore

func (r ListBySubscriptionResponse) HasMore() bool

func (ListBySubscriptionResponse) LoadMore

type ListOutboundNetworkDependenciesEndpointsCompleteResult

type ListOutboundNetworkDependenciesEndpointsCompleteResult struct {
	Items []OutboundEnvironmentEndpoint
}

type ListOutboundNetworkDependenciesEndpointsResponse

type ListOutboundNetworkDependenciesEndpointsResponse struct {
	HttpResponse *http.Response
	Model        *[]OutboundEnvironmentEndpoint
	// contains filtered or unexported fields
}

func (ListOutboundNetworkDependenciesEndpointsResponse) HasMore

func (ListOutboundNetworkDependenciesEndpointsResponse) LoadMore

type OperationalStatus

type OperationalStatus string
const (
	OperationalStatusHealthy            OperationalStatus = "Healthy"
	OperationalStatusInvalid            OperationalStatus = "Invalid"
	OperationalStatusRunning            OperationalStatus = "Running"
	OperationalStatusStopped            OperationalStatus = "Stopped"
	OperationalStatusStoppedDeallocated OperationalStatus = "Stopped (deallocated)"
	OperationalStatusUnhealthy          OperationalStatus = "Unhealthy"
	OperationalStatusUnknown            OperationalStatus = "Unknown"
	OperationalStatusUpdating           OperationalStatus = "Updating"
)

type OutboundEnvironmentEndpoint

type OutboundEnvironmentEndpoint struct {
	Category  *string               `json:"category,omitempty"`
	Endpoints *[]EndpointDependency `json:"endpoints,omitempty"`
}

type OutboundEnvironmentEndpointPredicate

type OutboundEnvironmentEndpointPredicate struct {
	Category *string
}

func (OutboundEnvironmentEndpointPredicate) Matches

type ProvisioningStates

type ProvisioningStates string
const (
	ProvisioningStatesCanceled  ProvisioningStates = "Canceled"
	ProvisioningStatesCreating  ProvisioningStates = "Creating"
	ProvisioningStatesDeleting  ProvisioningStates = "Deleting"
	ProvisioningStatesFailed    ProvisioningStates = "Failed"
	ProvisioningStatesInvalid   ProvisioningStates = "Invalid"
	ProvisioningStatesPending   ProvisioningStates = "Pending"
	ProvisioningStatesSucceeded ProvisioningStates = "Succeeded"
	ProvisioningStatesUpdating  ProvisioningStates = "Updating"
)

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

func (id ResourceGroupId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Resource Group ID

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type Sku

type Sku struct {
	Name string  `json:"name"`
	Tier *string `json:"tier,omitempty"`
}

type StartResponse

type StartResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

SubscriptionId is a struct representing the Resource ID for a Subscription

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

NewSubscriptionID returns a new SubscriptionId struct

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses 'input' into a SubscriptionId

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

ID returns the formatted Subscription ID

func (SubscriptionId) Segments

func (id SubscriptionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Subscription ID

func (SubscriptionId) String

func (id SubscriptionId) String() string

String returns a human-readable description of this Subscription ID

type SystemMetadata

type SystemMetadata struct {
	CreatedAt          *string        `json:"createdAt,omitempty"`
	CreatedBy          *string        `json:"createdBy,omitempty"`
	CreatedByType      *CreatedByType `json:"createdByType,omitempty"`
	LastModifiedAt     *string        `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string        `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"`
}

func (SystemMetadata) GetCreatedAtAsTime

func (o SystemMetadata) GetCreatedAtAsTime() (*time.Time, error)

func (SystemMetadata) GetLastModifiedAtAsTime

func (o SystemMetadata) GetLastModifiedAtAsTime() (*time.Time, error)

func (SystemMetadata) SetCreatedAtAsTime

func (o SystemMetadata) SetCreatedAtAsTime(input time.Time)

func (SystemMetadata) SetLastModifiedAtAsTime

func (o SystemMetadata) SetLastModifiedAtAsTime(input time.Time)

type UpdateResponse

type UpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UpgradeResponse

type UpgradeResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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