azure-native.connectedvmwarevsphere.getDatastore
Explore with Pulumi AI
Implements datastore GET method.
Uses Azure REST API version 2023-12-01.
Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native connectedvmwarevsphere [ApiVersion]
. See the version guide for details.
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)
public static Output<GetDatastoreResult> getDatastore(GetDatastoreArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:connectedvmwarevsphere:getDatastore
arguments:
# arguments dictionary
The following arguments are supported:
- Datastore
Name string - Name of the datastore.
- Resource
Group stringName - The Resource Group Name.
- Datastore
Name string - Name of the datastore.
- Resource
Group stringName - The Resource Group Name.
- datastore
Name String - Name of the datastore.
- resource
Group StringName - The Resource Group Name.
- datastore
Name string - Name of the datastore.
- resource
Group stringName - The Resource Group Name.
- datastore_
name str - Name of the datastore.
- resource_
group_ strname - The Resource Group Name.
- datastore
Name String - Name of the datastore.
- resource
Group StringName - The Resource Group Name.
getDatastore Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Capacity
GB double - Gets or sets Maximum capacity of this datastore in GBs.
- Custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- Free
Space doubleGB - Gets or sets Available space of this datastore in GBs.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- Mo
Name string - Gets or sets the vCenter Managed Object name for the datastore.
- Name string
- Gets or sets the name.
- Provisioning
State string - Provisioning state of the resource.
- Statuses
List<Pulumi.
Azure Native. Connected VMwarev Sphere. Outputs. Resource Status Response> - The resource status information.
- System
Data Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. System Data Response - The system data.
- Type string
- Gets or sets the type of the resource.
- Uuid string
- Gets or sets a unique identifier for this resource.
- Extended
Location Pulumi.Azure Native. Connected VMwarev Sphere. Outputs. Extended Location Response - Gets or sets the extended location.
- Inventory
Item stringId - 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.
- Mo
Ref stringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- Dictionary<string, string>
- Gets or sets the Resource tags.
- VCenter
Id string - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
- Azure
Api stringVersion - The Azure API version of the resource.
- Capacity
GB float64 - Gets or sets Maximum capacity of this datastore in GBs.
- Custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- Free
Space float64GB - Gets or sets Available space of this datastore in GBs.
- Id string
- Gets or sets the Id.
- Location string
- Gets or sets the location.
- Mo
Name string - Gets or sets the vCenter Managed Object name for the datastore.
- Name string
- Gets or sets the name.
- Provisioning
State string - Provisioning state of the resource.
- Statuses
[]Resource
Status Response - The resource status information.
- System
Data SystemData Response - The system data.
- Type string
- Gets or sets the type of the resource.
- Uuid string
- Gets or sets a unique identifier for this resource.
- Extended
Location ExtendedLocation Response - Gets or sets the extended location.
- Inventory
Item stringId - 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.
- Mo
Ref stringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- map[string]string
- Gets or sets the Resource tags.
- VCenter
Id string - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
- azure
Api StringVersion - The Azure API version of the resource.
- capacity
GB Double - Gets or sets Maximum capacity of this datastore in GBs.
- custom
Resource StringName - Gets the name of the corresponding resource in Kubernetes.
- free
Space DoubleGB - Gets or sets Available space of this datastore in GBs.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- mo
Name String - Gets or sets the vCenter Managed Object name for the datastore.
- name String
- Gets or sets the name.
- provisioning
State String - Provisioning state of the resource.
- statuses
List<Resource
Status Response> - The resource status information.
- system
Data SystemData Response - The system data.
- type String
- Gets or sets the type of the resource.
- uuid String
- Gets or sets a unique identifier for this resource.
- extended
Location ExtendedLocation Response - Gets or sets the extended location.
- inventory
Item StringId - 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.
- mo
Ref StringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- Map<String,String>
- Gets or sets the Resource tags.
- v
Center StringId - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
- azure
Api stringVersion - The Azure API version of the resource.
- capacity
GB number - Gets or sets Maximum capacity of this datastore in GBs.
- custom
Resource stringName - Gets the name of the corresponding resource in Kubernetes.
- free
Space numberGB - Gets or sets Available space of this datastore in GBs.
- id string
- Gets or sets the Id.
- location string
- Gets or sets the location.
- mo
Name string - Gets or sets the vCenter Managed Object name for the datastore.
- name string
- Gets or sets the name.
- provisioning
State string - Provisioning state of the resource.
- statuses
Resource
Status Response[] - The resource status information.
- system
Data SystemData Response - The system data.
- type string
- Gets or sets the type of the resource.
- uuid string
- Gets or sets a unique identifier for this resource.
- extended
Location ExtendedLocation Response - Gets or sets the extended location.
- inventory
Item stringId - 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.
- mo
Ref stringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- {[key: string]: string}
- Gets or sets the Resource tags.
- v
Center stringId - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
- azure_
api_ strversion - The Azure API version of the resource.
- capacity_
gb float - Gets or sets Maximum capacity of this datastore in GBs.
- custom_
resource_ strname - Gets the name of the corresponding resource in Kubernetes.
- free_
space_ floatgb - 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[Resource
Status Response] - The resource status information.
- system_
data SystemData Response - 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 ExtendedLocation Response - Gets or sets the extended location.
- inventory_
item_ strid - 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_ strid - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- Mapping[str, str]
- Gets or sets the Resource tags.
- v_
center_ strid - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
- azure
Api StringVersion - The Azure API version of the resource.
- capacity
GB Number - Gets or sets Maximum capacity of this datastore in GBs.
- custom
Resource StringName - Gets the name of the corresponding resource in Kubernetes.
- free
Space NumberGB - Gets or sets Available space of this datastore in GBs.
- id String
- Gets or sets the Id.
- location String
- Gets or sets the location.
- mo
Name String - Gets or sets the vCenter Managed Object name for the datastore.
- name String
- Gets or sets the name.
- provisioning
State String - Provisioning state of the resource.
- statuses List<Property Map>
- The resource status information.
- system
Data 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.
- extended
Location Property Map - Gets or sets the extended location.
- inventory
Item StringId - 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.
- mo
Ref StringId - Gets or sets the vCenter MoRef (Managed Object Reference) ID for the datastore.
- Map<String>
- Gets or sets the Resource tags.
- v
Center StringId - Gets or sets the ARM Id of the vCenter resource in which this datastore resides.
Supporting Types
ExtendedLocationResponse
ResourceStatusResponse
- Last
Updated stringAt - 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 stringAt - 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 StringAt - 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 stringAt - 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_ strat - 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.
- last
Updated StringAt - 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0