Documentation ¶
Index ¶
- func PossibleValuesForInventoryType() []string
- func PossibleValuesForOsType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateInventoryItemID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVMmServerID(input interface{}, key string) (warnings []string, errors []error)
- type CloudInventoryItem
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type InventoryItem
- type InventoryItemDetails
- type InventoryItemId
- type InventoryItemOperationPredicate
- type InventoryItemProperties
- type InventoryItemsClient
- func (c InventoryItemsClient) Create(ctx context.Context, id InventoryItemId, input InventoryItem) (result CreateOperationResponse, err error)
- func (c InventoryItemsClient) Delete(ctx context.Context, id InventoryItemId) (result DeleteOperationResponse, err error)
- func (c InventoryItemsClient) Get(ctx context.Context, id InventoryItemId) (result GetOperationResponse, err error)
- func (c InventoryItemsClient) ListByVMmServer(ctx context.Context, id VMmServerId) (result ListByVMmServerOperationResponse, err error)
- func (c InventoryItemsClient) ListByVMmServerComplete(ctx context.Context, id VMmServerId) (ListByVMmServerCompleteResult, error)
- func (c InventoryItemsClient) ListByVMmServerCompleteMatchingPredicate(ctx context.Context, id VMmServerId, predicate InventoryItemOperationPredicate) (result ListByVMmServerCompleteResult, err error)
- type InventoryType
- type ListByVMmServerCompleteResult
- type ListByVMmServerCustomPager
- type ListByVMmServerOperationResponse
- type OsType
- type ProvisioningState
- type RawInventoryItemPropertiesImpl
- type VMmServerId
- type VirtualMachineInventoryItem
- type VirtualMachineTemplateInventoryItem
- type VirtualNetworkInventoryItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForInventoryType ¶
func PossibleValuesForInventoryType() []string
func PossibleValuesForOsType ¶
func PossibleValuesForOsType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateInventoryItemID ¶
ValidateInventoryItemID checks that 'input' can be parsed as a Inventory Item ID
func ValidateVMmServerID ¶
ValidateVMmServerID checks that 'input' can be parsed as a V Mm Server ID
Types ¶
type CloudInventoryItem ¶
type CloudInventoryItem struct { // Fields inherited from InventoryItemProperties InventoryItemName *string `json:"inventoryItemName,omitempty"` ManagedResourceId *string `json:"managedResourceId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` }
func (CloudInventoryItem) MarshalJSON ¶
func (s CloudInventoryItem) MarshalJSON() ([]byte, error)
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InventoryItem }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *InventoryItem }
type InventoryItem ¶
type InventoryItem struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties InventoryItemProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*InventoryItem) UnmarshalJSON ¶
func (s *InventoryItem) UnmarshalJSON(bytes []byte) error
type InventoryItemDetails ¶
type InventoryItemId ¶
type InventoryItemId struct { SubscriptionId string ResourceGroupName string VmmServerName string InventoryItemName string }
InventoryItemId is a struct representing the Resource ID for a Inventory Item
func NewInventoryItemID ¶
func NewInventoryItemID(subscriptionId string, resourceGroupName string, vmmServerName string, inventoryItemName string) InventoryItemId
NewInventoryItemID returns a new InventoryItemId struct
func ParseInventoryItemID ¶
func ParseInventoryItemID(input string) (*InventoryItemId, error)
ParseInventoryItemID parses 'input' into a InventoryItemId
func ParseInventoryItemIDInsensitively ¶
func ParseInventoryItemIDInsensitively(input string) (*InventoryItemId, error)
ParseInventoryItemIDInsensitively parses 'input' case-insensitively into a InventoryItemId note: this method should only be used for API response data and not user input
func (*InventoryItemId) FromParseResult ¶
func (id *InventoryItemId) FromParseResult(input resourceids.ParseResult) error
func (InventoryItemId) ID ¶
func (id InventoryItemId) ID() string
ID returns the formatted Inventory Item ID
func (InventoryItemId) Segments ¶
func (id InventoryItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Inventory Item ID
func (InventoryItemId) String ¶
func (id InventoryItemId) String() string
String returns a human-readable description of this Inventory Item ID
type InventoryItemOperationPredicate ¶
func (InventoryItemOperationPredicate) Matches ¶
func (p InventoryItemOperationPredicate) Matches(input InventoryItem) bool
type InventoryItemProperties ¶
type InventoryItemProperties interface { }
type InventoryItemsClient ¶
type InventoryItemsClient struct {
Client *resourcemanager.Client
}
func NewInventoryItemsClientWithBaseURI ¶
func NewInventoryItemsClientWithBaseURI(sdkApi sdkEnv.Api) (*InventoryItemsClient, error)
func (InventoryItemsClient) Create ¶
func (c InventoryItemsClient) Create(ctx context.Context, id InventoryItemId, input InventoryItem) (result CreateOperationResponse, err error)
Create ...
func (InventoryItemsClient) Delete ¶
func (c InventoryItemsClient) Delete(ctx context.Context, id InventoryItemId) (result DeleteOperationResponse, err error)
Delete ...
func (InventoryItemsClient) Get ¶
func (c InventoryItemsClient) Get(ctx context.Context, id InventoryItemId) (result GetOperationResponse, err error)
Get ...
func (InventoryItemsClient) ListByVMmServer ¶
func (c InventoryItemsClient) ListByVMmServer(ctx context.Context, id VMmServerId) (result ListByVMmServerOperationResponse, err error)
ListByVMmServer ...
func (InventoryItemsClient) ListByVMmServerComplete ¶
func (c InventoryItemsClient) ListByVMmServerComplete(ctx context.Context, id VMmServerId) (ListByVMmServerCompleteResult, error)
ListByVMmServerComplete retrieves all the results into a single object
func (InventoryItemsClient) ListByVMmServerCompleteMatchingPredicate ¶
func (c InventoryItemsClient) ListByVMmServerCompleteMatchingPredicate(ctx context.Context, id VMmServerId, predicate InventoryItemOperationPredicate) (result ListByVMmServerCompleteResult, err error)
ListByVMmServerCompleteMatchingPredicate retrieves all the results and then applies the predicate
type InventoryType ¶
type InventoryType string
const ( InventoryTypeCloud InventoryType = "Cloud" InventoryTypeVirtualMachine InventoryType = "VirtualMachine" InventoryTypeVirtualMachineTemplate InventoryType = "VirtualMachineTemplate" InventoryTypeVirtualNetwork InventoryType = "VirtualNetwork" )
func (*InventoryType) UnmarshalJSON ¶
func (s *InventoryType) UnmarshalJSON(bytes []byte) error
type ListByVMmServerCompleteResult ¶
type ListByVMmServerCompleteResult struct { LatestHttpResponse *http.Response Items []InventoryItem }
type ListByVMmServerCustomPager ¶
func (*ListByVMmServerCustomPager) NextPageLink ¶
func (p *ListByVMmServerCustomPager) NextPageLink() *odata.Link
type ListByVMmServerOperationResponse ¶
type ListByVMmServerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]InventoryItem }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RawInventoryItemPropertiesImpl ¶
RawInventoryItemPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type VMmServerId ¶
VMmServerId is a struct representing the Resource ID for a V Mm Server
func NewVMmServerID ¶
func NewVMmServerID(subscriptionId string, resourceGroupName string, vmmServerName string) VMmServerId
NewVMmServerID returns a new VMmServerId struct
func ParseVMmServerID ¶
func ParseVMmServerID(input string) (*VMmServerId, error)
ParseVMmServerID parses 'input' into a VMmServerId
func ParseVMmServerIDInsensitively ¶
func ParseVMmServerIDInsensitively(input string) (*VMmServerId, error)
ParseVMmServerIDInsensitively parses 'input' case-insensitively into a VMmServerId note: this method should only be used for API response data and not user input
func (*VMmServerId) FromParseResult ¶
func (id *VMmServerId) FromParseResult(input resourceids.ParseResult) error
func (VMmServerId) Segments ¶
func (id VMmServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Mm Server ID
func (VMmServerId) String ¶
func (id VMmServerId) String() string
String returns a human-readable description of this V Mm Server ID
type VirtualMachineInventoryItem ¶
type VirtualMachineInventoryItem struct { BiosGuid *string `json:"biosGuid,omitempty"` Cloud *InventoryItemDetails `json:"cloud,omitempty"` IPAddresses *[]string `json:"ipAddresses,omitempty"` ManagedMachineResourceId *string `json:"managedMachineResourceId,omitempty"` OsName *string `json:"osName,omitempty"` OsType *OsType `json:"osType,omitempty"` OsVersion *string `json:"osVersion,omitempty"` PowerState *string `json:"powerState,omitempty"` // Fields inherited from InventoryItemProperties InventoryItemName *string `json:"inventoryItemName,omitempty"` ManagedResourceId *string `json:"managedResourceId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` }
func (VirtualMachineInventoryItem) MarshalJSON ¶
func (s VirtualMachineInventoryItem) MarshalJSON() ([]byte, error)
type VirtualMachineTemplateInventoryItem ¶
type VirtualMachineTemplateInventoryItem struct { CpuCount *int64 `json:"cpuCount,omitempty"` MemoryMB *int64 `json:"memoryMB,omitempty"` OsName *string `json:"osName,omitempty"` OsType *OsType `json:"osType,omitempty"` // Fields inherited from InventoryItemProperties InventoryItemName *string `json:"inventoryItemName,omitempty"` ManagedResourceId *string `json:"managedResourceId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` }
func (VirtualMachineTemplateInventoryItem) MarshalJSON ¶
func (s VirtualMachineTemplateInventoryItem) MarshalJSON() ([]byte, error)
type VirtualNetworkInventoryItem ¶
type VirtualNetworkInventoryItem struct { // Fields inherited from InventoryItemProperties InventoryItemName *string `json:"inventoryItemName,omitempty"` ManagedResourceId *string `json:"managedResourceId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` }
func (VirtualNetworkInventoryItem) MarshalJSON ¶
func (s VirtualNetworkInventoryItem) MarshalJSON() ([]byte, error)
Source Files ¶
- client.go
- constants.go
- id_inventoryitem.go
- id_vmmserver.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyvmmserver.go
- model_cloudinventoryitem.go
- model_inventoryitem.go
- model_inventoryitemdetails.go
- model_inventoryitemproperties.go
- model_virtualmachineinventoryitem.go
- model_virtualmachinetemplateinventoryitem.go
- model_virtualnetworkinventoryitem.go
- predicates.go
- version.go