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 ValidateVCenterID(input interface{}, key string) (warnings []string, errors []error) + type BaseInventoryItemPropertiesImpl struct + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + ProvisioningState *ProvisioningState + func (s BaseInventoryItemPropertiesImpl) InventoryItemProperties() BaseInventoryItemPropertiesImpl + type ClusterInventoryItem struct + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + ProvisioningState *ProvisioningState + func (s ClusterInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s ClusterInventoryItem) MarshalJSON() ([]byte, error) + type CreateOperationResponse struct + HttpResponse *http.Response + Model *InventoryItem + OData *odata.OData + type DatastoreInventoryItem struct + CapacityGB *int64 + FreeSpaceGB *int64 + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + ProvisioningState *ProvisioningState + func (s DatastoreInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s DatastoreInventoryItem) MarshalJSON() ([]byte, error) + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *InventoryItem + OData *odata.OData + type HostInventoryItem struct + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + Parent *InventoryItemDetails + ProvisioningState *ProvisioningState + func (s HostInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s HostInventoryItem) MarshalJSON() ([]byte, error) + 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 + InventoryType *InventoryType + MoName *string + type InventoryItemId struct + InventoryItemName string + ResourceGroupName string + SubscriptionId string + VCenterName string + func NewInventoryItemID(subscriptionId string, resourceGroupName string, vCenterName 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) ListByVCenter(ctx context.Context, id VCenterId) (result ListByVCenterOperationResponse, err error) + func (c InventoryItemsClient) ListByVCenterComplete(ctx context.Context, id VCenterId) (ListByVCenterCompleteResult, error) + func (c InventoryItemsClient) ListByVCenterCompleteMatchingPredicate(ctx context.Context, id VCenterId, predicate InventoryItemOperationPredicate) (result ListByVCenterCompleteResult, err error) + type InventoryType string + const InventoryTypeCluster + const InventoryTypeDatastore + const InventoryTypeHost + const InventoryTypeResourcePool + const InventoryTypeVirtualMachine + const InventoryTypeVirtualMachineTemplate + const InventoryTypeVirtualNetwork + func (s *InventoryType) UnmarshalJSON(bytes []byte) error + type ListByVCenterCompleteResult struct + Items []InventoryItem + LatestHttpResponse *http.Response + type ListByVCenterCustomPager struct + NextLink *odata.Link + func (p *ListByVCenterCustomPager) NextPageLink() *odata.Link + type ListByVCenterOperationResponse 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 ResourcePoolInventoryItem struct + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + Parent *InventoryItemDetails + ProvisioningState *ProvisioningState + func (s ResourcePoolInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s ResourcePoolInventoryItem) MarshalJSON() ([]byte, error) + type VCenterId struct + ResourceGroupName string + SubscriptionId string + VCenterName string + func NewVCenterID(subscriptionId string, resourceGroupName string, vCenterName string) VCenterId + func ParseVCenterID(input string) (*VCenterId, error) + func ParseVCenterIDInsensitively(input string) (*VCenterId, error) + func (id *VCenterId) FromParseResult(input resourceids.ParseResult) error + func (id VCenterId) ID() string + func (id VCenterId) Segments() []resourceids.Segment + func (id VCenterId) String() string + type VirtualMachineInventoryItem struct + Cluster *InventoryItemDetails + FolderPath *string + Host *InventoryItemDetails + IPAddresses *[]string + InstanceUuid *string + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + OsName *string + OsType *OsType + PowerState *string + ProvisioningState *ProvisioningState + ResourcePool *InventoryItemDetails + SmbiosUuid *string + ToolsRunningStatus *string + ToolsVersion *string + ToolsVersionStatus *string + func (s VirtualMachineInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualMachineInventoryItem) MarshalJSON() ([]byte, error) + type VirtualMachineTemplateInventoryItem struct + FolderPath *string + InventoryType InventoryType + ManagedResourceId *string + MemorySizeMB *int64 + MoName *string + MoRefId *string + NumCPUs *int64 + NumCoresPerSocket *int64 + OsName *string + OsType *OsType + ProvisioningState *ProvisioningState + ToolsVersion *string + ToolsVersionStatus *string + func (s VirtualMachineTemplateInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualMachineTemplateInventoryItem) MarshalJSON() ([]byte, error) + type VirtualNetworkInventoryItem struct + InventoryType InventoryType + ManagedResourceId *string + MoName *string + MoRefId *string + ProvisioningState *ProvisioningState + func (s VirtualNetworkInventoryItem) InventoryItemProperties() BaseInventoryItemPropertiesImpl + func (s VirtualNetworkInventoryItem) MarshalJSON() ([]byte, error)