Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageMoverID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type Project
- type ProjectId
- type ProjectOperationPredicate
- type ProjectProperties
- type ProjectUpdateParameters
- type ProjectUpdateProperties
- type ProjectsClient
- func (c ProjectsClient) CreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result CreateOrUpdateOperationResponse, err error)
- func (c ProjectsClient) Delete(ctx context.Context, id ProjectId) (result DeleteOperationResponse, err error)
- func (c ProjectsClient) DeleteThenPoll(ctx context.Context, id ProjectId) error
- func (c ProjectsClient) Get(ctx context.Context, id ProjectId) (result GetOperationResponse, err error)
- func (c ProjectsClient) List(ctx context.Context, id StorageMoverId) (result ListOperationResponse, err error)
- func (c ProjectsClient) ListComplete(ctx context.Context, id StorageMoverId) (ListCompleteResult, error)
- func (c ProjectsClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageMoverId, predicate ProjectOperationPredicate) (result ListCompleteResult, err error)
- func (c ProjectsClient) Update(ctx context.Context, id ProjectId, input ProjectUpdateParameters) (result UpdateOperationResponse, err error)
- type ProvisioningState
- type StorageMoverId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
func ValidateStorageMoverID ¶
ValidateStorageMoverID checks that 'input' can be parsed as a Storage Mover ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type Project ¶
type Project struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProjectProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ProjectId ¶
type ProjectId struct { SubscriptionId string ResourceGroupName string StorageMoverName string ProjectName string }
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
func NewProjectID(subscriptionId string, resourceGroupName string, storageMoverName string, projectName string) ProjectId
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (*ProjectId) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProjectOperationPredicate ¶
func (ProjectOperationPredicate) Matches ¶
func (p ProjectOperationPredicate) Matches(input Project) bool
type ProjectProperties ¶
type ProjectProperties struct { Description *string `json:"description,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ProjectUpdateParameters ¶
type ProjectUpdateParameters struct {
Properties *ProjectUpdateProperties `json:"properties,omitempty"`
}
type ProjectUpdateProperties ¶
type ProjectUpdateProperties struct {
Description *string `json:"description,omitempty"`
}
type ProjectsClient ¶
type ProjectsClient struct {
Client *resourcemanager.Client
}
func NewProjectsClientWithBaseURI ¶
func NewProjectsClientWithBaseURI(sdkApi sdkEnv.Api) (*ProjectsClient, error)
func (ProjectsClient) CreateOrUpdate ¶
func (c ProjectsClient) CreateOrUpdate(ctx context.Context, id ProjectId, input Project) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProjectsClient) Delete ¶
func (c ProjectsClient) Delete(ctx context.Context, id ProjectId) (result DeleteOperationResponse, err error)
Delete ...
func (ProjectsClient) DeleteThenPoll ¶
func (c ProjectsClient) DeleteThenPoll(ctx context.Context, id ProjectId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ProjectsClient) Get ¶
func (c ProjectsClient) Get(ctx context.Context, id ProjectId) (result GetOperationResponse, err error)
Get ...
func (ProjectsClient) List ¶
func (c ProjectsClient) List(ctx context.Context, id StorageMoverId) (result ListOperationResponse, err error)
List ...
func (ProjectsClient) ListComplete ¶
func (c ProjectsClient) ListComplete(ctx context.Context, id StorageMoverId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ProjectsClient) ListCompleteMatchingPredicate ¶
func (c ProjectsClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageMoverId, predicate ProjectOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProjectsClient) Update ¶
func (c ProjectsClient) Update(ctx context.Context, id ProjectId, input ProjectUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ProvisioningState ¶
type ProvisioningState string
const (
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type StorageMoverId ¶
type StorageMoverId struct { SubscriptionId string ResourceGroupName string StorageMoverName string }
StorageMoverId is a struct representing the Resource ID for a Storage Mover
func NewStorageMoverID ¶
func NewStorageMoverID(subscriptionId string, resourceGroupName string, storageMoverName string) StorageMoverId
NewStorageMoverID returns a new StorageMoverId struct
func ParseStorageMoverID ¶
func ParseStorageMoverID(input string) (*StorageMoverId, error)
ParseStorageMoverID parses 'input' into a StorageMoverId
func ParseStorageMoverIDInsensitively ¶
func ParseStorageMoverIDInsensitively(input string) (*StorageMoverId, error)
ParseStorageMoverIDInsensitively parses 'input' case-insensitively into a StorageMoverId note: this method should only be used for API response data and not user input
func (*StorageMoverId) FromParseResult ¶
func (id *StorageMoverId) FromParseResult(input resourceids.ParseResult) error
func (StorageMoverId) ID ¶
func (id StorageMoverId) ID() string
ID returns the formatted Storage Mover ID
func (StorageMoverId) Segments ¶
func (id StorageMoverId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Mover ID
func (StorageMoverId) String ¶
func (id StorageMoverId) String() string
String returns a human-readable description of this Storage Mover ID