v20200301preview

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// App id of cluster AAD identity.
	AadClientId pulumi.StringOutput `pulumi:"aadClientId"`
	// Tenant id of cluster AAD identity.
	AadTenantId pulumi.StringOutput `pulumi:"aadTenantId"`
	// Type of billing applied to the resource.
	BillingModel pulumi.StringOutput `pulumi:"billingModel"`
	// Unique, immutable resource id.
	CloudId pulumi.StringOutput `pulumi:"cloudId"`
	// Most recent billing meter timestamp.
	LastBillingTimestamp pulumi.StringOutput `pulumi:"lastBillingTimestamp"`
	// Most recent cluster sync timestamp.
	LastSyncTimestamp pulumi.StringOutput `pulumi:"lastSyncTimestamp"`
	// The geo-location where the resource lives
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning state.
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// First cluster sync timestamp.
	RegistrationTimestamp pulumi.StringOutput `pulumi:"registrationTimestamp"`
	// Properties reported by cluster agent.
	ReportedProperties ClusterReportedPropertiesResponsePtrOutput `pulumi:"reportedProperties"`
	// Status of the cluster agent.
	Status pulumi.StringOutput `pulumi:"status"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Number of days remaining in the trial period.
	TrialDaysRemaining pulumi.Float64Output `pulumi:"trialDaysRemaining"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
}

Cluster details.

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

type ClusterArgs

type ClusterArgs struct {
	// App id of cluster AAD identity.
	AadClientId pulumi.StringInput
	// Tenant id of cluster AAD identity.
	AadTenantId pulumi.StringInput
	// The name of the cluster.
	ClusterName pulumi.StringInput
	// The geo-location where the resource lives
	Location pulumi.StringInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// Resource tags.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterNodeResponse

type ClusterNodeResponse struct {
	// Number of physical cores on the cluster node.
	CoreCount float64 `pulumi:"coreCount"`
	// Id of the node in the cluster.
	Id float64 `pulumi:"id"`
	// Manufacturer of the cluster node hardware.
	Manufacturer string `pulumi:"manufacturer"`
	// Total available memory on the cluster node (in GiB).
	MemoryInGiB float64 `pulumi:"memoryInGiB"`
	// Model name of the cluster node hardware.
	Model string `pulumi:"model"`
	// Name of the cluster node.
	Name string `pulumi:"name"`
	// Operating system running on the cluster node.
	OsName string `pulumi:"osName"`
	// Version of the operating system running on the cluster node.
	OsVersion string `pulumi:"osVersion"`
	// Immutable id of the cluster node.
	SerialNumber string `pulumi:"serialNumber"`
}

Cluster node details.

type ClusterNodeResponseArgs

type ClusterNodeResponseArgs struct {
	// Number of physical cores on the cluster node.
	CoreCount pulumi.Float64Input `pulumi:"coreCount"`
	// Id of the node in the cluster.
	Id pulumi.Float64Input `pulumi:"id"`
	// Manufacturer of the cluster node hardware.
	Manufacturer pulumi.StringInput `pulumi:"manufacturer"`
	// Total available memory on the cluster node (in GiB).
	MemoryInGiB pulumi.Float64Input `pulumi:"memoryInGiB"`
	// Model name of the cluster node hardware.
	Model pulumi.StringInput `pulumi:"model"`
	// Name of the cluster node.
	Name pulumi.StringInput `pulumi:"name"`
	// Operating system running on the cluster node.
	OsName pulumi.StringInput `pulumi:"osName"`
	// Version of the operating system running on the cluster node.
	OsVersion pulumi.StringInput `pulumi:"osVersion"`
	// Immutable id of the cluster node.
	SerialNumber pulumi.StringInput `pulumi:"serialNumber"`
}

Cluster node details.

func (ClusterNodeResponseArgs) ElementType

func (ClusterNodeResponseArgs) ElementType() reflect.Type

func (ClusterNodeResponseArgs) ToClusterNodeResponseOutput

func (i ClusterNodeResponseArgs) ToClusterNodeResponseOutput() ClusterNodeResponseOutput

func (ClusterNodeResponseArgs) ToClusterNodeResponseOutputWithContext

func (i ClusterNodeResponseArgs) ToClusterNodeResponseOutputWithContext(ctx context.Context) ClusterNodeResponseOutput

type ClusterNodeResponseArray

type ClusterNodeResponseArray []ClusterNodeResponseInput

func (ClusterNodeResponseArray) ElementType

func (ClusterNodeResponseArray) ElementType() reflect.Type

func (ClusterNodeResponseArray) ToClusterNodeResponseArrayOutput

func (i ClusterNodeResponseArray) ToClusterNodeResponseArrayOutput() ClusterNodeResponseArrayOutput

func (ClusterNodeResponseArray) ToClusterNodeResponseArrayOutputWithContext

func (i ClusterNodeResponseArray) ToClusterNodeResponseArrayOutputWithContext(ctx context.Context) ClusterNodeResponseArrayOutput

type ClusterNodeResponseArrayInput

type ClusterNodeResponseArrayInput interface {
	pulumi.Input

	ToClusterNodeResponseArrayOutput() ClusterNodeResponseArrayOutput
	ToClusterNodeResponseArrayOutputWithContext(context.Context) ClusterNodeResponseArrayOutput
}

ClusterNodeResponseArrayInput is an input type that accepts ClusterNodeResponseArray and ClusterNodeResponseArrayOutput values. You can construct a concrete instance of `ClusterNodeResponseArrayInput` via:

ClusterNodeResponseArray{ ClusterNodeResponseArgs{...} }

type ClusterNodeResponseArrayOutput

type ClusterNodeResponseArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeResponseArrayOutput) ElementType

