Documentation
¶
Index ¶
- type GetKubernetesClusterArgs
- type GetKubernetesClusterResult
- type GetRegistryArgs
- type GetRegistryResult
- type Group
- func (r *Group) Containers() *pulumi.ArrayOutput
- func (r *Group) DnsNameLabel() *pulumi.StringOutput
- func (r *Group) Fqdn() *pulumi.StringOutput
- func (r *Group) ID() *pulumi.IDOutput
- func (r *Group) ImageRegistryCredentials() *pulumi.ArrayOutput
- func (r *Group) IpAddress() *pulumi.StringOutput
- func (r *Group) IpAddressType() *pulumi.StringOutput
- func (r *Group) Location() *pulumi.StringOutput
- func (r *Group) Name() *pulumi.StringOutput
- func (r *Group) OsType() *pulumi.StringOutput
- func (r *Group) ResourceGroupName() *pulumi.StringOutput
- func (r *Group) RestartPolicy() *pulumi.StringOutput
- func (r *Group) Tags() *pulumi.MapOutput
- func (r *Group) URN() *pulumi.URNOutput
- type GroupArgs
- type GroupState
- type KubernetesCluster
- func (r *KubernetesCluster) AddonProfile() *pulumi.Output
- func (r *KubernetesCluster) AgentPoolProfile() *pulumi.Output
- func (r *KubernetesCluster) DnsPrefix() *pulumi.StringOutput
- func (r *KubernetesCluster) Fqdn() *pulumi.StringOutput
- func (r *KubernetesCluster) ID() *pulumi.IDOutput
- func (r *KubernetesCluster) KubeConfig() *pulumi.Output
- func (r *KubernetesCluster) KubeConfigRaw() *pulumi.StringOutput
- func (r *KubernetesCluster) KubernetesVersion() *pulumi.StringOutput
- func (r *KubernetesCluster) LinuxProfile() *pulumi.Output
- func (r *KubernetesCluster) Location() *pulumi.StringOutput
- func (r *KubernetesCluster) Name() *pulumi.StringOutput
- func (r *KubernetesCluster) NetworkProfile() *pulumi.Output
- func (r *KubernetesCluster) NodeResourceGroup() *pulumi.StringOutput
- func (r *KubernetesCluster) ResourceGroupName() *pulumi.StringOutput
- func (r *KubernetesCluster) RoleBasedAccessControl() *pulumi.Output
- func (r *KubernetesCluster) ServicePrincipal() *pulumi.Output
- func (r *KubernetesCluster) Tags() *pulumi.MapOutput
- func (r *KubernetesCluster) URN() *pulumi.URNOutput
- type KubernetesClusterArgs
- type KubernetesClusterState
- type Registry
- func (r *Registry) AdminEnabled() *pulumi.BoolOutput
- func (r *Registry) AdminPassword() *pulumi.StringOutput
- func (r *Registry) AdminUsername() *pulumi.StringOutput
- func (r *Registry) ID() *pulumi.IDOutput
- func (r *Registry) Location() *pulumi.StringOutput
- func (r *Registry) LoginServer() *pulumi.StringOutput
- func (r *Registry) Name() *pulumi.StringOutput
- func (r *Registry) ResourceGroupName() *pulumi.StringOutput
- func (r *Registry) Sku() *pulumi.StringOutput
- func (r *Registry) StorageAccount() *pulumi.Output
- func (r *Registry) StorageAccountId() *pulumi.StringOutput
- func (r *Registry) Tags() *pulumi.MapOutput
- func (r *Registry) URN() *pulumi.URNOutput
- type RegistryArgs
- type RegistryState
- type Service
- func (r *Service) AgentPoolProfile() *pulumi.Output
- func (r *Service) DiagnosticsProfile() *pulumi.Output
- func (r *Service) ID() *pulumi.IDOutput
- func (r *Service) LinuxProfile() *pulumi.Output
- func (r *Service) Location() *pulumi.StringOutput
- func (r *Service) MasterProfile() *pulumi.Output
- func (r *Service) Name() *pulumi.StringOutput
- func (r *Service) OrchestrationPlatform() *pulumi.StringOutput
- func (r *Service) ResourceGroupName() *pulumi.StringOutput
- func (r *Service) ServicePrincipal() *pulumi.Output
- func (r *Service) Tags() *pulumi.MapOutput
- func (r *Service) URN() *pulumi.URNOutput
- type ServiceArgs
- type ServiceState
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 `addon_profile` block as documented below. AddonProfiles interface{} // 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 `network_profile` block as documented below. NetworkProfiles interface{} // Auto-generated Resource Group containing AKS Cluster resources. NodeResourceGroup interface{} // A `role_based_access_control` block as documented below. RoleBasedAccessControls 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)
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).
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{} // 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{} // 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.
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Manage as an Azure Container Group instance.
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) DnsNameLabel ¶
func (r *Group) DnsNameLabel() *pulumi.StringOutput
The DNS label/name for the container groups IP.
func (*Group) Fqdn ¶
func (r *Group) Fqdn() *pulumi.StringOutput
The FQDN of the container group derived from `dns_name_label`.
func (*Group) ImageRegistryCredentials ¶ added in v0.15.0
func (r *Group) ImageRegistryCredentials() *pulumi.ArrayOutput
Set image registry credentials for the group as documented in the `image_registry_credential` block below
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` is the only acceptable value at this time. Changing this forces a new resource to be created.
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) 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`.
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{} // The DNS label/name for the container groups IP. DnsNameLabel interface{} // Set image registry credentials for the group as documented in the `image_registry_credential` block below ImageRegistryCredentials interface{} // Specifies the ip address type of the container. `Public` is the only acceptable value at this time. Changing this forces a new resource to be created. 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{} // 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`. RestartPolicy interface{} 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{} // The DNS label/name for the container groups IP. DnsNameLabel interface{} // The FQDN of the container group derived from `dns_name_label`. Fqdn interface{} // Set image registry credentials for the group as documented in the `image_registry_credential` block below ImageRegistryCredentials interface{} // The IP address allocated to the container group. IpAddress interface{} // Specifies the ip address type of the container. `Public` is the only acceptable value at this time. Changing this forces a new resource to be created. 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{} // 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`. 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 (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).
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
A `addon_profile` block.
func (*KubernetesCluster) AgentPoolProfile ¶
func (r *KubernetesCluster) AgentPoolProfile() *pulumi.Output
One or more `agent_pool_profile` blocks as documented below.
func (*KubernetesCluster) DnsPrefix ¶
func (r *KubernetesCluster) DnsPrefix() *pulumi.StringOutput
DNS prefix specified when creating the managed cluster.
func (*KubernetesCluster) Fqdn ¶
func (r *KubernetesCluster) Fqdn() *pulumi.StringOutput
The FQDN of the Azure Kubernetes Managed Cluster.
func (*KubernetesCluster) ID ¶
func (r *KubernetesCluster) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*KubernetesCluster) KubeConfig ¶
func (r *KubernetesCluster) KubeConfig() *pulumi.Output
A `kube_config` 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
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.
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 ¶
func (r *KubernetesCluster) Name() *pulumi.StringOutput
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
A `network_profile` block.
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
A `role_based_access_control` block. 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 ¶
func (r *KubernetesCluster) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type KubernetesClusterArgs ¶
type KubernetesClusterArgs struct { // A `addon_profile` block. AddonProfile interface{} // One or more `agent_pool_profile` blocks 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. 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{} // A `network_profile` block. NetworkProfile interface{} // Specifies the Resource Group where the Managed Kubernetes Cluster should exist. Changing this forces a new resource to be created. ResourceGroupName interface{} // A `role_based_access_control` block. Changing this forces a new resource to be created. RoleBasedAccessControl 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 { // A `addon_profile` block. AddonProfile interface{} // One or more `agent_pool_profile` blocks 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{} // A `kube_config` 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{} // 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. 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{} // A `network_profile` block. 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{} // A `role_based_access_control` block. Changing this forces a new resource to be created. RoleBasedAccessControl 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](https://www.terraform.io/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) 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 (*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.
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](https://www.terraform.io/docs/state/sensitive-data.html).
~> **NOTE:** You may wish to consider using Azure Kubernetes Service (AKS) for new deployments.
## 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_F2" } 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 ¶
One or more Agent Pool Profile's block as documented below.
func (*Service) DiagnosticsProfile ¶
A VM Diagnostics Profile block as documented below.
func (*Service) LinuxProfile ¶
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 ¶
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 ¶
A Service Principal block as documented below.
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.