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.89.3 published on Thursday, Mar 20, 2025 by Pulumi
azure-native.operationalinsights.getMachineGroup
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.89.3 published on Thursday, Mar 20, 2025 by Pulumi
Returns the specified machine group as it existed during the specified time interval. Azure REST API version: 2015-11-01-preview.
Using getMachineGroup
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 getMachineGroup(args: GetMachineGroupArgs, opts?: InvokeOptions): Promise<GetMachineGroupResult>
function getMachineGroupOutput(args: GetMachineGroupOutputArgs, opts?: InvokeOptions): Output<GetMachineGroupResult>def get_machine_group(end_time: Optional[str] = None,
                      machine_group_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      start_time: Optional[str] = None,
                      workspace_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetMachineGroupResult
def get_machine_group_output(end_time: Optional[pulumi.Input[str]] = None,
                      machine_group_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      start_time: Optional[pulumi.Input[str]] = None,
                      workspace_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetMachineGroupResult]func LookupMachineGroup(ctx *Context, args *LookupMachineGroupArgs, opts ...InvokeOption) (*LookupMachineGroupResult, error)
func LookupMachineGroupOutput(ctx *Context, args *LookupMachineGroupOutputArgs, opts ...InvokeOption) LookupMachineGroupResultOutput> Note: This function is named LookupMachineGroup in the Go SDK.
public static class GetMachineGroup 
{
    public static Task<GetMachineGroupResult> InvokeAsync(GetMachineGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetMachineGroupResult> Invoke(GetMachineGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMachineGroupResult> getMachineGroup(GetMachineGroupArgs args, InvokeOptions options)
public static Output<GetMachineGroupResult> getMachineGroup(GetMachineGroupArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:operationalinsights:getMachineGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MachineGroup stringName 
- Machine Group resource name.
- ResourceGroup stringName 
- Resource group name within the specified subscriptionId.
- WorkspaceName string
- OMS workspace containing the resources of interest.
- EndTime string
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- StartTime string
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- MachineGroup stringName 
- Machine Group resource name.
- ResourceGroup stringName 
- Resource group name within the specified subscriptionId.
- WorkspaceName string
- OMS workspace containing the resources of interest.
- EndTime string
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- StartTime string
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machineGroup StringName 
- Machine Group resource name.
- resourceGroup StringName 
- Resource group name within the specified subscriptionId.
- workspaceName String
- OMS workspace containing the resources of interest.
- endTime String
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- startTime String
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machineGroup stringName 
- Machine Group resource name.
- resourceGroup stringName 
- Resource group name within the specified subscriptionId.
- workspaceName string
- OMS workspace containing the resources of interest.
- endTime string
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- startTime string
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machine_group_ strname 
- Machine Group resource name.
- resource_group_ strname 
- Resource group name within the specified subscriptionId.
- workspace_name str
- OMS workspace containing the resources of interest.
- end_time str
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- start_time str
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machineGroup StringName 
- Machine Group resource name.
- resourceGroup StringName 
- Resource group name within the specified subscriptionId.
- workspaceName String
- OMS workspace containing the resources of interest.
- endTime String
- UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- startTime String
- UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
getMachineGroup Result
The following output properties are available:
- DisplayName string
- User defined name for the group
- Id string
- Resource identifier.
- Name string
- Resource name.
- Type string
- Resource type.
- Count int
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- Etag string
- Resource ETAG.
- GroupType string
- Type of the machine group
- Machines
List<Pulumi.Azure Native. Operational Insights. Outputs. Machine Reference With Hints Response> 
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
- DisplayName string
- User defined name for the group
- Id string
- Resource identifier.
- Name string
- Resource name.
- Type string
- Resource type.
- Count int
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- Etag string
- Resource ETAG.
- GroupType string
- Type of the machine group
- Machines
[]MachineReference With Hints Response 
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
- displayName String
- User defined name for the group
- id String
- Resource identifier.
- name String
- Resource name.
- type String
- Resource type.
- count Integer
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- etag String
- Resource ETAG.
- groupType String
- Type of the machine group
- machines
List<MachineReference With Hints Response> 
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
- displayName string
- User defined name for the group
- id string
- Resource identifier.
- name string
- Resource name.
- type string
- Resource type.
- count number
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- etag string
- Resource ETAG.
- groupType string
- Type of the machine group
- machines
MachineReference With Hints Response[] 
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
- display_name str
- User defined name for the group
- id str
- Resource identifier.
- name str
- Resource name.
- type str
- Resource type.
- count int
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- etag str
- Resource ETAG.
- group_type str
- Type of the machine group
- machines
Sequence[MachineReference With Hints Response] 
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
- displayName String
- User defined name for the group
- id String
- Resource identifier.
- name String
- Resource name.
- type String
- Resource type.
- count Number
- Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.
- etag String
- Resource ETAG.
- groupType String
- Type of the machine group
- machines List<Property Map>
- References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.
Supporting Types
MachineReferenceWithHintsResponse    
- DisplayName stringHint 
- Last known display name.
- Id string
- Resource URI.
- Name string
- Resource name.
- OsFamily stringHint 
- Last known operating system family.
- Type string
- Resource type qualifier.
- DisplayName stringHint 
- Last known display name.
- Id string
- Resource URI.
- Name string
- Resource name.
- OsFamily stringHint 
- Last known operating system family.
- Type string
- Resource type qualifier.
- displayName StringHint 
- Last known display name.
- id String
- Resource URI.
- name String
- Resource name.
- osFamily StringHint 
- Last known operating system family.
- type String
- Resource type qualifier.
- displayName stringHint 
- Last known display name.
- id string
- Resource URI.
- name string
- Resource name.
- osFamily stringHint 
- Last known operating system family.
- type string
- Resource type qualifier.
- display_name_ strhint 
- Last known display name.
- id str
- Resource URI.
- name str
- Resource name.
- os_family_ strhint 
- Last known operating system family.
- type str
- Resource type qualifier.
- displayName StringHint 
- Last known display name.
- id String
- Resource URI.
- name String
- Resource name.
- osFamily StringHint 
- Last known operating system family.
- type String
- Resource type qualifier.
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.89.3 published on Thursday, Mar 20, 2025 by Pulumi