Documentation ¶
Index ¶
- func PossibleValuesForIscsiPathProvisioningState() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IscsiPath
- type IscsiPathOperationPredicate
- type IscsiPathProperties
- type IscsiPathProvisioningState
- type IscsiPathsClient
- func (c IscsiPathsClient) CreateOrUpdate(ctx context.Context, id PrivateCloudId, input IscsiPath) (result CreateOrUpdateOperationResponse, err error)
- func (c IscsiPathsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrivateCloudId, input IscsiPath) error
- func (c IscsiPathsClient) Delete(ctx context.Context, id PrivateCloudId) (result DeleteOperationResponse, err error)
- func (c IscsiPathsClient) DeleteThenPoll(ctx context.Context, id PrivateCloudId) error
- func (c IscsiPathsClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
- func (c IscsiPathsClient) ListByPrivateCloud(ctx context.Context, id PrivateCloudId) (result ListByPrivateCloudOperationResponse, err error)
- func (c IscsiPathsClient) ListByPrivateCloudComplete(ctx context.Context, id PrivateCloudId) (ListByPrivateCloudCompleteResult, error)
- func (c IscsiPathsClient) ListByPrivateCloudCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate IscsiPathOperationPredicate) (result ListByPrivateCloudCompleteResult, err error)
- type ListByPrivateCloudCompleteResult
- type ListByPrivateCloudCustomPager
- type ListByPrivateCloudOperationResponse
- type PrivateCloudId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIscsiPathProvisioningState ¶
func PossibleValuesForIscsiPathProvisioningState() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type IscsiPath ¶
type IscsiPath struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IscsiPathProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type IscsiPathOperationPredicate ¶
func (IscsiPathOperationPredicate) Matches ¶
func (p IscsiPathOperationPredicate) Matches(input IscsiPath) bool
type IscsiPathProperties ¶
type IscsiPathProperties struct { NetworkBlock string `json:"networkBlock"` ProvisioningState *IscsiPathProvisioningState `json:"provisioningState,omitempty"` }
type IscsiPathProvisioningState ¶
type IscsiPathProvisioningState string
const ( IscsiPathProvisioningStateBuilding IscsiPathProvisioningState = "Building" IscsiPathProvisioningStateCanceled IscsiPathProvisioningState = "Canceled" IscsiPathProvisioningStateDeleting IscsiPathProvisioningState = "Deleting" IscsiPathProvisioningStateFailed IscsiPathProvisioningState = "Failed" IscsiPathProvisioningStatePending IscsiPathProvisioningState = "Pending" IscsiPathProvisioningStateSucceeded IscsiPathProvisioningState = "Succeeded" IscsiPathProvisioningStateUpdating IscsiPathProvisioningState = "Updating" )
func (*IscsiPathProvisioningState) UnmarshalJSON ¶
func (s *IscsiPathProvisioningState) UnmarshalJSON(bytes []byte) error
type IscsiPathsClient ¶
type IscsiPathsClient struct {
Client *resourcemanager.Client
}
func NewIscsiPathsClientWithBaseURI ¶
func NewIscsiPathsClientWithBaseURI(sdkApi sdkEnv.Api) (*IscsiPathsClient, error)
func (IscsiPathsClient) CreateOrUpdate ¶
func (c IscsiPathsClient) CreateOrUpdate(ctx context.Context, id PrivateCloudId, input IscsiPath) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IscsiPathsClient) CreateOrUpdateThenPoll ¶
func (c IscsiPathsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrivateCloudId, input IscsiPath) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IscsiPathsClient) Delete ¶
func (c IscsiPathsClient) Delete(ctx context.Context, id PrivateCloudId) (result DeleteOperationResponse, err error)
Delete ...
func (IscsiPathsClient) DeleteThenPoll ¶
func (c IscsiPathsClient) DeleteThenPoll(ctx context.Context, id PrivateCloudId) error
DeleteThenPoll performs Delete then polls until it's completed
func (IscsiPathsClient) Get ¶
func (c IscsiPathsClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
Get ...
func (IscsiPathsClient) ListByPrivateCloud ¶
func (c IscsiPathsClient) ListByPrivateCloud(ctx context.Context, id PrivateCloudId) (result ListByPrivateCloudOperationResponse, err error)
ListByPrivateCloud ...
func (IscsiPathsClient) ListByPrivateCloudComplete ¶
func (c IscsiPathsClient) ListByPrivateCloudComplete(ctx context.Context, id PrivateCloudId) (ListByPrivateCloudCompleteResult, error)
ListByPrivateCloudComplete retrieves all the results into a single object
func (IscsiPathsClient) ListByPrivateCloudCompleteMatchingPredicate ¶
func (c IscsiPathsClient) ListByPrivateCloudCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate IscsiPathOperationPredicate) (result ListByPrivateCloudCompleteResult, err error)
ListByPrivateCloudCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListByPrivateCloudCustomPager ¶ added in v0.20240628.1153531
func (*ListByPrivateCloudCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByPrivateCloudCustomPager) NextPageLink() *odata.Link
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (*PrivateCloudId) FromParseResult ¶
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID