containerservice

package
v0.14.2-dev Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetKubernetesClusterArgs

type GetKubernetesClusterArgs struct {
	// The name of the managed Kubernetes Cluster.
	Name interface{}
	// The name of the Resource Group in which the managed Kubernetes Cluster exists.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getKubernetesCluster.

type GetKubernetesClusterResult

type GetKubernetesClusterResult struct {
	// One or more `agent_profile_pool` blocks as documented below.
	AgentPoolProfiles interface{}
	// The DNS Prefix of the managed Kubernetes cluster.
	DnsPrefix interface{}
	// The FQDN of the Azure Kubernetes Managed Cluster.
	Fqdn interface{}
	// A `kube_config` block as defined below.
	KubeConfigs interface{}
	// Base64 encoded Kubernetes configuration.
	KubeConfigRaw interface{}
	// The version of Kubernetes used on the managed Kubernetes Cluster.
	KubernetesVersion interface{}
	// A `linux_profile` block as documented below.
	LinuxProfiles interface{}
	// The Azure Region in which the managed Kubernetes Cluster exists.
	Location interface{}
	// A `service_principal` block as documented below.
	ServicePrincipals interface{}
	// A mapping of tags assigned to this resource.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getKubernetesCluster.

func LookupKubernetesCluster

func LookupKubernetesCluster(ctx *pulumi.Context, args *GetKubernetesClusterArgs) (*GetKubernetesClusterResult, error)

Gets information about a managed Kubernetes Cluster (AKS)

~> **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](/docs/state/sensitive-data.html).

type Group

type Group struct {
	// contains filtered or unexported fields
}

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupState, opts ...pulumi.ResourceOpt) (*Group, error)

GetGroup gets an existing Group 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 NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOpt) (*Group, error)

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

func (*Group) Containers

func (r *Group) Containers() *pulumi.ArrayOutput

func (*Group) DnsNameLabel

func (r *Group) DnsNameLabel() *pulumi.StringOutput

func (*Group) Fqdn

func (r *Group) Fqdn() *pulumi.StringOutput

func (*Group) ID

func (r *Group) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Group) IpAddress

func (r *Group) IpAddress() *pulumi.StringOutput

func (*Group) IpAddressType

func (r *Group) IpAddressType() *pulumi.StringOutput

func (*Group) Location

func (r *Group) Location() *pulumi.StringOutput

func (*Group) Name

func (r *Group) Name() *pulumi.StringOutput

func (*Group) OsType

func (r *Group) OsType() *pulumi.StringOutput

func (*Group) ResourceGroupName

func (r *Group) ResourceGroupName() *pulumi.StringOutput

func (*Group) RestartPolicy

func (r *Group) RestartPolicy() *pulumi.StringOutput

func (*Group) Tags

func (r *Group) Tags() *pulumi.MapOutput

func (*Group) URN

func (r *Group) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type GroupArgs

type GroupArgs struct {
	Containers        interface{}
	DnsNameLabel      interface{}
	IpAddressType     interface{}
	Location          interface{}
	Name              interface{}
	OsType            interface{}
	ResourceGroupName interface{}
	RestartPolicy     interface{}
	Tags              interface{}
}

The set of arguments for constructing a Group resource.

type GroupState

type GroupState struct {
	Containers        interface{}
	DnsNameLabel      interface{}
	Fqdn              interface{}
	IpAddress         interface{}
	IpAddressType     interface{}
	Location          interface{}
	Name              interface{}
	OsType            interface{}
	ResourceGroupName interface{}
	RestartPolicy     interface{}
	Tags              interface{}
}

Input properties used for looking up and filtering Group resources.

type KubernetesCluster

type KubernetesCluster struct {
	// contains filtered or unexported fields
}

Manages a managed Kubernetes Cluster (AKS)

~> **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](/docs/state/sensitive-data.html).

func GetKubernetesCluster

func GetKubernetesCluster(ctx *pulumi.Context,
	name string, id pulumi.ID, state *KubernetesClusterState, opts ...pulumi.ResourceOpt) (*KubernetesCluster, error)

GetKubernetesCluster gets an existing KubernetesCluster 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 NewKubernetesCluster

func NewKubernetesCluster(ctx *pulumi.Context,
	name string, args *KubernetesClusterArgs, opts ...pulumi.ResourceOpt) (*KubernetesCluster, error)

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

