Documentation ¶
Index ¶
- func PossibleValuesForIscsiTargetAclMode() []string
- func PossibleValuesForOperationalStatus() []string
- func PossibleValuesForProvisioningStates() []string
- func ValidateDiskPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIscsiTargetID(input interface{}, key string) (warnings []string, errors []error)
- type Acl
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DiskPoolId
- type GetOperationResponse
- type IscsiLun
- type IscsiTarget
- type IscsiTargetAclMode
- type IscsiTargetCreate
- type IscsiTargetCreateProperties
- type IscsiTargetId
- type IscsiTargetOperationPredicate
- type IscsiTargetProperties
- type IscsiTargetUpdate
- type IscsiTargetUpdateProperties
- type IscsiTargetsClient
- func (c IscsiTargetsClient) CreateOrUpdate(ctx context.Context, id IscsiTargetId, input IscsiTargetCreate) (result CreateOrUpdateOperationResponse, err error)
- func (c IscsiTargetsClient) CreateOrUpdateThenPoll(ctx context.Context, id IscsiTargetId, input IscsiTargetCreate) error
- func (c IscsiTargetsClient) Delete(ctx context.Context, id IscsiTargetId) (result DeleteOperationResponse, err error)
- func (c IscsiTargetsClient) DeleteThenPoll(ctx context.Context, id IscsiTargetId) error
- func (c IscsiTargetsClient) Get(ctx context.Context, id IscsiTargetId) (result GetOperationResponse, err error)
- func (c IscsiTargetsClient) ListByDiskPool(ctx context.Context, id DiskPoolId) (result ListByDiskPoolOperationResponse, err error)
- func (c IscsiTargetsClient) ListByDiskPoolComplete(ctx context.Context, id DiskPoolId) (ListByDiskPoolCompleteResult, error)
- func (c IscsiTargetsClient) ListByDiskPoolCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, predicate IscsiTargetOperationPredicate) (result ListByDiskPoolCompleteResult, err error)
- func (c IscsiTargetsClient) Update(ctx context.Context, id IscsiTargetId, input IscsiTargetUpdate) (result UpdateOperationResponse, err error)
- func (c IscsiTargetsClient) UpdateThenPoll(ctx context.Context, id IscsiTargetId, input IscsiTargetUpdate) error
- type ListByDiskPoolCompleteResult
- type ListByDiskPoolCustomPager
- type ListByDiskPoolOperationResponse
- type OperationalStatus
- type ProvisioningStates
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIscsiTargetAclMode ¶
func PossibleValuesForIscsiTargetAclMode() []string
func PossibleValuesForOperationalStatus ¶
func PossibleValuesForOperationalStatus() []string
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func ValidateDiskPoolID ¶
ValidateDiskPoolID checks that 'input' can be parsed as a Disk Pool ID
func ValidateIscsiTargetID ¶
ValidateIscsiTargetID checks that 'input' can be parsed as a Iscsi Target ID
Types ¶
type DeleteOperationResponse ¶
type DiskPoolId ¶
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) FromParseResult ¶
func (id *DiskPoolId) FromParseResult(input resourceids.ParseResult) error
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IscsiTarget }
type IscsiTarget ¶
type IscsiTarget struct { Id *string `json:"id,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` ManagedByExtended *[]string `json:"managedByExtended,omitempty"` Name *string `json:"name,omitempty"` Properties IscsiTargetProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type IscsiTargetAclMode ¶
type IscsiTargetAclMode string
const ( IscsiTargetAclModeDynamic IscsiTargetAclMode = "Dynamic" IscsiTargetAclModeStatic IscsiTargetAclMode = "Static" )
func (*IscsiTargetAclMode) UnmarshalJSON ¶
func (s *IscsiTargetAclMode) UnmarshalJSON(bytes []byte) error
type IscsiTargetCreate ¶
type IscsiTargetCreate struct { Id *string `json:"id,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` ManagedByExtended *[]string `json:"managedByExtended,omitempty"` Name *string `json:"name,omitempty"` Properties IscsiTargetCreateProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type IscsiTargetCreateProperties ¶
type IscsiTargetCreateProperties struct { AclMode IscsiTargetAclMode `json:"aclMode"` Luns *[]IscsiLun `json:"luns,omitempty"` StaticAcls *[]Acl `json:"staticAcls,omitempty"` TargetIqn *string `json:"targetIqn,omitempty"` }
type IscsiTargetId ¶
type IscsiTargetId struct { SubscriptionId string ResourceGroupName string DiskPoolName string IscsiTargetName string }
IscsiTargetId is a struct representing the Resource ID for a Iscsi Target
func NewIscsiTargetID ¶
func NewIscsiTargetID(subscriptionId string, resourceGroupName string, diskPoolName string, iscsiTargetName string) IscsiTargetId
NewIscsiTargetID returns a new IscsiTargetId struct
func ParseIscsiTargetID ¶
func ParseIscsiTargetID(input string) (*IscsiTargetId, error)
ParseIscsiTargetID parses 'input' into a IscsiTargetId
func ParseIscsiTargetIDInsensitively ¶
func ParseIscsiTargetIDInsensitively(input string) (*IscsiTargetId, error)
ParseIscsiTargetIDInsensitively parses 'input' case-insensitively into a IscsiTargetId note: this method should only be used for API response data and not user input
func (*IscsiTargetId) FromParseResult ¶
func (id *IscsiTargetId) FromParseResult(input resourceids.ParseResult) error
func (IscsiTargetId) ID ¶
func (id IscsiTargetId) ID() string
ID returns the formatted Iscsi Target ID
func (IscsiTargetId) Segments ¶
func (id IscsiTargetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Iscsi Target ID
func (IscsiTargetId) String ¶
func (id IscsiTargetId) String() string
String returns a human-readable description of this Iscsi Target ID
type IscsiTargetOperationPredicate ¶
type IscsiTargetOperationPredicate struct { Id *string ManagedBy *string Name *string Type *string }
func (IscsiTargetOperationPredicate) Matches ¶
func (p IscsiTargetOperationPredicate) Matches(input IscsiTarget) bool
type IscsiTargetProperties ¶
type IscsiTargetProperties struct { AclMode IscsiTargetAclMode `json:"aclMode"` Endpoints *[]string `json:"endpoints,omitempty"` Luns *[]IscsiLun `json:"luns,omitempty"` Port *int64 `json:"port,omitempty"` ProvisioningState ProvisioningStates `json:"provisioningState"` Sessions *[]string `json:"sessions,omitempty"` StaticAcls *[]Acl `json:"staticAcls,omitempty"` Status OperationalStatus `json:"status"` TargetIqn string `json:"targetIqn"` }
type IscsiTargetUpdate ¶
type IscsiTargetUpdate struct { Id *string `json:"id,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` ManagedByExtended *[]string `json:"managedByExtended,omitempty"` Name *string `json:"name,omitempty"` Properties IscsiTargetUpdateProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type IscsiTargetsClient ¶
type IscsiTargetsClient struct {
Client *resourcemanager.Client
}
func NewIscsiTargetsClientWithBaseURI ¶
func NewIscsiTargetsClientWithBaseURI(sdkApi sdkEnv.Api) (*IscsiTargetsClient, error)
func (IscsiTargetsClient) CreateOrUpdate ¶
func (c IscsiTargetsClient) CreateOrUpdate(ctx context.Context, id IscsiTargetId, input IscsiTargetCreate) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IscsiTargetsClient) CreateOrUpdateThenPoll ¶
func (c IscsiTargetsClient) CreateOrUpdateThenPoll(ctx context.Context, id IscsiTargetId, input IscsiTargetCreate) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IscsiTargetsClient) Delete ¶
func (c IscsiTargetsClient) Delete(ctx context.Context, id IscsiTargetId) (result DeleteOperationResponse, err error)
Delete ...
func (IscsiTargetsClient) DeleteThenPoll ¶
func (c IscsiTargetsClient) DeleteThenPoll(ctx context.Context, id IscsiTargetId) error
DeleteThenPoll performs Delete then polls until it's completed
func (IscsiTargetsClient) Get ¶
func (c IscsiTargetsClient) Get(ctx context.Context, id IscsiTargetId) (result GetOperationResponse, err error)
Get ...
func (IscsiTargetsClient) ListByDiskPool ¶
func (c IscsiTargetsClient) ListByDiskPool(ctx context.Context, id DiskPoolId) (result ListByDiskPoolOperationResponse, err error)
ListByDiskPool ...
func (IscsiTargetsClient) ListByDiskPoolComplete ¶
func (c IscsiTargetsClient) ListByDiskPoolComplete(ctx context.Context, id DiskPoolId) (ListByDiskPoolCompleteResult, error)
ListByDiskPoolComplete retrieves all the results into a single object
func (IscsiTargetsClient) ListByDiskPoolCompleteMatchingPredicate ¶
func (c IscsiTargetsClient) ListByDiskPoolCompleteMatchingPredicate(ctx context.Context, id DiskPoolId, predicate IscsiTargetOperationPredicate) (result ListByDiskPoolCompleteResult, err error)
ListByDiskPoolCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IscsiTargetsClient) Update ¶
func (c IscsiTargetsClient) Update(ctx context.Context, id IscsiTargetId, input IscsiTargetUpdate) (result UpdateOperationResponse, err error)
Update ...
func (IscsiTargetsClient) UpdateThenPoll ¶
func (c IscsiTargetsClient) UpdateThenPoll(ctx context.Context, id IscsiTargetId, input IscsiTargetUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ListByDiskPoolCompleteResult ¶
type ListByDiskPoolCompleteResult struct { LatestHttpResponse *http.Response Items []IscsiTarget }
type ListByDiskPoolCustomPager ¶ added in v0.20240628.1153531
func (*ListByDiskPoolCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDiskPoolCustomPager) NextPageLink() *odata.Link
type ListByDiskPoolOperationResponse ¶
type ListByDiskPoolOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IscsiTarget }
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" )
func (*OperationalStatus) UnmarshalJSON ¶
func (s *OperationalStatus) UnmarshalJSON(bytes []byte) error
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" )
func (*ProvisioningStates) UnmarshalJSON ¶
func (s *ProvisioningStates) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_diskpool.go
- id_iscsitarget.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbydiskpool.go
- method_update.go
- model_acl.go
- model_iscsilun.go
- model_iscsitarget.go
- model_iscsitargetcreate.go
- model_iscsitargetcreateproperties.go
- model_iscsitargetproperties.go
- model_iscsitargetupdate.go
- model_iscsitargetupdateproperties.go
- predicates.go
- version.go