UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

109 lines (108 loc) 4.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * A user-defined logical grouping of machines. * * Uses Azure REST API version 2015-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2015-11-01-preview. */ export declare class MachineGroup extends pulumi.CustomResource { /** * Get an existing MachineGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): MachineGroup; /** * Returns true if the given object is an instance of MachineGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MachineGroup; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * 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. */ readonly count: pulumi.Output<number | undefined>; /** * User defined name for the group */ readonly displayName: pulumi.Output<string>; /** * Resource ETAG. */ readonly etag: pulumi.Output<string | undefined>; /** * Type of the machine group */ readonly groupType: pulumi.Output<string | undefined>; /** * Additional resource type qualifier. * Expected value is 'machineGroup'. */ readonly kind: pulumi.Output<"machineGroup">; /** * 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. */ readonly machines: pulumi.Output<outputs.operationalinsights.MachineReferenceWithHintsResponse[] | undefined>; /** * Resource name. */ readonly name: pulumi.Output<string>; /** * Resource type. */ readonly type: pulumi.Output<string>; /** * Create a MachineGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MachineGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a MachineGroup resource. */ export interface MachineGroupArgs { /** * 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. */ count?: pulumi.Input<number>; /** * User defined name for the group */ displayName: pulumi.Input<string>; /** * Type of the machine group */ groupType?: pulumi.Input<string | enums.operationalinsights.MachineGroupType>; /** * Additional resource type qualifier. * Expected value is 'machineGroup'. */ kind: pulumi.Input<"machineGroup">; /** * Machine Group resource name. */ machineGroupName?: pulumi.Input<string>; /** * 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. */ machines?: pulumi.Input<pulumi.Input<inputs.operationalinsights.MachineReferenceWithHintsArgs>[]>; /** * Resource group name within the specified subscriptionId. */ resourceGroupName: pulumi.Input<string>; /** * OMS workspace containing the resources of interest. */ workspaceName: pulumi.Input<string>; }