func (*KubernetesCluster) AgentPoolProfile

func (r *KubernetesCluster) AgentPoolProfile() *pulumi.Output

One or more Agent Pool Profile's block as documented below.

func (*KubernetesCluster) DnsPrefix

func (r *KubernetesCluster) DnsPrefix() *pulumi.StringOutput

DNS prefix specified when creating the managed cluster.

func (*KubernetesCluster) Fqdn

The FQDN of the Azure Kubernetes Managed Cluster.

func (*KubernetesCluster) ID

ID is this resource's unique identifier assigned by its provider.

func (*KubernetesCluster) KubeConfig

func (r *KubernetesCluster) KubeConfig() *pulumi.Output

Kubernetes configuration, sub-attributes defined below:

func (*KubernetesCluster) KubeConfigRaw

func (r *KubernetesCluster) KubeConfigRaw() *pulumi.StringOutput

Base64 encoded Kubernetes configuration

func (*KubernetesCluster) KubernetesVersion

func (r *KubernetesCluster) KubernetesVersion() *pulumi.StringOutput

Version of Kubernetes specified when creating the AKS managed cluster. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade).

func (*KubernetesCluster) LinuxProfile

func (r *KubernetesCluster) LinuxProfile() *pulumi.Output

A Linux Profile block as documented below.

func (*KubernetesCluster) Location

func (r *KubernetesCluster) Location() *pulumi.StringOutput

The location where the AKS Managed Cluster instance should be created. Changing this forces a new resource to be created.

func (*KubernetesCluster) Name

Unique name of the Agent Pool Profile in the context of the Subscription and Resource Group. Changing this forces a new resource to be created.

func (*KubernetesCluster) ResourceGroupName

func (r *KubernetesCluster) ResourceGroupName() *pulumi.StringOutput

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

func (*KubernetesCluster) ServicePrincipal

func (r *KubernetesCluster) ServicePrincipal() *pulumi.Output

A Service Principal block as documented below.

func (*KubernetesCluster) Tags

func (r *KubernetesCluster) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*KubernetesCluster) URN

URN is this resource's unique name assigned by Pulumi.

type KubernetesClusterArgs

type KubernetesClusterArgs struct {
	// One or more Agent Pool Profile's block as documented below.
	AgentPoolProfile interface{}
	// DNS prefix specified when creating the managed cluster.
	DnsPrefix interface{}
	// Version of Kubernetes specified when creating the AKS managed cluster. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade).
	KubernetesVersion interface{}
	// A Linux Profile block as documented below.
	LinuxProfile interface{}
	// The location where the AKS Managed Cluster instance should be created. Changing this forces a new resource to be created.
	Location interface{}
	// Unique name of the Agent Pool Profile in the context of the Subscription and Resource Group. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A Service Principal block as documented below.
	ServicePrincipal interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a KubernetesCluster resource.

type KubernetesClusterState

type KubernetesClusterState struct {
	// One or more Agent Pool Profile's block as documented below.
	AgentPoolProfile interface{}
	// DNS prefix specified when creating the managed cluster.
	DnsPrefix interface{}
	// The FQDN of the Azure Kubernetes Managed Cluster.
	Fqdn interface{}
	// Kubernetes configuration, sub-attributes defined below:
	KubeConfig interface{}
	// Base64 encoded Kubernetes configuration
	KubeConfigRaw interface{}
	// Version of Kubernetes specified when creating the AKS managed cluster. If not specified, the latest recommended version will be used at provisioning time (but won't auto-upgrade).
	KubernetesVersion interface{}
	// A Linux Profile block as documented below.
	LinuxProfile interface{}
	// The location where the AKS Managed Cluster instance should be created. Changing this forces a new resource to be created.
	Location interface{}
	// Unique name of the Agent Pool Profile in the context of the Subscription and Resource Group. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A Service Principal block as documented below.
	ServicePrincipal interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering KubernetesCluster resources.

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Manages an Azure Container Registry.

~> **Note:** All arguments including the access key will be stored in the raw state as plain-text. [Read more about sensitive data in state](/docs/state/sensitive-data.html).

func GetRegistry

func GetRegistry(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RegistryState, opts ...pulumi.ResourceOpt) (*Registry, error)

GetRegistry gets an existing Registry 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 NewRegistry

func NewRegistry(ctx *pulumi.Context,
	name string, args *RegistryArgs, opts ...pulumi.ResourceOpt) (*Registry, error)

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

func (*Registry) AdminEnabled

func (r *Registry) AdminEnabled() *pulumi.BoolOutput

Specifies whether the admin user is enabled. Defaults to `false`.

func (*Registry) AdminPassword

func (r *Registry) AdminPassword() *pulumi.StringOutput

The Password associated with the Container Registry Admin account - if the admin account is enabled.

func (*Registry) AdminUsername

func (r *Registry) AdminUsername() *pulumi.StringOutput

The Username associated with the Container Registry Admin account - if the admin account is enabled.

func (*Registry) ID

func (r *Registry) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Registry) Location

func (r *Registry) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Registry) LoginServer

func (r *Registry) LoginServer() *pulumi.StringOutput

The URL that can be used to log into the container registry.

func (*Registry) Name

func (r *Registry) Name() *pulumi.StringOutput

Specifies the name of the Container Registry. Changing this forces a new resource to be created.

func (*Registry) ResourceGroupName

func (r *Registry) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the Container Registry. Changing this forces a new resource to be created.

func (*Registry) Sku

func (r *Registry) Sku() *pulumi.StringOutput

The SKU name of the the container registry. Possible values are `Classic` (which was previously `Basic`), `Basic`, `Standard` and `Premium`.

func (*Registry) StorageAccount

func (r *Registry) StorageAccount() *pulumi.Output

func (*Registry) StorageAccountId

func (r *Registry) StorageAccountId() *pulumi.StringOutput

The ID of a Storage Account which must be located in the same Azure Region as the Container Registry.

func (*Registry) Tags

func (r *Registry) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Registry) URN

func (r *Registry) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type RegistryArgs

type RegistryArgs struct {
	// Specifies whether the admin user is enabled. Defaults to `false`.
	AdminEnabled interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Container Registry. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the Container Registry. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The SKU name of the the container registry. Possible values are `Classic` (which was previously `Basic`), `Basic`, `Standard` and `Premium`.
	Sku            interface{}
	StorageAccount interface{}
	// The ID of a Storage Account which must be located in the same Azure Region as the Container Registry.
	StorageAccountId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Registry resource.

type RegistryState

type RegistryState struct {
	// Specifies whether the admin user is enabled. Defaults to `false`.
	AdminEnabled interface{}
	// The Password associated with the Container Registry Admin account - if the admin account is enabled.
	AdminPassword interface{}
	// The Username associated with the Container Registry Admin account - if the admin account is enabled.
	AdminUsername interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The URL that can be used to log into the container registry.
	LoginServer interface{}
	// Specifies the name of the Container Registry. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the Container Registry. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The SKU name of the the container registry. Possible values are `Classic` (which was previously `Basic`), `Basic`, `Standard` and `Premium`.
	Sku            interface{}
	StorageAccount interface{}
	// The ID of a Storage Account which must be located in the same Azure Region as the Container Registry.
	StorageAccountId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Registry resources.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Manages an Azure Container Service Instance

~> **Note:** All arguments including the client secret will be stored in the raw state as plain-text. [Read more about sensitive data in state](/docs/state/sensitive-data.html).

## Example Usage (DCOS)

```hcl

resource "azurerm_resource_group" "test" {
  name     = "acctestRG1"
  location = "West US"
}
resource "azurerm_container_service" "test" {
  name                   = "acctestcontservice1"
  location               = "${azurerm_resource_group.test.location}"
  resource_group_name    = "${azurerm_resource_group.test.name}"
  orchestration_platform = "DCOS"

  master_profile {
    count      = 1
    dns_prefix = "acctestmaster1"
  }

  linux_profile {
    admin_username = "acctestuser1"

    ssh_key {
      key_data = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqaZoyiz1qbdOQ8xEf6uEu1cCwYowo5FHtsBhqLoDnnp7KUTEBN+L2NxRIfQ781rxV6Iq5jSav6b2Q8z5KiseOlvKA/RF2wqU0UPYqQviQhLmW6THTpmrv/YkUCuzxDpsH7DUDhZcwySLKVVe0Qm3+5N2Ta6UYH3lsDf9R9wTP2K/+vAnflKebuypNlmocIvakFWoZda18FOmsOoIVXQ8HWFNCuw9ZCunMSN62QGamCe3dL5cXlkgHYv7ekJE15IA9aOJcM7e90oeTqo+7HTcWfdu0qQqPWY5ujyMw/llas8tsXY85LFqRnr3gJ02bAscjc477+X+j/gkpFoN1QEmt terraform@demo.tld"
    }
  }

  agent_pool_profile {
    name       = "default"
    count      = 1
    dns_prefix = "acctestagent1"
    vm_size    = "Standard_A0"
  }

  diagnostics_profile {
    enabled = false
  }

  tags {
    Environment = "Production"
  }
}

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ServiceState, opts ...pulumi.ResourceOpt) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOpt) (*Service, error)

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

func (*Service) AgentPoolProfile

func (r *Service) AgentPoolProfile() *pulumi.Output

One or more Agent Pool Profile's block as documented below.

func (*Service) DiagnosticsProfile

func (r *Service) DiagnosticsProfile() *pulumi.Output

A VM Diagnostics Profile block as documented below.

func (*Service) ID

func (r *Service) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Service) LinuxProfile

func (r *Service) LinuxProfile() *pulumi.Output

A Linux Profile block as documented below.

func (*Service) Location

func (r *Service) Location() *pulumi.StringOutput

The location where the Container Service instance should be created. Changing this forces a new resource to be created.

func (*Service) MasterProfile

func (r *Service) MasterProfile() *pulumi.Output

A Master Profile block as documented below.

func (*Service) Name

func (r *Service) Name() *pulumi.StringOutput

Unique name of the agent pool profile in the context of the subscription and resource group.

func (*Service) OrchestrationPlatform

func (r *Service) OrchestrationPlatform() *pulumi.StringOutput

Specifies the Container Orchestration Platform to use. Currently can be either `DCOS`, `Kubernetes` or `Swarm`. Changing this forces a new resource to be created.

func (*Service) ResourceGroupName

func (r *Service) ResourceGroupName() *pulumi.StringOutput

Specifies the resource group where the resource exists. Changing this forces a new resource to be created.

func (*Service) ServicePrincipal

func (r *Service) ServicePrincipal() *pulumi.Output

A Service Principal block as documented below.

func (*Service) Tags

func (r *Service) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Service) URN

func (r *Service) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ServiceArgs

type ServiceArgs struct {
	// One or more Agent Pool Profile's block as documented below.
	AgentPoolProfile interface{}
	// A VM Diagnostics Profile block as documented below.
	DiagnosticsProfile interface{}
	// A Linux Profile block as documented below.
	LinuxProfile interface{}
	// The location where the Container Service instance should be created. Changing this forces a new resource to be created.
	Location interface{}
	// A Master Profile block as documented below.
	MasterProfile interface{}
	// Unique name of the agent pool profile in the context of the subscription and resource group.
	Name interface{}
	// Specifies the Container Orchestration Platform to use. Currently can be either `DCOS`, `Kubernetes` or `Swarm`. Changing this forces a new resource to be created.
	OrchestrationPlatform interface{}
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A Service Principal block as documented below.
	ServicePrincipal interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Service resource.

type ServiceState

type ServiceState struct {
	// One or more Agent Pool Profile's block as documented below.
	AgentPoolProfile interface{}
	// A VM Diagnostics Profile block as documented below.
	DiagnosticsProfile interface{}
	// A Linux Profile block as documented below.
	LinuxProfile interface{}
	// The location where the Container Service instance should be created. Changing this forces a new resource to be created.
	Location interface{}
	// A Master Profile block as documented below.
	MasterProfile interface{}
	// Unique name of the agent pool profile in the context of the subscription and resource group.
	Name interface{}
	// Specifies the Container Orchestration Platform to use. Currently can be either `DCOS`, `Kubernetes` or `Swarm`. Changing this forces a new resource to be created.
	OrchestrationPlatform interface{}
	// Specifies the resource group where the resource exists. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A Service Principal block as documented below.
	ServicePrincipal interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Service resources.

Jump to

Keyboard shortcuts

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