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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.deviceupdate.getInstance
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Returns instance details for the given instance and account name. Azure REST API version: 2023-07-01.
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(account_name: Optional[str] = None,
instance_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(account_name: Optional[pulumi.Input[str]] = None,
instance_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:deviceupdate:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - Account name.
- Instance
Name string - Instance name.
- Resource
Group stringName - The resource group name.
- Account
Name string - Account name.
- Instance
Name string - Instance name.
- Resource
Group stringName - The resource group name.
- account
Name String - Account name.
- instance
Name String - Instance name.
- resource
Group StringName - The resource group name.
- account
Name string - Account name.
- instance
Name string - Instance name.
- resource
Group stringName - The resource group name.
- account_
name str - Account name.
- instance_
name str - Instance name.
- resource_
group_ strname - The resource group name.
- account
Name String - Account name.
- instance
Name String - Instance name.
- resource
Group StringName - The resource group name.
getInstance Result
The following output properties are available:
- Account
Name string - Parent Device Update Account name which Instance belongs to.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state.
- System
Data Pulumi.Azure Native. Device Update. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Diagnostic
Storage Pulumi.Properties Azure Native. Device Update. Outputs. Diagnostic Storage Properties Response - Customer-initiated diagnostic log collection storage properties
- Enable
Diagnostics bool - Enables or Disables the diagnostic logs collection
- Iot
Hubs List<Pulumi.Azure Native. Device Update. Outputs. Iot Hub Settings Response> - List of IoT Hubs associated with the account.
- Dictionary<string, string>
- Resource tags.
- Account
Name string - Parent Device Update Account name which Instance belongs to.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Diagnostic
Storage DiagnosticProperties Storage Properties Response - Customer-initiated diagnostic log collection storage properties
- Enable
Diagnostics bool - Enables or Disables the diagnostic logs collection
- Iot
Hubs []IotHub Settings Response - List of IoT Hubs associated with the account.
- map[string]string
- Resource tags.
- account
Name String - Parent Device Update Account name which Instance belongs to.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- diagnostic
Storage DiagnosticProperties Storage Properties Response - Customer-initiated diagnostic log collection storage properties
- enable
Diagnostics Boolean - Enables or Disables the diagnostic logs collection
- iot
Hubs List<IotHub Settings Response> - List of IoT Hubs associated with the account.
- Map<String,String>
- Resource tags.
- account
Name string - Parent Device Update Account name which Instance belongs to.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - Provisioning state.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- diagnostic
Storage DiagnosticProperties Storage Properties Response - Customer-initiated diagnostic log collection storage properties
- enable
Diagnostics boolean - Enables or Disables the diagnostic logs collection
- iot
Hubs IotHub Settings Response[] - List of IoT Hubs associated with the account.
- {[key: string]: string}
- Resource tags.
- account_
name str - Parent Device Update Account name which Instance belongs to.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_
state str - Provisioning state.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- diagnostic_
storage_ Diagnosticproperties Storage Properties Response - Customer-initiated diagnostic log collection storage properties
- enable_
diagnostics bool - Enables or Disables the diagnostic logs collection
- iot_
hubs Sequence[IotHub Settings Response] - List of IoT Hubs associated with the account.
- Mapping[str, str]
- Resource tags.
- account
Name String - Parent Device Update Account name which Instance belongs to.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - Provisioning state.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- diagnostic
Storage Property MapProperties - Customer-initiated diagnostic log collection storage properties
- enable
Diagnostics Boolean - Enables or Disables the diagnostic logs collection
- iot
Hubs List<Property Map> - List of IoT Hubs associated with the account.
- Map<String>
- Resource tags.
Supporting Types
DiagnosticStoragePropertiesResponse
- Authentication
Type string - Authentication Type
- Resource
Id string - ResourceId of the diagnostic storage account
- Connection
String string - ConnectionString of the diagnostic storage account
- Authentication
Type string - Authentication Type
- Resource
Id string - ResourceId of the diagnostic storage account
- Connection
String string - ConnectionString of the diagnostic storage account
- authentication
Type String - Authentication Type
- resource
Id String - ResourceId of the diagnostic storage account
- connection
String String - ConnectionString of the diagnostic storage account
- authentication
Type string - Authentication Type
- resource
Id string - ResourceId of the diagnostic storage account
- connection
String string - ConnectionString of the diagnostic storage account
- authentication_
type str - Authentication Type
- resource_
id str - ResourceId of the diagnostic storage account
- connection_
string str - ConnectionString of the diagnostic storage account
- authentication
Type String - Authentication Type
- resource
Id String - ResourceId of the diagnostic storage account
- connection
String String - ConnectionString of the diagnostic storage account
IotHubSettingsResponse
- Resource
Id string - IoTHub resource ID
- Resource
Id string - IoTHub resource ID
- resource
Id String - IoTHub resource ID
- resource
Id string - IoTHub resource ID
- resource_
id str - IoTHub resource ID
- resource
Id String - IoTHub resource ID
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
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.47.1 published on Monday, Jun 24, 2024 by Pulumi