import * as pulumi from "@pulumi/pulumi"; /** * Manages an IoT Central Organization * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resource", * location: "West Europe", * }); * const exampleApplication = new azure.iotcentral.Application("example", { * name: "example-iotcentral-app", * resourceGroupName: example.name, * location: example.location, * subDomain: "example-iotcentral-app-subdomain", * displayName: "example-iotcentral-app-display-name", * sku: "ST1", * template: "iotc-default@1.0.0", * tags: { * Foo: "Bar", * }, * }); * const exampleParent = new azure.iotcentral.Organization("example_parent", { * iotcentralApplicationId: exampleApplication.id, * organizationId: "example-parent-organization-id", * displayName: "Org example parent", * }); * const exampleOrganization = new azure.iotcentral.Organization("example", { * iotcentralApplicationId: exampleApplication.id, * organizationId: "example-child-organization-id", * displayName: "Org example", * parentOrganizationId: exampleParent.organizationId, * }); * ``` * * ## Import * * The IoT Central Organization can be imported using the `id`, e.g. * * ```sh * $ pulumi import azure:iotcentral/organization:Organization example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.IoTCentral/iotApps/example/organizations/example * ``` */ export declare class Organization extends pulumi.CustomResource { /** * Get an existing Organization 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization; /** * Returns true if the given object is an instance of Organization. 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 Organization; /** * Custom `displayName` for the organization. */ readonly displayName: pulumi.Output; /** * The application `id`. Changing this forces a new resource to be created. */ readonly iotcentralApplicationId: pulumi.Output; /** * The ID of the organization. Changing this forces a new resource to be created. */ readonly organizationId: pulumi.Output; /** * The `organizationId` of the parent organization. Changing this forces a new resource to be created. */ readonly parentOrganizationId: pulumi.Output; /** * Create a Organization 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: OrganizationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Organization resources. */ export interface OrganizationState { /** * Custom `displayName` for the organization. */ displayName?: pulumi.Input; /** * The application `id`. Changing this forces a new resource to be created. */ iotcentralApplicationId?: pulumi.Input; /** * The ID of the organization. Changing this forces a new resource to be created. */ organizationId?: pulumi.Input; /** * The `organizationId` of the parent organization. Changing this forces a new resource to be created. */ parentOrganizationId?: pulumi.Input; } /** * The set of arguments for constructing a Organization resource. */ export interface OrganizationArgs { /** * Custom `displayName` for the organization. */ displayName: pulumi.Input; /** * The application `id`. Changing this forces a new resource to be created. */ iotcentralApplicationId: pulumi.Input; /** * The ID of the organization. Changing this forces a new resource to be created. */ organizationId: pulumi.Input; /** * The `organizationId` of the parent organization. Changing this forces a new resource to be created. */ parentOrganizationId?: pulumi.Input; }