Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 BaseInventoryItemPropertiesImpl struct + InventoryItemName *string + InventoryType InventoryType + ManagedResourceId *string + ProvisioningState *ProvisioningState + Uuid *string + func (s BaseInventoryItemPropertiesImpl) InventoryItemProperties() BaseInventoryItemPropertiesImpl + type CloudInventoryItem struct + InventoryItemName *string + InventoryType InventoryType + ManagedResourceId *string + ProvisioningState *ProvisioningState + Uuid *string + func (s CloudInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s CloudInventoryItem) MarshalJSON() ([]byte, error) + type CreateOperationResponse struct + HttpResponse *http.Response + Model *InventoryItem + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *InventoryItem + OData *odata.OData + type InventoryItem struct + Id *string + Kind *string + Name *string + Properties InventoryItemProperties + SystemData *systemdata.SystemData + Type *string + func (s *InventoryItem) UnmarshalJSON(bytes []byte) error + type InventoryItemDetails struct + InventoryItemId *string + InventoryItemName *string + type InventoryItemId struct + InventoryItemName string + ResourceGroupName string + SubscriptionId string + VmmServerName string + func NewInventoryItemID(subscriptionId string, resourceGroupName string, vmmServerName string, ...) InventoryItemId + func ParseInventoryItemID(input string) (*InventoryItemId, error) + func ParseInventoryItemIDInsensitively(input string) (*InventoryItemId, error) + func (id *InventoryItemId) FromParseResult(input resourceids.ParseResult) error + func (id InventoryItemId) ID() string + func (id InventoryItemId) Segments() []resourceids.Segment + func (id InventoryItemId) String() string + type InventoryItemOperationPredicate struct + Id *string + Kind *string + Name *string + Type *string + func (p InventoryItemOperationPredicate) Matches(input InventoryItem) bool + type InventoryItemProperties interface + InventoryItemProperties func() BaseInventoryItemPropertiesImpl + func UnmarshalInventoryItemPropertiesImplementation(input []byte) (InventoryItemProperties, error) + type InventoryItemsClient struct + Client *resourcemanager.Client + func NewInventoryItemsClientWithBaseURI(sdkApi sdkEnv.Api) (*InventoryItemsClient, error) + 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 string + const InventoryTypeCloud + const InventoryTypeVirtualMachine + const InventoryTypeVirtualMachineTemplate + const InventoryTypeVirtualNetwork + func (s *InventoryType) UnmarshalJSON(bytes []byte) error + type ListByVMmServerCompleteResult struct + Items []InventoryItem + LatestHttpResponse *http.Response + type ListByVMmServerCustomPager struct + NextLink *odata.Link + func (p *ListByVMmServerCustomPager) NextPageLink() *odata.Link + type ListByVMmServerOperationResponse struct + HttpResponse *http.Response + Model *[]InventoryItem + OData *odata.OData + type OsType string + const OsTypeLinux + const OsTypeOther + const OsTypeWindows + func (s *OsType) UnmarshalJSON(bytes []byte) error + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateCreated + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateProvisioning + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RawInventoryItemPropertiesImpl struct + Type string + Values map[string]interface{} + func (s RawInventoryItemPropertiesImpl) InventoryItemProperties() BaseInventoryItemPropertiesImpl + type VMmServerId struct + ResourceGroupName string + SubscriptionId string + VmmServerName string + func NewVMmServerID(subscriptionId string, resourceGroupName string, vmmServerName string) VMmServerId + func ParseVMmServerID(input string) (*VMmServerId, error) + func ParseVMmServerIDInsensitively(input string) (*VMmServerId, error) + func (id *VMmServerId) FromParseResult(input resourceids.ParseResult) error + func (id VMmServerId) ID() string + func (id VMmServerId) Segments() []resourceids.Segment + func (id VMmServerId) String() string + type VirtualMachineInventoryItem struct + BiosGuid *string + Cloud *InventoryItemDetails + IPAddresses *[]string + InventoryItemName *string + InventoryType InventoryType + ManagedMachineResourceId *string + ManagedResourceId *string + OsName *string + OsType *OsType + OsVersion *string + PowerState *string + ProvisioningState *ProvisioningState + Uuid *string + func (s VirtualMachineInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualMachineInventoryItem) MarshalJSON() ([]byte, error) + type VirtualMachineTemplateInventoryItem struct + CpuCount *int64 + InventoryItemName *string + InventoryType InventoryType + ManagedResourceId *string + MemoryMB *int64 + OsName *string + OsType *OsType + ProvisioningState *ProvisioningState + Uuid *string + func (s VirtualMachineTemplateInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualMachineTemplateInventoryItem) MarshalJSON() ([]byte, error) + type VirtualNetworkInventoryItem struct + InventoryItemName *string + InventoryType InventoryType + ManagedResourceId *string + ProvisioningState *ProvisioningState + Uuid *string + func (s VirtualNetworkInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualNetworkInventoryItem) MarshalJSON() ([]byte, error)