1. Packages
  2. Azure Native
  3. API Docs
  4. connectedvmwarevsphere
  5. getDatastore
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.connectedvmwarevsphere.getDatastore

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Implements datastore GET method. Azure REST API version: 2022-07-15-preview.

    Other available API versions: 2023-03-01-preview, 2023-10-01.

    Using getDatastore

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDatastore(args: GetDatastoreArgs, opts?: InvokeOptions): Promise<GetDatastoreResult>
    function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: InvokeOptions): Output<GetDatastoreResult>
    def get_datastore(datastore_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetDatastoreResult
    def get_datastore_output(datastore_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetDatastoreResult]
    func LookupDatastore(ctx *Context, args *LookupDatastoreArgs, opts ...InvokeOption) (*LookupDatastoreResult, error)
    func LookupDatastoreOutput(ctx *Context, args *LookupDatastoreOutputArgs, opts ...InvokeOption) LookupDatastoreResultOutput

    > Note: This function is named LookupDatastore in the Go SDK.

    public static class GetDatastore 
    {
        public static Task<GetDatastoreResult> InvokeAsync(GetDatastoreArgs args, InvokeOptions? opts = null)
        public static Output<GetDatastoreResult> Invoke(GetDatastoreInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatastoreResult> getDatastore(GetDatastoreArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:connectedvmwarevsphere:getDatastore
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DatastoreName string
    Name of the datastore.
    ResourceGroupName string
    The Resource Group Name.
    DatastoreName string
    Name of the datastore.
    ResourceGroupName string
    The Resource Group Name.
    datastoreName String
    Name of the datastore.
    resourceGroupName String
    The Resource Group Name.
    datastoreName string
    Name of the datastore.
    resourceGroupName string
    The Resource Group Name.
    datastore_name str
    Name of the datastore.
    resource_group_name str
    The Resource Group Name.
    datastoreName String
    Name of the datastore.
    resourceGroupName String
    The Resource Group Name.

    getDatastore Result

    The following output properties are available:

    CapacityGB double
    Gets or sets Maximum capacity of this datastore in GBs.
    CustomResourceName string
    Gets the name of the corresponding resource in Kubernetes.
    FreeSpaceGB double
    Gets or sets Available space of this datastore in GBs.
    Id string
    Gets or sets the Id.
    Location string
    Gets or sets the location.
    MoName string
    Gets or sets the vCenter Managed Object name for the datastore.
    Name string
    Gets or sets the name.
    ProvisioningState string
    Provisioning state of the resource.
    Statuses List<Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ResourceStatusResponse>
    The resource status information.
    SystemData Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.SystemDataResponse
    The system data.
    Type string
    Gets or sets the type of the resource.
    Uuid string
    Gets or sets a unique identifier for this resource.
    ExtendedLocation Pulumi.AzureNative.ConnectedVMwarevSphere.Outputs.ExtendedLocationResponse
    Gets or sets the extended location.
    InventoryItemId string
    Gets or sets the inventory Item ID for the datastore.
    Kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    MoRefId string
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    Tags Dictionary<string, string>
    Gets or sets the Resource tags.
    VCenterId string
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
    CapacityGB float64
    Gets or sets Maximum capacity of this datastore in GBs.
    CustomResourceName string
    Gets the name of the corresponding resource in Kubernetes.
    FreeSpaceGB float64
    Gets or sets Available space of this datastore in GBs.
    Id string
    Gets or sets the Id.
    Location string
    Gets or sets the location.
    MoName string
    Gets or sets the vCenter Managed Object name for the datastore.
    Name string
    Gets or sets the name.
    ProvisioningState string
    Provisioning state of the resource.
    Statuses []ResourceStatusResponse
    The resource status information.
    SystemData SystemDataResponse
    The system data.
    Type string
    Gets or sets the type of the resource.
    Uuid string
    Gets or sets a unique identifier for this resource.
    ExtendedLocation ExtendedLocationResponse
    Gets or sets the extended location.
    InventoryItemId string
    Gets or sets the inventory Item ID for the datastore.
    Kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    MoRefId string
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    Tags map[string]string
    Gets or sets the Resource tags.
    VCenterId string
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
    capacityGB Double
    Gets or sets Maximum capacity of this datastore in GBs.
    customResourceName String
    Gets the name of the corresponding resource in Kubernetes.
    freeSpaceGB Double
    Gets or sets Available space of this datastore in GBs.
    id String
    Gets or sets the Id.
    location String
    Gets or sets the location.
    moName String
    Gets or sets the vCenter Managed Object name for the datastore.
    name String
    Gets or sets the name.
    provisioningState String
    Provisioning state of the resource.
    statuses List<ResourceStatusResponse>
    The resource status information.
    systemData SystemDataResponse
    The system data.
    type String
    Gets or sets the type of the resource.
    uuid String
    Gets or sets a unique identifier for this resource.
    extendedLocation ExtendedLocationResponse
    Gets or sets the extended location.
    inventoryItemId String
    Gets or sets the inventory Item ID for the datastore.
    kind String
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    moRefId String
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    tags Map<String,String>
    Gets or sets the Resource tags.
    vCenterId String
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
    capacityGB number
    Gets or sets Maximum capacity of this datastore in GBs.
    customResourceName string
    Gets the name of the corresponding resource in Kubernetes.
    freeSpaceGB number
    Gets or sets Available space of this datastore in GBs.
    id string
    Gets or sets the Id.
    location string
    Gets or sets the location.
    moName string
    Gets or sets the vCenter Managed Object name for the datastore.
    name string
    Gets or sets the name.
    provisioningState string
    Provisioning state of the resource.
    statuses ResourceStatusResponse[]
    The resource status information.
    systemData SystemDataResponse
    The system data.
    type string
    Gets or sets the type of the resource.
    uuid string
    Gets or sets a unique identifier for this resource.
    extendedLocation ExtendedLocationResponse
    Gets or sets the extended location.
    inventoryItemId string
    Gets or sets the inventory Item ID for the datastore.
    kind string
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    moRefId string
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    tags {[key: string]: string}
    Gets or sets the Resource tags.
    vCenterId string
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
    capacity_gb float
    Gets or sets Maximum capacity of this datastore in GBs.
    custom_resource_name str
    Gets the name of the corresponding resource in Kubernetes.
    free_space_gb float
    Gets or sets Available space of this datastore in GBs.
    id str
    Gets or sets the Id.
    location str
    Gets or sets the location.
    mo_name str
    Gets or sets the vCenter Managed Object name for the datastore.
    name str
    Gets or sets the name.
    provisioning_state str
    Provisioning state of the resource.
    statuses Sequence[ResourceStatusResponse]
    The resource status information.
    system_data SystemDataResponse
    The system data.
    type str
    Gets or sets the type of the resource.
    uuid str
    Gets or sets a unique identifier for this resource.
    extended_location ExtendedLocationResponse
    Gets or sets the extended location.
    inventory_item_id str
    Gets or sets the inventory Item ID for the datastore.
    kind str
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    mo_ref_id str
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    tags Mapping[str, str]
    Gets or sets the Resource tags.
    v_center_id str
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
    capacityGB Number
    Gets or sets Maximum capacity of this datastore in GBs.
    customResourceName String
    Gets the name of the corresponding resource in Kubernetes.
    freeSpaceGB Number
    Gets or sets Available space of this datastore in GBs.
    id String
    Gets or sets the Id.
    location String
    Gets or sets the location.
    moName String
    Gets or sets the vCenter Managed Object name for the datastore.
    name String
    Gets or sets the name.
    provisioningState String
    Provisioning state of the resource.
    statuses List<Property Map>
    The resource status information.
    systemData Property Map
    The system data.
    type String
    Gets or sets the type of the resource.
    uuid String
    Gets or sets a unique identifier for this resource.
    extendedLocation Property Map
    Gets or sets the extended location.
    inventoryItemId String
    Gets or sets the inventory Item ID for the datastore.
    kind String
    Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
    moRefId String
    Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
    tags Map<String>
    Gets or sets the Resource tags.
    vCenterId String
    Gets or sets the ARM Id of the vCenter resource in which this datastore resides.

    Supporting Types

    ExtendedLocationResponse

    Name string
    The extended location name.
    Type string
    The extended location type.
    Name string
    The extended location name.
    Type string
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.
    name string
    The extended location name.
    type string
    The extended location type.
    name str
    The extended location name.
    type str
    The extended location type.
    name String
    The extended location name.
    type String
    The extended location type.

    ResourceStatusResponse

    LastUpdatedAt string
    The last update time for this condition.
    Message string
    A human readable message indicating details about the status.
    Reason string
    The reason for the condition's status.
    Severity string
    Severity with which to treat failures of this type of condition.
    Status string
    Status of the condition.
    Type string
    The type of the condition.
    LastUpdatedAt string
    The last update time for this condition.
    Message string
    A human readable message indicating details about the status.
    Reason string
    The reason for the condition's status.
    Severity string
    Severity with which to treat failures of this type of condition.
    Status string
    Status of the condition.
    Type string
    The type of the condition.
    lastUpdatedAt String
    The last update time for this condition.
    message String
    A human readable message indicating details about the status.
    reason String
    The reason for the condition's status.
    severity String
    Severity with which to treat failures of this type of condition.
    status String
    Status of the condition.
    type String
    The type of the condition.
    lastUpdatedAt string
    The last update time for this condition.
    message string
    A human readable message indicating details about the status.
    reason string
    The reason for the condition's status.
    severity string
    Severity with which to treat failures of this type of condition.
    status string
    Status of the condition.
    type string
    The type of the condition.
    last_updated_at str
    The last update time for this condition.
    message str
    A human readable message indicating details about the status.
    reason str
    The reason for the condition's status.
    severity str
    Severity with which to treat failures of this type of condition.
    status str
    Status of the condition.
    type str
    The type of the condition.
    lastUpdatedAt String
    The last update time for this condition.
    message String
    A human readable message indicating details about the status.
    reason String
    The reason for the condition's status.
    severity String
    Severity with which to treat failures of this type of condition.
    status String
    Status of the condition.
    type String
    The type of the condition.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi