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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:operationalinsights:getMachineGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Machine
Group stringName - Machine Group resource name.
- Resource
Group stringName - Resource group name within the specified subscriptionId.
- Workspace
Name string - OMS workspace containing the resources of interest.
- End
Time string - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- Start
Time string - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- Machine
Group stringName - Machine Group resource name.
- Resource
Group stringName - Resource group name within the specified subscriptionId.
- Workspace
Name string - OMS workspace containing the resources of interest.
- End
Time string - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- Start
Time string - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machine
Group StringName - Machine Group resource name.
- resource
Group StringName - Resource group name within the specified subscriptionId.
- workspace
Name String - OMS workspace containing the resources of interest.
- end
Time String - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- start
Time String - UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
- machine
Group stringName - Machine Group resource name.
- resource
Group stringName - Resource group name within the specified subscriptionId.
- workspace
Name string - OMS workspace containing the resources of interest.
- end
Time string - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- start
Time 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
- machine
Group StringName - Machine Group resource name.
- resource
Group StringName - Resource group name within the specified subscriptionId.
- workspace
Name String - OMS workspace containing the resources of interest.
- end
Time String - UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
- start
Time 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:
- Display
Name 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.
- Group
Type 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.
- Display
Name 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.
- Group
Type string - Type of the machine group
- Machines
[]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.
- display
Name 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.
- group
Type String - Type of the machine group
- machines
List<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.
- display
Name 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.
- group
Type string - Type of the machine group
- machines
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.
- 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[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.
- display
Name 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.
- group
Type 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
- Display
Name stringHint - Last known display name.
- Id string
- Resource URI.
- Name string
- Resource name.
- Os
Family stringHint - Last known operating system family.
- Type string
- Resource type qualifier.
- Display
Name stringHint - Last known display name.
- Id string
- Resource URI.
- Name string
- Resource name.
- Os
Family stringHint - Last known operating system family.
- Type string
- Resource type qualifier.
- display
Name StringHint - Last known display name.
- id String
- Resource URI.
- name String
- Resource name.
- os
Family StringHint - Last known operating system family.
- type String
- Resource type qualifier.
- display
Name stringHint - Last known display name.
- id string
- Resource URI.
- name string
- Resource name.
- os
Family 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.
- display
Name StringHint - Last known display name.
- id String
- Resource URI.
- name String
- Resource name.
- os
Family 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi