containerservice

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package containerservice exports types, functions, subpackages for provisioning containerservice resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-azurerm) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-azure` repo](https://github.com/pulumi/pulumi-azure/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-azurerm` repo](https://github.com/terraform-providers/terraform-provider-azurerm/issues).

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 {
	// A `addonProfile` block as documented below.
	AddonProfiles interface{}
	// An `agentPoolProfile` block 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 `kubeAdminConfig` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled.
	KubeAdminConfigs interface{}
	// Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled.
	KubeAdminConfigRaw interface{}
	// A `kubeConfig` 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 `linuxProfile` block as documented below.
	LinuxProfiles interface{}
	// The Azure Region in which the managed Kubernetes Cluster exists.
	Location interface{}
	// The name assigned to this pool of agents.
	Name interface{}
	// A `networkProfile` block as documented below.
	NetworkProfiles interface{}
	// Auto-generated Resource Group containing AKS Cluster resources.
	NodeResourceGroup interface{}
	ResourceGroupName interface{}
	// A `roleBasedAccessControl` block as documented below.
	RoleBasedAccessControls interface{}
	// A `servicePrincipal` block as documented below.
	ServicePrincipals interface{}
	// A mapping of tags assigned to this resource.
	Tags interface{}
	// A `windowsProfile` block as documented below.
	WindowsProfiles 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)

Use this data source to access information about an existing 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](https://www.terraform.io/docs/state/sensitive-data.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/kubernetes_cluster.html.markdown.

type GetKubernetesServiceVersionsArgs added in v0.18.3

type GetKubernetesServiceVersionsArgs struct {
	// Specifies the location in which to query for versions.
	Location interface{}
	// A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`.
	VersionPrefix interface{}
}

A collection of arguments for invoking getKubernetesServiceVersions.

type GetKubernetesServiceVersionsResult added in v0.18.3

type GetKubernetesServiceVersionsResult struct {
	// The most recent version available.
	LatestVersion interface{}
	Location      interface{}
	VersionPrefix interface{}
	// The list of all supported versions.
	Versions interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getKubernetesServiceVersions.

func LookupKubernetesServiceVersions added in v0.18.3

func LookupKubernetesServiceVersions(ctx *pulumi.Context, args *GetKubernetesServiceVersionsArgs) (*GetKubernetesServiceVersionsResult, error)

Use this data source to retrieve the version of Kubernetes supported by Azure Kubernetes Service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/kubernetes_service_versions.html.markdown.

type GetRegistryArgs added in v0.15.0

type GetRegistryArgs struct {
	// The name of the Container Registry.
	Name interface{}
	// The Name of the Resource Group where this Container Registry exists.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getRegistry.

type GetRegistryResult added in v0.15.0

type GetRegistryResult struct {
	// Is the Administrator account enabled for this Container Registry.
	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{}
	// The Azure Region in which this Container Registry exists.
	Location interface{}
	// The URL that can be used to log into the container registry.
	LoginServer       interface{}
	Name              interface{}
	ResourceGroupName interface{}
	// The SKU of this Container Registry, such as `Basic`.
	Sku interface{}
	// The ID of the Storage Account used for this Container Registry. This is only returned for `Classic` SKU's.
	StorageAccountId interface{}
	// A map of tags assigned to the Container Registry.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getRegistry.

func LookupRegistry added in v0.15.0

func LookupRegistry(ctx *pulumi.Context, args *GetRegistryArgs) (*GetRegistryResult, error)

Use this data source to access information about an existing Container Registry.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/container_registry.html.markdown.

type Group

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

Manage as an Azure Container Group instance.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/container_group.html.markdown.

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

The definition of a container that is part of the group as documented in the `container` block below. Changing this forces a new resource to be created.

func (*Group) Diagnostics added in v0.17.2

func (r *Group) Diagnostics() *pulumi.Output

A `diagnostics` block as documented below.

func (*Group) DnsNameLabel

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

The DNS label/name for the container groups IP. Changing this forces a new resource to be created.

func (*Group) Fqdn

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

The FQDN of the container group derived from `dnsNameLabel`.

func (*Group) ID

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

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

func (*Group) Identity added in v0.18.1

func (r *Group) Identity() *pulumi.Output

An `identity` block as defined below.

func (*Group) ImageRegistryCredentials added in v0.15.0

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

A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.

func (*Group) IpAddress

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

The IP address allocated to the container group.

func (*Group) IpAddressType

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

Specifies the ip address type of the container. `Public` or `Private`. Changing this forces a new resource to be created. If set to `Private`, `networkProfileId` also needs to be set.

func (*Group) Location

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

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

func (*Group) Name

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

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

func (*Group) NetworkProfileId added in v1.0.0

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

Network profile ID for deploying to virtual network.

func (*Group) OsType

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

The OS for the container group. Allowed values are `Linux` and `Windows`. Changing this forces a new resource to be created.

func (*Group) ResourceGroupName

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

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

func (*Group) RestartPolicy

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

Restart policy for the container group. Allowed values are `Always`, `Never`, `OnFailure`. Defaults to `Always`. Changing this forces a new resource to be created.

func (*Group) Tags

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

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

func (*Group) URN

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

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

type GroupArgs

type GroupArgs struct {
	// The definition of a container that is part of the group as documented in the `container` block below. Changing this forces a new resource to be created.
	Containers interface{}
	// A `diagnostics` block as documented below.
	Diagnostics interface{}
	// The DNS label/name for the container groups IP. Changing this forces a new resource to be created.
	DnsNameLabel interface{}
	// An `identity` block as defined below.
	Identity interface{}
	// A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.
	ImageRegistryCredentials interface{}
	// Specifies the ip address type of the container. `Public` or `Private`. Changing this forces a new resource to be created. If set to `Private`, `networkProfileId` also needs to be set.
	IpAddressType 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 Group. Changing this forces a new resource to be created.
	Name interface{}
	// Network profile ID for deploying to virtual network.
	NetworkProfileId interface{}
	// The OS for the container group. Allowed values are `Linux` and `Windows`. Changing this forces a new resource to be created.
	OsType interface{}
	// The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Restart policy for the container group. Allowed values are `Always`, `Never`, `OnFailure`. Defaults to `Always`. Changing this forces a new resource to be created.
	RestartPolicy interface{}
	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	Tags interface{}
}

The set of arguments for constructing a Group resource.

type GroupState

type GroupState struct {
	// The definition of a container that is part of the group as documented in the `container` block below. Changing this forces a new resource to be created.
	Containers interface{}
	// A `diagnostics` block as documented below.
	Diagnostics interface{}
	// The DNS label/name for the container groups IP. Changing this forces a new resource to be created.
	DnsNameLabel interface{}
	// The FQDN of the container group derived from `dnsNameLabel`.
	Fqdn interface{}
	// An `identity` block as defined below.
	Identity interface{}
	// A `imageRegistryCredential` block as documented below. Changing this forces a new resource to be created.
	ImageRegistryCredentials interface{}
	// The IP address allocated to the container group.
	IpAddress interface{}
	// Specifies the ip address type of the container. `Public` or `Private`. Changing this forces a new resource to be created. If set to `Private`, `networkProfileId` also needs to be set.
	IpAddressType 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 Group. Changing this forces a new resource to be created.
	Name interface{}
	// Network profile ID for deploying to virtual network.
	NetworkProfileId interface{}
	// The OS for the container group. Allowed values are `Linux` and `Windows`. Changing this forces a new resource to be created.
	OsType interface{}
	// The name of the resource group in which to create the Container Group. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Restart policy for the container group. Allowed values are `Always`, `Never`, `OnFailure`. Defaults to `Always`. Changing this forces a new resource to be created.
	RestartPolicy interface{}
	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	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 (also known as AKS / Azure Kubernetes Service)

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

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/kubernetes_cluster.html.markdown.

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) AddonProfile added in v0.15.2

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

func (*KubernetesCluster) AgentPoolProfiles added in v0.18.5

func (r *KubernetesCluster) AgentPoolProfiles() *pulumi.ArrayOutput

One or more `agentPoolProfile` blocks as defined below.

func (*KubernetesCluster) ApiServerAuthorizedIpRanges added in v0.18.3

func (r *KubernetesCluster) ApiServerAuthorizedIpRanges() *pulumi.ArrayOutput

func (*KubernetesCluster) DnsPrefix

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

DNS prefix specified when creating the managed cluster. Changing this forces a new resource to be created.

func (*KubernetesCluster) EnablePodSecurityPolicy added in v1.0.0

func (r *KubernetesCluster) EnablePodSecurityPolicy() *pulumi.BoolOutput

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) KubeAdminConfig added in v0.16.6

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

A `kubeAdminConfig` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled.

func (*KubernetesCluster) KubeAdminConfigRaw added in v0.16.6

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

Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled.

func (*KubernetesCluster) KubeConfig

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

A `kubeConfig` block as defined below.

func (*KubernetesCluster) KubeConfigRaw

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

Raw Kubernetes config to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools

func (*KubernetesCluster) KubernetesVersion

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

func (*KubernetesCluster) LinuxProfile

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

func (*KubernetesCluster) Location

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

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

func (*KubernetesCluster) Name

The name of the Managed Kubernetes Cluster to create. Changing this forces a new resource to be created.

func (*KubernetesCluster) NetworkProfile added in v0.15.0

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

func (*KubernetesCluster) NodeResourceGroup added in v0.15.0

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

The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster.

func (*KubernetesCluster) ResourceGroupName

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

Specifies the Resource Group where the Managed Kubernetes Cluster should exist. Changing this forces a new resource to be created.

func (*KubernetesCluster) RoleBasedAccessControl added in v0.16.5

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

func (*KubernetesCluster) ServicePrincipal

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

A `servicePrincipal` block as documented below.

func (*KubernetesCluster) Tags

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

func (*KubernetesCluster) URN

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

func (*KubernetesCluster) WindowsProfile added in v1.0.0

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

type KubernetesClusterArgs

type KubernetesClusterArgs struct {
	AddonProfile interface{}
	// One or more `agentPoolProfile` blocks as defined below.
	AgentPoolProfiles           interface{}
	ApiServerAuthorizedIpRanges interface{}
	// DNS prefix specified when creating the managed cluster. Changing this forces a new resource to be created.
	DnsPrefix               interface{}
	EnablePodSecurityPolicy interface{}
	KubernetesVersion       interface{}
	LinuxProfile            interface{}
	// The location where the Managed Kubernetes Cluster should be created. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Managed Kubernetes Cluster to create. Changing this forces a new resource to be created.
	Name           interface{}
	NetworkProfile interface{}
	// The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster.
	NodeResourceGroup interface{}
	// Specifies the Resource Group where the Managed Kubernetes Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName      interface{}
	RoleBasedAccessControl interface{}
	// A `servicePrincipal` block as documented below.
	ServicePrincipal interface{}
	Tags             interface{}
	WindowsProfile   interface{}
}

The set of arguments for constructing a KubernetesCluster resource.

type KubernetesClusterState

type KubernetesClusterState struct {
	AddonProfile interface{}
	// One or more `agentPoolProfile` blocks as defined below.
	AgentPoolProfiles           interface{}
	ApiServerAuthorizedIpRanges interface{}
	// DNS prefix specified when creating the managed cluster. Changing this forces a new resource to be created.
	DnsPrefix               interface{}
	EnablePodSecurityPolicy interface{}
	// The FQDN of the Azure Kubernetes Managed Cluster.
	Fqdn interface{}
	// A `kubeAdminConfig` block as defined below. This is only available when Role Based Access Control with Azure Active Directory is enabled.
	KubeAdminConfig interface{}
	// Raw Kubernetes config for the admin account to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools. This is only available when Role Based Access Control with Azure Active Directory is enabled.
	KubeAdminConfigRaw interface{}
	// A `kubeConfig` block as defined below.
	KubeConfig interface{}
	// Raw Kubernetes config to be used by [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/) and other compatible tools
	KubeConfigRaw     interface{}
	KubernetesVersion interface{}
	LinuxProfile      interface{}
	// The location where the Managed Kubernetes Cluster should be created. Changing this forces a new resource to be created.
	Location interface{}
	// The name of the Managed Kubernetes Cluster to create. Changing this forces a new resource to be created.
	Name           interface{}
	NetworkProfile interface{}
	// The auto-generated Resource Group which contains the resources for this Managed Kubernetes Cluster.
	NodeResourceGroup interface{}
	// Specifies the Resource Group where the Managed Kubernetes Cluster should exist. Changing this forces a new resource to be created.
	ResourceGroupName      interface{}
	RoleBasedAccessControl interface{}
	// A `servicePrincipal` block as documented below.
	ServicePrincipal interface{}
	Tags             interface{}
	WindowsProfile   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](https://www.terraform.io/docs/state/sensitive-data.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/container_registry.html.markdown.

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) GeoreplicationLocations added in v0.16.6

func (r *Registry) GeoreplicationLocations() *pulumi.ArrayOutput

A list of Azure locations where the container registry should be geo-replicated.

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) NetworkRuleSet added in v1.0.0

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

A `networkRuleSet` block as documented below.

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{}
	// A list of Azure locations where the container registry should be geo-replicated.
	GeoreplicationLocations 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{}
	// A `networkRuleSet` block as documented below.
	NetworkRuleSet 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{}
	// A list of Azure locations where the container registry should be geo-replicated.
	GeoreplicationLocations 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{}
	// A `networkRuleSet` block as documented below.
	NetworkRuleSet 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 RegistryWebook added in v1.0.0

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

Manages an Azure Container Registry Webhook.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/container_registry_webhook.html.markdown.

func GetRegistryWebook added in v1.0.0

func GetRegistryWebook(ctx *pulumi.Context,
	name string, id pulumi.ID, state *RegistryWebookState, opts ...pulumi.ResourceOpt) (*RegistryWebook, error)

GetRegistryWebook gets an existing RegistryWebook 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 NewRegistryWebook added in v1.0.0

func NewRegistryWebook(ctx *pulumi.Context,
	name string, args *RegistryWebookArgs, opts ...pulumi.ResourceOpt) (*RegistryWebook, error)

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

func (*RegistryWebook) Actions added in v1.0.0

func (r *RegistryWebook) Actions() *pulumi.ArrayOutput

A list of actions that trigger the Webhook to post notifications. At least one action needs to be specified. Valid values are: `push`, `delete`, `quarantine`, `chartPush`, `chartDelete`

func (*RegistryWebook) CustomHeaders added in v1.0.0

func (r *RegistryWebook) CustomHeaders() *pulumi.MapOutput

Custom headers that will be added to the webhook notifications request.

func (*RegistryWebook) ID added in v1.0.0

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

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

func (*RegistryWebook) Location added in v1.0.0

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

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

func (*RegistryWebook) Name added in v1.0.0

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

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

func (*RegistryWebook) RegistryName added in v1.0.0

func (r *RegistryWebook) RegistryName() *pulumi.StringOutput

The Name of Container registry this Webhook belongs to. Changing this forces a new resource to be created.

func (*RegistryWebook) ResourceGroupName added in v1.0.0

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

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

func (*RegistryWebook) Scope added in v1.0.0

func (r *RegistryWebook) Scope() *pulumi.StringOutput

Specifies the scope of repositories that can trigger an event. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.

func (*RegistryWebook) ServiceUri added in v1.0.0

func (r *RegistryWebook) ServiceUri() *pulumi.StringOutput

Specifies the service URI for the Webhook to post notifications.

func (*RegistryWebook) Status added in v1.0.0

func (r *RegistryWebook) Status() *pulumi.StringOutput

Specifies if this Webhook triggers notifications or not. Valid values: `enabled` and `disabled`. Default is `enabled`.

func (*RegistryWebook) Tags added in v1.0.0

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

func (*RegistryWebook) URN added in v1.0.0

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

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

type RegistryWebookArgs added in v1.0.0

type RegistryWebookArgs struct {
	// A list of actions that trigger the Webhook to post notifications. At least one action needs to be specified. Valid values are: `push`, `delete`, `quarantine`, `chartPush`, `chartDelete`
	Actions interface{}
	// Custom headers that will be added to the webhook notifications request.
	CustomHeaders 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 Webhook. Changing this forces a new resource to be created.
	Name interface{}
	// The Name of Container registry this Webhook belongs to. Changing this forces a new resource to be created.
	RegistryName interface{}
	// The name of the resource group in which to create the Container Registry Webhook. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the scope of repositories that can trigger an event. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
	Scope interface{}
	// Specifies the service URI for the Webhook to post notifications.
	ServiceUri interface{}
	// Specifies if this Webhook triggers notifications or not. Valid values: `enabled` and `disabled`. Default is `enabled`.
	Status interface{}
	Tags   interface{}
}

The set of arguments for constructing a RegistryWebook resource.

type RegistryWebookState added in v1.0.0

type RegistryWebookState struct {
	// A list of actions that trigger the Webhook to post notifications. At least one action needs to be specified. Valid values are: `push`, `delete`, `quarantine`, `chartPush`, `chartDelete`
	Actions interface{}
	// Custom headers that will be added to the webhook notifications request.
	CustomHeaders 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 Webhook. Changing this forces a new resource to be created.
	Name interface{}
	// The Name of Container registry this Webhook belongs to. Changing this forces a new resource to be created.
	RegistryName interface{}
	// The name of the resource group in which to create the Container Registry Webhook. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies the scope of repositories that can trigger an event. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
	Scope interface{}
	// Specifies the service URI for the Webhook to post notifications.
	ServiceUri interface{}
	// Specifies if this Webhook triggers notifications or not. Valid values: `enabled` and `disabled`. Default is `enabled`.
	Status interface{}
	Tags   interface{}
}

Input properties used for looking up and filtering RegistryWebook 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](https://www.terraform.io/docs/state/sensitive-data.html).

> **DEPRECATED:** [Azure Container Service (ACS) has been deprecated by Azure in favour of Azure (Managed) Kubernetes Service (AKS)](https://azure.microsoft.com/en-us/updates/azure-container-service-will-retire-on-january-31-2020/). Support for ACS will be removed in the next major version of the AzureRM Provider (2.0) - and we **strongly recommend** you consider using Azure Kubernetes Service (AKS) for new deployments.

## Example Usage (DCOS)

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/container_service.html.markdown.

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

A 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 {
	// A 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 {
	// A 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