func (ClusterNodeResponseArrayOutput) Index

func (ClusterNodeResponseArrayOutput) ToClusterNodeResponseArrayOutput

func (o ClusterNodeResponseArrayOutput) ToClusterNodeResponseArrayOutput() ClusterNodeResponseArrayOutput

func (ClusterNodeResponseArrayOutput) ToClusterNodeResponseArrayOutputWithContext

func (o ClusterNodeResponseArrayOutput) ToClusterNodeResponseArrayOutputWithContext(ctx context.Context) ClusterNodeResponseArrayOutput

type ClusterNodeResponseInput

type ClusterNodeResponseInput interface {
	pulumi.Input

	ToClusterNodeResponseOutput() ClusterNodeResponseOutput
	ToClusterNodeResponseOutputWithContext(context.Context) ClusterNodeResponseOutput
}

ClusterNodeResponseInput is an input type that accepts ClusterNodeResponseArgs and ClusterNodeResponseOutput values. You can construct a concrete instance of `ClusterNodeResponseInput` via:

ClusterNodeResponseArgs{...}

type ClusterNodeResponseOutput

type ClusterNodeResponseOutput struct{ *pulumi.OutputState }

Cluster node details.

func (ClusterNodeResponseOutput) CoreCount

Number of physical cores on the cluster node.

func (ClusterNodeResponseOutput) ElementType

func (ClusterNodeResponseOutput) ElementType() reflect.Type

func (ClusterNodeResponseOutput) Id

Id of the node in the cluster.

func (ClusterNodeResponseOutput) Manufacturer

Manufacturer of the cluster node hardware.

func (ClusterNodeResponseOutput) MemoryInGiB

Total available memory on the cluster node (in GiB).

func (ClusterNodeResponseOutput) Model

Model name of the cluster node hardware.

func (ClusterNodeResponseOutput) Name

Name of the cluster node.

func (ClusterNodeResponseOutput) OsName

Operating system running on the cluster node.

func (ClusterNodeResponseOutput) OsVersion

Version of the operating system running on the cluster node.

func (ClusterNodeResponseOutput) SerialNumber

Immutable id of the cluster node.

func (ClusterNodeResponseOutput) ToClusterNodeResponseOutput

func (o ClusterNodeResponseOutput) ToClusterNodeResponseOutput() ClusterNodeResponseOutput

func (ClusterNodeResponseOutput) ToClusterNodeResponseOutputWithContext

func (o ClusterNodeResponseOutput) ToClusterNodeResponseOutputWithContext(ctx context.Context) ClusterNodeResponseOutput

type ClusterReportedPropertiesResponse

