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

124 lines (123 loc) 4.92 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"; /** * The limited preview of Kubernetes Cluster Management from the Azure supports: * 1. Using a simple turn-key option in Azure Portal, deploy a Kubernetes cluster on your Azure Stack Edge device. * 2. Configure Kubernetes cluster running on your device with Arc enabled Kubernetes with a click of a button in the Azure Portal. * Azure Arc enables organizations to view, manage, and govern their on-premises Kubernetes clusters using the Azure Portal, command line tools, and APIs. * 3. Easily configure Persistent Volumes using SMB and NFS shares for storing container data. * For more information, refer to the document here: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8-Cloud-Management-20210323.pdf * Or Demo: https://databoxupdatepackages.blob.core.windows.net/documentation/Microsoft-Azure-Stack-Edge-K8S-Cloud-Management-20210323.mp4 * By using this feature, you agree to the preview legal terms. See the https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ * * Uses Azure REST API version 2023-07-01. In version 2.x of the Azure Native provider, it used API version 2022-03-01. */ export declare class KubernetesRole extends pulumi.CustomResource { /** * Get an existing KubernetesRole 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): KubernetesRole; /** * Returns true if the given object is an instance of KubernetesRole. 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 KubernetesRole; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Host OS supported by the Kubernetes role. */ readonly hostPlatform: pulumi.Output<string>; /** * Platform where the runtime is hosted. */ readonly hostPlatformType: pulumi.Output<string>; /** * Role type. * Expected value is 'Kubernetes'. */ readonly kind: pulumi.Output<"Kubernetes">; /** * Kubernetes cluster configuration */ readonly kubernetesClusterInfo: pulumi.Output<outputs.databoxedge.KubernetesClusterInfoResponse>; /** * Kubernetes role resources */ readonly kubernetesRoleResources: pulumi.Output<outputs.databoxedge.KubernetesRoleResourcesResponse>; /** * The object name. */ readonly name: pulumi.Output<string>; /** * State of Kubernetes deployment */ readonly provisioningState: pulumi.Output<string>; /** * Role status. */ readonly roleStatus: pulumi.Output<string>; /** * Metadata pertaining to creation and last modification of Role */ readonly systemData: pulumi.Output<outputs.databoxedge.SystemDataResponse>; /** * The hierarchical type of the object. */ readonly type: pulumi.Output<string>; /** * Create a KubernetesRole 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: KubernetesRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a KubernetesRole resource. */ export interface KubernetesRoleArgs { /** * The device name. */ deviceName: pulumi.Input<string>; /** * Host OS supported by the Kubernetes role. */ hostPlatform: pulumi.Input<string | enums.databoxedge.PlatformType>; /** * Role type. * Expected value is 'Kubernetes'. */ kind: pulumi.Input<"Kubernetes">; /** * Kubernetes cluster configuration */ kubernetesClusterInfo: pulumi.Input<inputs.databoxedge.KubernetesClusterInfoArgs>; /** * Kubernetes role resources */ kubernetesRoleResources: pulumi.Input<inputs.databoxedge.KubernetesRoleResourcesArgs>; /** * The role name. */ name?: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * Role status. */ roleStatus: pulumi.Input<string | enums.databoxedge.RoleStatus>; }