type ClusterReportedPropertiesResponse struct {
	// Unique id generated by the on-prem cluster.
	ClusterId string `pulumi:"clusterId"`
	// Name of the on-prem cluster connected to this resource.
	ClusterName string `pulumi:"clusterName"`
	// Version of the cluster software.
	ClusterVersion string `pulumi:"clusterVersion"`
	// Last time the cluster reported the data.
	LastUpdated string `pulumi:"lastUpdated"`
	// List of nodes reported by the cluster.
	Nodes []ClusterNodeResponse `pulumi:"nodes"`
}

Properties reported by cluster agent.

type ClusterReportedPropertiesResponseArgs

type ClusterReportedPropertiesResponseArgs struct {
	// Unique id generated by the on-prem cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Name of the on-prem cluster connected to this resource.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// Version of the cluster software.
	ClusterVersion pulumi.StringInput `pulumi:"clusterVersion"`
	// Last time the cluster reported the data.
	LastUpdated pulumi.StringInput `pulumi:"lastUpdated"`
	// List of nodes reported by the cluster.
	Nodes ClusterNodeResponseArrayInput `pulumi:"nodes"`
}

Properties reported by cluster agent.

func (ClusterReportedPropertiesResponseArgs) ElementType

func (ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponseOutput

func (i ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponseOutput() ClusterReportedPropertiesResponseOutput

func (ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponseOutputWithContext

func (i ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponseOutputWithContext(ctx context.Context) ClusterReportedPropertiesResponseOutput

func (ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponsePtrOutput

func (i ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponsePtrOutput() ClusterReportedPropertiesResponsePtrOutput

func (ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponsePtrOutputWithContext

func (i ClusterReportedPropertiesResponseArgs) ToClusterReportedPropertiesResponsePtrOutputWithContext(ctx context.Context) ClusterReportedPropertiesResponsePtrOutput

type ClusterReportedPropertiesResponseInput

type ClusterReportedPropertiesResponseInput interface {
	pulumi.Input

	ToClusterReportedPropertiesResponseOutput() ClusterReportedPropertiesResponseOutput
	ToClusterReportedPropertiesResponseOutputWithContext(context.Context) ClusterReportedPropertiesResponseOutput
}

ClusterReportedPropertiesResponseInput is an input type that accepts ClusterReportedPropertiesResponseArgs and ClusterReportedPropertiesResponseOutput values. You can construct a concrete instance of `ClusterReportedPropertiesResponseInput` via:

ClusterReportedPropertiesResponseArgs{...}

type ClusterReportedPropertiesResponseOutput

type ClusterReportedPropertiesResponseOutput struct{ *pulumi.OutputState }

Properties reported by cluster agent.

func (ClusterReportedPropertiesResponseOutput) ClusterId

Unique id generated by the on-prem cluster.

func (ClusterReportedPropertiesResponseOutput) ClusterName

Name of the on-prem cluster connected to this resource.

func (ClusterReportedPropertiesResponseOutput) ClusterVersion

Version of the cluster software.

func (ClusterReportedPropertiesResponseOutput) ElementType

func (ClusterReportedPropertiesResponseOutput) LastUpdated

Last time the cluster reported the data.

func (ClusterReportedPropertiesResponseOutput) Nodes

List of nodes reported by the cluster.

func (ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponseOutput

func (o ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponseOutput() ClusterReportedPropertiesResponseOutput

func (ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponseOutputWithContext

func (o ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponseOutputWithContext(ctx context.Context) ClusterReportedPropertiesResponseOutput

func (ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponsePtrOutput

func (o ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponsePtrOutput() ClusterReportedPropertiesResponsePtrOutput

func (ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponsePtrOutputWithContext

func (o ClusterReportedPropertiesResponseOutput) ToClusterReportedPropertiesResponsePtrOutputWithContext(ctx context.Context) ClusterReportedPropertiesResponsePtrOutput

type ClusterReportedPropertiesResponsePtrInput

type ClusterReportedPropertiesResponsePtrInput interface {
	pulumi.Input

	ToClusterReportedPropertiesResponsePtrOutput() ClusterReportedPropertiesResponsePtrOutput
	ToClusterReportedPropertiesResponsePtrOutputWithContext(context.Context) ClusterReportedPropertiesResponsePtrOutput
}

ClusterReportedPropertiesResponsePtrInput is an input type that accepts ClusterReportedPropertiesResponseArgs, ClusterReportedPropertiesResponsePtr and ClusterReportedPropertiesResponsePtrOutput values. You can construct a concrete instance of `ClusterReportedPropertiesResponsePtrInput` via:

        ClusterReportedPropertiesResponseArgs{...}

or:

        nil

type ClusterReportedPropertiesResponsePtrOutput

type ClusterReportedPropertiesResponsePtrOutput struct{ *pulumi.OutputState }

func (ClusterReportedPropertiesResponsePtrOutput) ClusterId

Unique id generated by the on-prem cluster.

func (ClusterReportedPropertiesResponsePtrOutput) ClusterName

Name of the on-prem cluster connected to this resource.

func (ClusterReportedPropertiesResponsePtrOutput) ClusterVersion

Version of the cluster software.

func (ClusterReportedPropertiesResponsePtrOutput) Elem

func (ClusterReportedPropertiesResponsePtrOutput) ElementType

func (ClusterReportedPropertiesResponsePtrOutput) LastUpdated

Last time the cluster reported the data.

func (ClusterReportedPropertiesResponsePtrOutput) Nodes

List of nodes reported by the cluster.

func (ClusterReportedPropertiesResponsePtrOutput) ToClusterReportedPropertiesResponsePtrOutput

func (o ClusterReportedPropertiesResponsePtrOutput) ToClusterReportedPropertiesResponsePtrOutput() ClusterReportedPropertiesResponsePtrOutput

func (ClusterReportedPropertiesResponsePtrOutput) ToClusterReportedPropertiesResponsePtrOutputWithContext

func (o ClusterReportedPropertiesResponsePtrOutput) ToClusterReportedPropertiesResponsePtrOutputWithContext(ctx context.Context) ClusterReportedPropertiesResponsePtrOutput

type ClusterState

type ClusterState struct {
	// App id of cluster AAD identity.
	AadClientId pulumi.StringPtrInput
	// Tenant id of cluster AAD identity.
	AadTenantId pulumi.StringPtrInput
	// Type of billing applied to the resource.
	BillingModel pulumi.StringPtrInput
	// Unique, immutable resource id.
	CloudId pulumi.StringPtrInput
	// Most recent billing meter timestamp.
	LastBillingTimestamp pulumi.StringPtrInput
	// Most recent cluster sync timestamp.
	LastSyncTimestamp pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// Provisioning state.
	ProvisioningState pulumi.StringPtrInput
	// First cluster sync timestamp.
	RegistrationTimestamp pulumi.StringPtrInput
	// Properties reported by cluster agent.
	ReportedProperties ClusterReportedPropertiesResponsePtrInput
	// Status of the cluster agent.
	Status pulumi.StringPtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// Number of days remaining in the trial period.
	TrialDaysRemaining pulumi.Float64PtrInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type LookupClusterArgs

type LookupClusterArgs struct {
	// The name of the cluster.
	ClusterName string `pulumi:"clusterName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupClusterResult

type LookupClusterResult struct {
	// App id of cluster AAD identity.
	AadClientId string `pulumi:"aadClientId"`
	// Tenant id of cluster AAD identity.
	AadTenantId string `pulumi:"aadTenantId"`
	// Type of billing applied to the resource.
	BillingModel string `pulumi:"billingModel"`
	// Unique, immutable resource id.
	CloudId string `pulumi:"cloudId"`
	// Most recent billing meter timestamp.
	LastBillingTimestamp string `pulumi:"lastBillingTimestamp"`
	// Most recent cluster sync timestamp.
	LastSyncTimestamp string `pulumi:"lastSyncTimestamp"`
	// The geo-location where the resource lives
	Location string `pulumi:"location"`
	// The name of the resource
	Name string `pulumi:"name"`
	// Provisioning state.
	ProvisioningState string `pulumi:"provisioningState"`
	// First cluster sync timestamp.
	RegistrationTimestamp string `pulumi:"registrationTimestamp"`
	// Properties reported by cluster agent.
	ReportedProperties *ClusterReportedPropertiesResponse `pulumi:"reportedProperties"`
	// Status of the cluster agent.
	Status string `pulumi:"status"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// Number of days remaining in the trial period.
	TrialDaysRemaining float64 `pulumi:"trialDaysRemaining"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
}

Cluster details.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL