Documentation
¶
Index ¶
- type Aws
- type AwsArgs
- type AwsArray
- type AwsArrayInput
- type AwsArrayOutput
- type AwsAssumeCrossAccountRole
- type AwsAssumeCrossAccountRoleArgs
- func (AwsAssumeCrossAccountRoleArgs) ElementType() reflect.Type
- func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutput() AwsAssumeCrossAccountRoleOutput
- func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRoleOutput
- func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
- func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
- type AwsAssumeCrossAccountRoleInput
- type AwsAssumeCrossAccountRoleOutput
- func (AwsAssumeCrossAccountRoleOutput) ElementType() reflect.Type
- func (o AwsAssumeCrossAccountRoleOutput) ExternalId() pulumi.StringPtrOutput
- func (o AwsAssumeCrossAccountRoleOutput) RoleArn() pulumi.StringOutput
- func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutput() AwsAssumeCrossAccountRoleOutput
- func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRoleOutput
- func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
- func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
- type AwsAssumeCrossAccountRolePtrInput
- type AwsAssumeCrossAccountRolePtrOutput
- func (o AwsAssumeCrossAccountRolePtrOutput) Elem() AwsAssumeCrossAccountRoleOutput
- func (AwsAssumeCrossAccountRolePtrOutput) ElementType() reflect.Type
- func (o AwsAssumeCrossAccountRolePtrOutput) ExternalId() pulumi.StringPtrOutput
- func (o AwsAssumeCrossAccountRolePtrOutput) RoleArn() pulumi.StringPtrOutput
- func (o AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
- func (o AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
- type AwsInput
- type AwsMap
- type AwsMapInput
- type AwsMapOutput
- type AwsOutput
- func (o AwsOutput) AccessKeyId() pulumi.StringPtrOutput
- func (o AwsOutput) AccessKeyIdSecretName() pulumi.StringPtrOutput
- func (o AwsOutput) AssumeCrossAccountRole() AwsAssumeCrossAccountRolePtrOutput
- func (o AwsOutput) DelegateSelector() pulumi.StringPtrOutput
- func (AwsOutput) ElementType() reflect.Type
- func (o AwsOutput) Name() pulumi.StringOutput
- func (o AwsOutput) SecretAccessKeySecretName() pulumi.StringPtrOutput
- func (o AwsOutput) ToAwsOutput() AwsOutput
- func (o AwsOutput) ToAwsOutputWithContext(ctx context.Context) AwsOutput
- func (o AwsOutput) UsageScopes() AwsUsageScopeArrayOutput
- func (o AwsOutput) UseEc2IamCredentials() pulumi.BoolPtrOutput
- func (o AwsOutput) UseIrsa() pulumi.BoolPtrOutput
- type AwsState
- type AwsUsageScope
- type AwsUsageScopeArgs
- type AwsUsageScopeArray
- type AwsUsageScopeArrayInput
- type AwsUsageScopeArrayOutput
- func (AwsUsageScopeArrayOutput) ElementType() reflect.Type
- func (o AwsUsageScopeArrayOutput) Index(i pulumi.IntInput) AwsUsageScopeOutput
- func (o AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutput() AwsUsageScopeArrayOutput
- func (o AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutputWithContext(ctx context.Context) AwsUsageScopeArrayOutput
- type AwsUsageScopeInput
- type AwsUsageScopeOutput
- func (o AwsUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
- func (AwsUsageScopeOutput) ElementType() reflect.Type
- func (o AwsUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
- func (o AwsUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
- func (o AwsUsageScopeOutput) ToAwsUsageScopeOutput() AwsUsageScopeOutput
- func (o AwsUsageScopeOutput) ToAwsUsageScopeOutputWithContext(ctx context.Context) AwsUsageScopeOutput
- type Azure
- type AzureArgs
- type AzureArray
- type AzureArrayInput
- type AzureArrayOutput
- type AzureInput
- type AzureMap
- type AzureMapInput
- type AzureMapOutput
- type AzureOutput
- func (o AzureOutput) ClientId() pulumi.StringOutput
- func (AzureOutput) ElementType() reflect.Type
- func (o AzureOutput) EnvironmentType() pulumi.StringPtrOutput
- func (o AzureOutput) Key() pulumi.StringOutput
- func (o AzureOutput) Name() pulumi.StringOutput
- func (o AzureOutput) TenantId() pulumi.StringOutput
- func (o AzureOutput) ToAzureOutput() AzureOutput
- func (o AzureOutput) ToAzureOutputWithContext(ctx context.Context) AzureOutput
- type AzureState
- type Datacenter
- type DatacenterArgs
- type DatacenterArray
- type DatacenterArrayInput
- type DatacenterArrayOutput
- func (DatacenterArrayOutput) ElementType() reflect.Type
- func (o DatacenterArrayOutput) Index(i pulumi.IntInput) DatacenterOutput
- func (o DatacenterArrayOutput) ToDatacenterArrayOutput() DatacenterArrayOutput
- func (o DatacenterArrayOutput) ToDatacenterArrayOutputWithContext(ctx context.Context) DatacenterArrayOutput
- type DatacenterInput
- type DatacenterMap
- type DatacenterMapInput
- type DatacenterMapOutput
- func (DatacenterMapOutput) ElementType() reflect.Type
- func (o DatacenterMapOutput) MapIndex(k pulumi.StringInput) DatacenterOutput
- func (o DatacenterMapOutput) ToDatacenterMapOutput() DatacenterMapOutput
- func (o DatacenterMapOutput) ToDatacenterMapOutputWithContext(ctx context.Context) DatacenterMapOutput
- type DatacenterOutput
- func (DatacenterOutput) ElementType() reflect.Type
- func (o DatacenterOutput) Name() pulumi.StringOutput
- func (o DatacenterOutput) ToDatacenterOutput() DatacenterOutput
- func (o DatacenterOutput) ToDatacenterOutputWithContext(ctx context.Context) DatacenterOutput
- func (o DatacenterOutput) UsageScopes() DatacenterUsageScopeArrayOutput
- type DatacenterState
- type DatacenterUsageScope
- type DatacenterUsageScopeArgs
- type DatacenterUsageScopeArray
- type DatacenterUsageScopeArrayInput
- type DatacenterUsageScopeArrayOutput
- func (DatacenterUsageScopeArrayOutput) ElementType() reflect.Type
- func (o DatacenterUsageScopeArrayOutput) Index(i pulumi.IntInput) DatacenterUsageScopeOutput
- func (o DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutput() DatacenterUsageScopeArrayOutput
- func (o DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutputWithContext(ctx context.Context) DatacenterUsageScopeArrayOutput
- type DatacenterUsageScopeInput
- type DatacenterUsageScopeOutput
- func (o DatacenterUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
- func (DatacenterUsageScopeOutput) ElementType() reflect.Type
- func (o DatacenterUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
- func (o DatacenterUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
- func (o DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutput() DatacenterUsageScopeOutput
- func (o DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutputWithContext(ctx context.Context) DatacenterUsageScopeOutput
- type Gcp
- type GcpArgs
- type GcpArray
- type GcpArrayInput
- type GcpArrayOutput
- type GcpInput
- type GcpMap
- type GcpMapInput
- type GcpMapOutput
- type GcpOutput
- func (o GcpOutput) DelegateSelectors() pulumi.StringArrayOutput
- func (GcpOutput) ElementType() reflect.Type
- func (o GcpOutput) Name() pulumi.StringOutput
- func (o GcpOutput) SecretFileId() pulumi.StringPtrOutput
- func (o GcpOutput) SkipValidation() pulumi.BoolPtrOutput
- func (o GcpOutput) ToGcpOutput() GcpOutput
- func (o GcpOutput) ToGcpOutputWithContext(ctx context.Context) GcpOutput
- func (o GcpOutput) UsageScopes() GcpUsageScopeArrayOutput
- type GcpState
- type GcpUsageScope
- type GcpUsageScopeArgs
- type GcpUsageScopeArray
- type GcpUsageScopeArrayInput
- type GcpUsageScopeArrayOutput
- func (GcpUsageScopeArrayOutput) ElementType() reflect.Type
- func (o GcpUsageScopeArrayOutput) Index(i pulumi.IntInput) GcpUsageScopeOutput
- func (o GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutput() GcpUsageScopeArrayOutput
- func (o GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutputWithContext(ctx context.Context) GcpUsageScopeArrayOutput
- type GcpUsageScopeInput
- type GcpUsageScopeOutput
- func (o GcpUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
- func (GcpUsageScopeOutput) ElementType() reflect.Type
- func (o GcpUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
- func (o GcpUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
- func (o GcpUsageScopeOutput) ToGcpUsageScopeOutput() GcpUsageScopeOutput
- func (o GcpUsageScopeOutput) ToGcpUsageScopeOutputWithContext(ctx context.Context) GcpUsageScopeOutput
- type GetDelegateIdsArgs
- type GetDelegateIdsOutputArgs
- type GetDelegateIdsResult
- type GetDelegateIdsResultOutput
- func (o GetDelegateIdsResultOutput) DelegateIds() pulumi.StringArrayOutput
- func (GetDelegateIdsResultOutput) ElementType() reflect.Type
- func (o GetDelegateIdsResultOutput) Id() pulumi.StringOutput
- func (o GetDelegateIdsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetDelegateIdsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutput() GetDelegateIdsResultOutput
- func (o GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutputWithContext(ctx context.Context) GetDelegateIdsResultOutput
- func (o GetDelegateIdsResultOutput) Type() pulumi.StringPtrOutput
- type Kubernetes
- type KubernetesArgs
- type KubernetesArray
- type KubernetesArrayInput
- type KubernetesArrayOutput
- func (KubernetesArrayOutput) ElementType() reflect.Type
- func (o KubernetesArrayOutput) Index(i pulumi.IntInput) KubernetesOutput
- func (o KubernetesArrayOutput) ToKubernetesArrayOutput() KubernetesArrayOutput
- func (o KubernetesArrayOutput) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput
- type KubernetesAuthentication
- type KubernetesAuthenticationArgs
- func (KubernetesAuthenticationArgs) ElementType() reflect.Type
- func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutput() KubernetesAuthenticationOutput
- func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutputWithContext(ctx context.Context) KubernetesAuthenticationOutput
- func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
- func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
- type KubernetesAuthenticationInput
- type KubernetesAuthenticationOidc
- type KubernetesAuthenticationOidcArgs
- func (KubernetesAuthenticationOidcArgs) ElementType() reflect.Type
- func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutput() KubernetesAuthenticationOidcOutput
- func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcOutput
- func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
- func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
- type KubernetesAuthenticationOidcInput
- type KubernetesAuthenticationOidcOutput
- func (o KubernetesAuthenticationOidcOutput) ClientIdSecretName() pulumi.StringOutput
- func (o KubernetesAuthenticationOidcOutput) ClientSecretSecretName() pulumi.StringPtrOutput
- func (KubernetesAuthenticationOidcOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationOidcOutput) IdentityProviderUrl() pulumi.StringOutput
- func (o KubernetesAuthenticationOidcOutput) MasterUrl() pulumi.StringOutput
- func (o KubernetesAuthenticationOidcOutput) PasswordSecretName() pulumi.StringOutput
- func (o KubernetesAuthenticationOidcOutput) Scopes() pulumi.StringArrayOutput
- func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutput() KubernetesAuthenticationOidcOutput
- func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcOutput
- func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOidcOutput) Username() pulumi.StringOutput
- type KubernetesAuthenticationOidcPtrInput
- type KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) ClientIdSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) ClientSecretSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) Elem() KubernetesAuthenticationOidcOutput
- func (KubernetesAuthenticationOidcPtrOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationOidcPtrOutput) IdentityProviderUrl() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) MasterUrl() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) PasswordSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) Scopes() pulumi.StringArrayOutput
- func (o KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOidcPtrOutput) Username() pulumi.StringPtrOutput
- type KubernetesAuthenticationOutput
- func (o KubernetesAuthenticationOutput) DelegateSelectors() pulumi.StringArrayOutput
- func (KubernetesAuthenticationOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationOutput) Oidc() KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationOutput) ServiceAccount() KubernetesAuthenticationServiceAccountPtrOutput
- func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutput() KubernetesAuthenticationOutput
- func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutputWithContext(ctx context.Context) KubernetesAuthenticationOutput
- func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
- func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
- func (o KubernetesAuthenticationOutput) UsernamePassword() KubernetesAuthenticationUsernamePasswordPtrOutput
- type KubernetesAuthenticationPtrInput
- type KubernetesAuthenticationPtrOutput
- func (o KubernetesAuthenticationPtrOutput) DelegateSelectors() pulumi.StringArrayOutput
- func (o KubernetesAuthenticationPtrOutput) Elem() KubernetesAuthenticationOutput
- func (KubernetesAuthenticationPtrOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationPtrOutput) Oidc() KubernetesAuthenticationOidcPtrOutput
- func (o KubernetesAuthenticationPtrOutput) ServiceAccount() KubernetesAuthenticationServiceAccountPtrOutput
- func (o KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
- func (o KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
- func (o KubernetesAuthenticationPtrOutput) UsernamePassword() KubernetesAuthenticationUsernamePasswordPtrOutput
- type KubernetesAuthenticationServiceAccount
- type KubernetesAuthenticationServiceAccountArgs
- func (KubernetesAuthenticationServiceAccountArgs) ElementType() reflect.Type
- func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutput() KubernetesAuthenticationServiceAccountOutput
- func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountOutput
- func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
- func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
- type KubernetesAuthenticationServiceAccountInput
- type KubernetesAuthenticationServiceAccountOutput
- func (o KubernetesAuthenticationServiceAccountOutput) CaCertificateSecretName() pulumi.StringPtrOutput
- func (KubernetesAuthenticationServiceAccountOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationServiceAccountOutput) MasterUrl() pulumi.StringOutput
- func (o KubernetesAuthenticationServiceAccountOutput) ServiceAccountTokenSecretName() pulumi.StringOutput
- func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutput() KubernetesAuthenticationServiceAccountOutput
- func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountOutput
- func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
- func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
- type KubernetesAuthenticationServiceAccountPtrInput
- type KubernetesAuthenticationServiceAccountPtrOutput
- func (o KubernetesAuthenticationServiceAccountPtrOutput) CaCertificateSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationServiceAccountPtrOutput) Elem() KubernetesAuthenticationServiceAccountOutput
- func (KubernetesAuthenticationServiceAccountPtrOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationServiceAccountPtrOutput) MasterUrl() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationServiceAccountPtrOutput) ServiceAccountTokenSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
- func (o KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
- type KubernetesAuthenticationUsernamePassword
- type KubernetesAuthenticationUsernamePasswordArgs
- func (KubernetesAuthenticationUsernamePasswordArgs) ElementType() reflect.Type
- func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutput() KubernetesAuthenticationUsernamePasswordOutput
- func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordOutput
- func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
- func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
- type KubernetesAuthenticationUsernamePasswordInput
- type KubernetesAuthenticationUsernamePasswordOutput
- func (KubernetesAuthenticationUsernamePasswordOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationUsernamePasswordOutput) MasterUrl() pulumi.StringOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) PasswordSecretName() pulumi.StringOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutput() KubernetesAuthenticationUsernamePasswordOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) Username() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordOutput) UsernameSecretName() pulumi.StringPtrOutput
- type KubernetesAuthenticationUsernamePasswordPtrInput
- type KubernetesAuthenticationUsernamePasswordPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) Elem() KubernetesAuthenticationUsernamePasswordOutput
- func (KubernetesAuthenticationUsernamePasswordPtrOutput) ElementType() reflect.Type
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) MasterUrl() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) PasswordSecretName() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) Username() pulumi.StringPtrOutput
- func (o KubernetesAuthenticationUsernamePasswordPtrOutput) UsernameSecretName() pulumi.StringPtrOutput
- type KubernetesInput
- type KubernetesMap
- type KubernetesMapInput
- type KubernetesMapOutput
- func (KubernetesMapOutput) ElementType() reflect.Type
- func (o KubernetesMapOutput) MapIndex(k pulumi.StringInput) KubernetesOutput
- func (o KubernetesMapOutput) ToKubernetesMapOutput() KubernetesMapOutput
- func (o KubernetesMapOutput) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput
- type KubernetesOutput
- func (o KubernetesOutput) Authentication() KubernetesAuthenticationOutput
- func (KubernetesOutput) ElementType() reflect.Type
- func (o KubernetesOutput) Name() pulumi.StringOutput
- func (o KubernetesOutput) SkipValidation() pulumi.BoolPtrOutput
- func (o KubernetesOutput) ToKubernetesOutput() KubernetesOutput
- func (o KubernetesOutput) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput
- func (o KubernetesOutput) UsageScopes() KubernetesUsageScopeArrayOutput
- type KubernetesState
- type KubernetesUsageScope
- type KubernetesUsageScopeArgs
- type KubernetesUsageScopeArray
- type KubernetesUsageScopeArrayInput
- type KubernetesUsageScopeArrayOutput
- func (KubernetesUsageScopeArrayOutput) ElementType() reflect.Type
- func (o KubernetesUsageScopeArrayOutput) Index(i pulumi.IntInput) KubernetesUsageScopeOutput
- func (o KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutput() KubernetesUsageScopeArrayOutput
- func (o KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutputWithContext(ctx context.Context) KubernetesUsageScopeArrayOutput
- type KubernetesUsageScopeInput
- type KubernetesUsageScopeOutput
- func (o KubernetesUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
- func (KubernetesUsageScopeOutput) ElementType() reflect.Type
- func (o KubernetesUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
- func (o KubernetesUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
- func (o KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutput() KubernetesUsageScopeOutput
- func (o KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutputWithContext(ctx context.Context) KubernetesUsageScopeOutput
- type Spot
- type SpotArgs
- type SpotArray
- type SpotArrayInput
- type SpotArrayOutput
- type SpotInput
- type SpotMap
- type SpotMapInput
- type SpotMapOutput
- type SpotOutput
- func (o SpotOutput) AccountId() pulumi.StringOutput
- func (SpotOutput) ElementType() reflect.Type
- func (o SpotOutput) Name() pulumi.StringOutput
- func (o SpotOutput) ToSpotOutput() SpotOutput
- func (o SpotOutput) ToSpotOutputWithContext(ctx context.Context) SpotOutput
- func (o SpotOutput) TokenSecretName() pulumi.StringOutput
- type SpotState
- type Tanzu
- type TanzuArgs
- type TanzuArray
- type TanzuArrayInput
- type TanzuArrayOutput
- type TanzuInput
- type TanzuMap
- type TanzuMapInput
- type TanzuMapOutput
- type TanzuOutput
- func (TanzuOutput) ElementType() reflect.Type
- func (o TanzuOutput) Endpoint() pulumi.StringOutput
- func (o TanzuOutput) Name() pulumi.StringOutput
- func (o TanzuOutput) PasswordSecretName() pulumi.StringOutput
- func (o TanzuOutput) SkipValidation() pulumi.BoolPtrOutput
- func (o TanzuOutput) ToTanzuOutput() TanzuOutput
- func (o TanzuOutput) ToTanzuOutputWithContext(ctx context.Context) TanzuOutput
- func (o TanzuOutput) Username() pulumi.StringPtrOutput
- func (o TanzuOutput) UsernameSecretName() pulumi.StringPtrOutput
- type TanzuState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aws ¶
type Aws struct { pulumi.CustomResourceState // The plain text AWS access key id. AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"` // The name of the Harness secret containing the AWS access key id AccessKeyIdSecretName pulumi.StringPtrOutput `pulumi:"accessKeyIdSecretName"` // Configuration for assuming a cross account role. AssumeCrossAccountRole AwsAssumeCrossAccountRolePtrOutput `pulumi:"assumeCrossAccountRole"` // Select the Delegate to use via one of its Selectors. DelegateSelector pulumi.StringPtrOutput `pulumi:"delegateSelector"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // The name of the Harness secret containing the AWS secret access key. SecretAccessKeySecretName pulumi.StringPtrOutput `pulumi:"secretAccessKeySecretName"` // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes AwsUsageScopeArrayOutput `pulumi:"usageScopes"` // Use the EC2 Instance Profile for Service Accounts. UseEc2IamCredentials pulumi.BoolPtrOutput `pulumi:"useEc2IamCredentials"` // Use the AWS IAM Role for Service Accounts. UseIrsa pulumi.BoolPtrOutput `pulumi:"useIrsa"` }
Resource for creating an AWS cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness" "github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := harness.GetSecretManager(ctx, &harness.GetSecretManagerArgs{ Default: pulumi.BoolRef(true), }, nil) if err != nil { return err } awsAccessKey, err := harness.NewEncryptedText(ctx, "aws_access_key", &harness.EncryptedTextArgs{ Name: pulumi.String("aws_access_key"), Value: pulumi.String("<ACCESS_KEY_ID>"), SecretManagerId: pulumi.String(_default.Id), }) if err != nil { return err } awsSecretKey, err := harness.NewEncryptedText(ctx, "aws_secret_key", &harness.EncryptedTextArgs{ Name: pulumi.String("aws_secret_key"), Value: pulumi.String("<SECRET_KEY_ID>"), SecretManagerId: pulumi.String(_default.Id), }) if err != nil { return err } _, err = cloudprovider.NewAws(ctx, "aws", &cloudprovider.AwsArgs{ Name: pulumi.String("Example aws cloud provider"), AccessKeyIdSecretName: awsAccessKey.Name, SecretAccessKeySecretName: awsSecretKey.Name, }) if err != nil { return err } return nil }) }
```
## Import
Import using the Harness aws cloud provider id.
```sh $ pulumi import harness:cloudprovider/aws:Aws example <provider_id> ```
func GetAws ¶
func GetAws(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AwsState, opts ...pulumi.ResourceOption) (*Aws, error)
GetAws gets an existing Aws 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 NewAws ¶
func NewAws(ctx *pulumi.Context, name string, args *AwsArgs, opts ...pulumi.ResourceOption) (*Aws, error)
NewAws registers a new resource with the given unique name, arguments, and options.
func (*Aws) ElementType ¶
func (*Aws) ToAwsOutput ¶
type AwsArgs ¶
type AwsArgs struct { // The plain text AWS access key id. AccessKeyId pulumi.StringPtrInput // The name of the Harness secret containing the AWS access key id AccessKeyIdSecretName pulumi.StringPtrInput // Configuration for assuming a cross account role. AssumeCrossAccountRole AwsAssumeCrossAccountRolePtrInput // Select the Delegate to use via one of its Selectors. DelegateSelector pulumi.StringPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the AWS secret access key. SecretAccessKeySecretName pulumi.StringPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes AwsUsageScopeArrayInput // Use the EC2 Instance Profile for Service Accounts. UseEc2IamCredentials pulumi.BoolPtrInput // Use the AWS IAM Role for Service Accounts. UseIrsa pulumi.BoolPtrInput }
The set of arguments for constructing a Aws resource.
func (AwsArgs) ElementType ¶
type AwsArray ¶
type AwsArray []AwsInput
func (AwsArray) ElementType ¶
func (AwsArray) ToAwsArrayOutput ¶
func (i AwsArray) ToAwsArrayOutput() AwsArrayOutput
func (AwsArray) ToAwsArrayOutputWithContext ¶
func (i AwsArray) ToAwsArrayOutputWithContext(ctx context.Context) AwsArrayOutput
type AwsArrayInput ¶
type AwsArrayInput interface { pulumi.Input ToAwsArrayOutput() AwsArrayOutput ToAwsArrayOutputWithContext(context.Context) AwsArrayOutput }
AwsArrayInput is an input type that accepts AwsArray and AwsArrayOutput values. You can construct a concrete instance of `AwsArrayInput` via:
AwsArray{ AwsArgs{...} }
type AwsArrayOutput ¶
type AwsArrayOutput struct{ *pulumi.OutputState }
func (AwsArrayOutput) ElementType ¶
func (AwsArrayOutput) ElementType() reflect.Type
func (AwsArrayOutput) ToAwsArrayOutput ¶
func (o AwsArrayOutput) ToAwsArrayOutput() AwsArrayOutput
func (AwsArrayOutput) ToAwsArrayOutputWithContext ¶
func (o AwsArrayOutput) ToAwsArrayOutputWithContext(ctx context.Context) AwsArrayOutput
type AwsAssumeCrossAccountRoleArgs ¶
type AwsAssumeCrossAccountRoleArgs struct { // If the administrator of the account to which the role belongs provided you with an external ID, then enter that value. ExternalId pulumi.StringPtrInput `pulumi:"externalId"` // This is an IAM role in the target deployment AWS account. RoleArn pulumi.StringInput `pulumi:"roleArn"` }
func (AwsAssumeCrossAccountRoleArgs) ElementType ¶
func (AwsAssumeCrossAccountRoleArgs) ElementType() reflect.Type
func (AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutput ¶
func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutput() AwsAssumeCrossAccountRoleOutput
func (AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutputWithContext ¶
func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRoleOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRoleOutput
func (AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutput ¶
func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
func (AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutputWithContext ¶
func (i AwsAssumeCrossAccountRoleArgs) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
type AwsAssumeCrossAccountRoleInput ¶
type AwsAssumeCrossAccountRoleInput interface { pulumi.Input ToAwsAssumeCrossAccountRoleOutput() AwsAssumeCrossAccountRoleOutput ToAwsAssumeCrossAccountRoleOutputWithContext(context.Context) AwsAssumeCrossAccountRoleOutput }
AwsAssumeCrossAccountRoleInput is an input type that accepts AwsAssumeCrossAccountRoleArgs and AwsAssumeCrossAccountRoleOutput values. You can construct a concrete instance of `AwsAssumeCrossAccountRoleInput` via:
AwsAssumeCrossAccountRoleArgs{...}
type AwsAssumeCrossAccountRoleOutput ¶
type AwsAssumeCrossAccountRoleOutput struct{ *pulumi.OutputState }
func (AwsAssumeCrossAccountRoleOutput) ElementType ¶
func (AwsAssumeCrossAccountRoleOutput) ElementType() reflect.Type
func (AwsAssumeCrossAccountRoleOutput) ExternalId ¶
func (o AwsAssumeCrossAccountRoleOutput) ExternalId() pulumi.StringPtrOutput
If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
func (AwsAssumeCrossAccountRoleOutput) RoleArn ¶
func (o AwsAssumeCrossAccountRoleOutput) RoleArn() pulumi.StringOutput
This is an IAM role in the target deployment AWS account.
func (AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutput ¶
func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutput() AwsAssumeCrossAccountRoleOutput
func (AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutputWithContext ¶
func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRoleOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRoleOutput
func (AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutput ¶
func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
func (AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext ¶
func (o AwsAssumeCrossAccountRoleOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
type AwsAssumeCrossAccountRolePtrInput ¶
type AwsAssumeCrossAccountRolePtrInput interface { pulumi.Input ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput ToAwsAssumeCrossAccountRolePtrOutputWithContext(context.Context) AwsAssumeCrossAccountRolePtrOutput }
AwsAssumeCrossAccountRolePtrInput is an input type that accepts AwsAssumeCrossAccountRoleArgs, AwsAssumeCrossAccountRolePtr and AwsAssumeCrossAccountRolePtrOutput values. You can construct a concrete instance of `AwsAssumeCrossAccountRolePtrInput` via:
AwsAssumeCrossAccountRoleArgs{...} or: nil
func AwsAssumeCrossAccountRolePtr ¶
func AwsAssumeCrossAccountRolePtr(v *AwsAssumeCrossAccountRoleArgs) AwsAssumeCrossAccountRolePtrInput
type AwsAssumeCrossAccountRolePtrOutput ¶
type AwsAssumeCrossAccountRolePtrOutput struct{ *pulumi.OutputState }
func (AwsAssumeCrossAccountRolePtrOutput) Elem ¶
func (o AwsAssumeCrossAccountRolePtrOutput) Elem() AwsAssumeCrossAccountRoleOutput
func (AwsAssumeCrossAccountRolePtrOutput) ElementType ¶
func (AwsAssumeCrossAccountRolePtrOutput) ElementType() reflect.Type
func (AwsAssumeCrossAccountRolePtrOutput) ExternalId ¶
func (o AwsAssumeCrossAccountRolePtrOutput) ExternalId() pulumi.StringPtrOutput
If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
func (AwsAssumeCrossAccountRolePtrOutput) RoleArn ¶
func (o AwsAssumeCrossAccountRolePtrOutput) RoleArn() pulumi.StringPtrOutput
This is an IAM role in the target deployment AWS account.
func (AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutput ¶
func (o AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutput() AwsAssumeCrossAccountRolePtrOutput
func (AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext ¶
func (o AwsAssumeCrossAccountRolePtrOutput) ToAwsAssumeCrossAccountRolePtrOutputWithContext(ctx context.Context) AwsAssumeCrossAccountRolePtrOutput
type AwsMap ¶
func (AwsMap) ElementType ¶
func (AwsMap) ToAwsMapOutput ¶
func (i AwsMap) ToAwsMapOutput() AwsMapOutput
func (AwsMap) ToAwsMapOutputWithContext ¶
func (i AwsMap) ToAwsMapOutputWithContext(ctx context.Context) AwsMapOutput
type AwsMapInput ¶
type AwsMapInput interface { pulumi.Input ToAwsMapOutput() AwsMapOutput ToAwsMapOutputWithContext(context.Context) AwsMapOutput }
AwsMapInput is an input type that accepts AwsMap and AwsMapOutput values. You can construct a concrete instance of `AwsMapInput` via:
AwsMap{ "key": AwsArgs{...} }
type AwsMapOutput ¶
type AwsMapOutput struct{ *pulumi.OutputState }
func (AwsMapOutput) ElementType ¶
func (AwsMapOutput) ElementType() reflect.Type
func (AwsMapOutput) MapIndex ¶
func (o AwsMapOutput) MapIndex(k pulumi.StringInput) AwsOutput
func (AwsMapOutput) ToAwsMapOutput ¶
func (o AwsMapOutput) ToAwsMapOutput() AwsMapOutput
func (AwsMapOutput) ToAwsMapOutputWithContext ¶
func (o AwsMapOutput) ToAwsMapOutputWithContext(ctx context.Context) AwsMapOutput
type AwsOutput ¶
type AwsOutput struct{ *pulumi.OutputState }
func (AwsOutput) AccessKeyId ¶
func (o AwsOutput) AccessKeyId() pulumi.StringPtrOutput
The plain text AWS access key id.
func (AwsOutput) AccessKeyIdSecretName ¶
func (o AwsOutput) AccessKeyIdSecretName() pulumi.StringPtrOutput
The name of the Harness secret containing the AWS access key id
func (AwsOutput) AssumeCrossAccountRole ¶
func (o AwsOutput) AssumeCrossAccountRole() AwsAssumeCrossAccountRolePtrOutput
Configuration for assuming a cross account role.
func (AwsOutput) DelegateSelector ¶
func (o AwsOutput) DelegateSelector() pulumi.StringPtrOutput
Select the Delegate to use via one of its Selectors.
func (AwsOutput) ElementType ¶
func (AwsOutput) Name ¶
func (o AwsOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (AwsOutput) SecretAccessKeySecretName ¶
func (o AwsOutput) SecretAccessKeySecretName() pulumi.StringPtrOutput
The name of the Harness secret containing the AWS secret access key.
func (AwsOutput) ToAwsOutput ¶
func (AwsOutput) ToAwsOutputWithContext ¶
func (AwsOutput) UsageScopes ¶
func (o AwsOutput) UsageScopes() AwsUsageScopeArrayOutput
This block is used for scoping the resource to a specific set of applications or environments.
func (AwsOutput) UseEc2IamCredentials ¶
func (o AwsOutput) UseEc2IamCredentials() pulumi.BoolPtrOutput
Use the EC2 Instance Profile for Service Accounts.
func (AwsOutput) UseIrsa ¶
func (o AwsOutput) UseIrsa() pulumi.BoolPtrOutput
Use the AWS IAM Role for Service Accounts.
type AwsState ¶
type AwsState struct { // The plain text AWS access key id. AccessKeyId pulumi.StringPtrInput // The name of the Harness secret containing the AWS access key id AccessKeyIdSecretName pulumi.StringPtrInput // Configuration for assuming a cross account role. AssumeCrossAccountRole AwsAssumeCrossAccountRolePtrInput // Select the Delegate to use via one of its Selectors. DelegateSelector pulumi.StringPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the AWS secret access key. SecretAccessKeySecretName pulumi.StringPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes AwsUsageScopeArrayInput // Use the EC2 Instance Profile for Service Accounts. UseEc2IamCredentials pulumi.BoolPtrInput // Use the AWS IAM Role for Service Accounts. UseIrsa pulumi.BoolPtrInput }
func (AwsState) ElementType ¶
type AwsUsageScope ¶
type AwsUsageScope struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId *string `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType *string `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId *string `pulumi:"environmentId"` }
type AwsUsageScopeArgs ¶
type AwsUsageScopeArgs struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType pulumi.StringPtrInput `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId pulumi.StringPtrInput `pulumi:"environmentId"` }
func (AwsUsageScopeArgs) ElementType ¶
func (AwsUsageScopeArgs) ElementType() reflect.Type
func (AwsUsageScopeArgs) ToAwsUsageScopeOutput ¶
func (i AwsUsageScopeArgs) ToAwsUsageScopeOutput() AwsUsageScopeOutput
func (AwsUsageScopeArgs) ToAwsUsageScopeOutputWithContext ¶
func (i AwsUsageScopeArgs) ToAwsUsageScopeOutputWithContext(ctx context.Context) AwsUsageScopeOutput
type AwsUsageScopeArray ¶
type AwsUsageScopeArray []AwsUsageScopeInput
func (AwsUsageScopeArray) ElementType ¶
func (AwsUsageScopeArray) ElementType() reflect.Type
func (AwsUsageScopeArray) ToAwsUsageScopeArrayOutput ¶
func (i AwsUsageScopeArray) ToAwsUsageScopeArrayOutput() AwsUsageScopeArrayOutput
func (AwsUsageScopeArray) ToAwsUsageScopeArrayOutputWithContext ¶
func (i AwsUsageScopeArray) ToAwsUsageScopeArrayOutputWithContext(ctx context.Context) AwsUsageScopeArrayOutput
type AwsUsageScopeArrayInput ¶
type AwsUsageScopeArrayInput interface { pulumi.Input ToAwsUsageScopeArrayOutput() AwsUsageScopeArrayOutput ToAwsUsageScopeArrayOutputWithContext(context.Context) AwsUsageScopeArrayOutput }
AwsUsageScopeArrayInput is an input type that accepts AwsUsageScopeArray and AwsUsageScopeArrayOutput values. You can construct a concrete instance of `AwsUsageScopeArrayInput` via:
AwsUsageScopeArray{ AwsUsageScopeArgs{...} }
type AwsUsageScopeArrayOutput ¶
type AwsUsageScopeArrayOutput struct{ *pulumi.OutputState }
func (AwsUsageScopeArrayOutput) ElementType ¶
func (AwsUsageScopeArrayOutput) ElementType() reflect.Type
func (AwsUsageScopeArrayOutput) Index ¶
func (o AwsUsageScopeArrayOutput) Index(i pulumi.IntInput) AwsUsageScopeOutput
func (AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutput ¶
func (o AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutput() AwsUsageScopeArrayOutput
func (AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutputWithContext ¶
func (o AwsUsageScopeArrayOutput) ToAwsUsageScopeArrayOutputWithContext(ctx context.Context) AwsUsageScopeArrayOutput
type AwsUsageScopeInput ¶
type AwsUsageScopeInput interface { pulumi.Input ToAwsUsageScopeOutput() AwsUsageScopeOutput ToAwsUsageScopeOutputWithContext(context.Context) AwsUsageScopeOutput }
AwsUsageScopeInput is an input type that accepts AwsUsageScopeArgs and AwsUsageScopeOutput values. You can construct a concrete instance of `AwsUsageScopeInput` via:
AwsUsageScopeArgs{...}
type AwsUsageScopeOutput ¶
type AwsUsageScopeOutput struct{ *pulumi.OutputState }
func (AwsUsageScopeOutput) ApplicationId ¶
func (o AwsUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
Id of the application to scope to. If empty then this scope applies to all applications.
func (AwsUsageScopeOutput) ElementType ¶
func (AwsUsageScopeOutput) ElementType() reflect.Type
func (AwsUsageScopeOutput) EnvironmentFilterType ¶
func (o AwsUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
func (AwsUsageScopeOutput) EnvironmentId ¶
func (o AwsUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`.
func (AwsUsageScopeOutput) ToAwsUsageScopeOutput ¶
func (o AwsUsageScopeOutput) ToAwsUsageScopeOutput() AwsUsageScopeOutput
func (AwsUsageScopeOutput) ToAwsUsageScopeOutputWithContext ¶
func (o AwsUsageScopeOutput) ToAwsUsageScopeOutputWithContext(ctx context.Context) AwsUsageScopeOutput
type Azure ¶
type Azure struct { pulumi.CustomResourceState // The client id for the Azure application ClientId pulumi.StringOutput `pulumi:"clientId"` // The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] EnvironmentType pulumi.StringPtrOutput `pulumi:"environmentType"` // The Name of the Harness secret containing the key for the Azure application Key pulumi.StringOutput `pulumi:"key"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // The tenant id for the Azure application TenantId pulumi.StringOutput `pulumi:"tenantId"` }
Resource for creating an Azure cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness" "github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := harness.GetSecretManager(ctx, &harness.GetSecretManagerArgs{ Default: pulumi.BoolRef(true), }, nil) if err != nil { return err } azureKey, err := harness.NewEncryptedText(ctx, "azure_key", &harness.EncryptedTextArgs{ Name: pulumi.String("azure_key"), Value: pulumi.String("<AZURE_KEY>"), SecretManagerId: pulumi.String(_default.Id), }) if err != nil { return err } _, err = cloudprovider.NewAzure(ctx, "azure", &cloudprovider.AzureArgs{ Name: pulumi.String("azure"), ClientId: pulumi.String("<AZURE_CLIENT_ID>"), TenantId: pulumi.String("<AZURE_TENANT_ID>"), Key: azureKey.Name, }) if err != nil { return err } return nil }) }
```
## Import
Import using the Harness azure cloud provider id.
```sh $ pulumi import harness:cloudprovider/azure:Azure example <provider_id> ```
func GetAzure ¶
func GetAzure(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AzureState, opts ...pulumi.ResourceOption) (*Azure, error)
GetAzure gets an existing Azure 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 NewAzure ¶
func NewAzure(ctx *pulumi.Context, name string, args *AzureArgs, opts ...pulumi.ResourceOption) (*Azure, error)
NewAzure registers a new resource with the given unique name, arguments, and options.
func (*Azure) ElementType ¶
func (*Azure) ToAzureOutput ¶
func (i *Azure) ToAzureOutput() AzureOutput
func (*Azure) ToAzureOutputWithContext ¶
func (i *Azure) ToAzureOutputWithContext(ctx context.Context) AzureOutput
type AzureArgs ¶
type AzureArgs struct { // The client id for the Azure application ClientId pulumi.StringInput // The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] EnvironmentType pulumi.StringPtrInput // The Name of the Harness secret containing the key for the Azure application Key pulumi.StringInput // The name of the cloud provider. Name pulumi.StringPtrInput // The tenant id for the Azure application TenantId pulumi.StringInput }
The set of arguments for constructing a Azure resource.
func (AzureArgs) ElementType ¶
type AzureArray ¶
type AzureArray []AzureInput
func (AzureArray) ElementType ¶
func (AzureArray) ElementType() reflect.Type
func (AzureArray) ToAzureArrayOutput ¶
func (i AzureArray) ToAzureArrayOutput() AzureArrayOutput
func (AzureArray) ToAzureArrayOutputWithContext ¶
func (i AzureArray) ToAzureArrayOutputWithContext(ctx context.Context) AzureArrayOutput
type AzureArrayInput ¶
type AzureArrayInput interface { pulumi.Input ToAzureArrayOutput() AzureArrayOutput ToAzureArrayOutputWithContext(context.Context) AzureArrayOutput }
AzureArrayInput is an input type that accepts AzureArray and AzureArrayOutput values. You can construct a concrete instance of `AzureArrayInput` via:
AzureArray{ AzureArgs{...} }
type AzureArrayOutput ¶
type AzureArrayOutput struct{ *pulumi.OutputState }
func (AzureArrayOutput) ElementType ¶
func (AzureArrayOutput) ElementType() reflect.Type
func (AzureArrayOutput) Index ¶
func (o AzureArrayOutput) Index(i pulumi.IntInput) AzureOutput
func (AzureArrayOutput) ToAzureArrayOutput ¶
func (o AzureArrayOutput) ToAzureArrayOutput() AzureArrayOutput
func (AzureArrayOutput) ToAzureArrayOutputWithContext ¶
func (o AzureArrayOutput) ToAzureArrayOutputWithContext(ctx context.Context) AzureArrayOutput
type AzureInput ¶
type AzureInput interface { pulumi.Input ToAzureOutput() AzureOutput ToAzureOutputWithContext(ctx context.Context) AzureOutput }
type AzureMap ¶
type AzureMap map[string]AzureInput
func (AzureMap) ElementType ¶
func (AzureMap) ToAzureMapOutput ¶
func (i AzureMap) ToAzureMapOutput() AzureMapOutput
func (AzureMap) ToAzureMapOutputWithContext ¶
func (i AzureMap) ToAzureMapOutputWithContext(ctx context.Context) AzureMapOutput
type AzureMapInput ¶
type AzureMapInput interface { pulumi.Input ToAzureMapOutput() AzureMapOutput ToAzureMapOutputWithContext(context.Context) AzureMapOutput }
AzureMapInput is an input type that accepts AzureMap and AzureMapOutput values. You can construct a concrete instance of `AzureMapInput` via:
AzureMap{ "key": AzureArgs{...} }
type AzureMapOutput ¶
type AzureMapOutput struct{ *pulumi.OutputState }
func (AzureMapOutput) ElementType ¶
func (AzureMapOutput) ElementType() reflect.Type
func (AzureMapOutput) MapIndex ¶
func (o AzureMapOutput) MapIndex(k pulumi.StringInput) AzureOutput
func (AzureMapOutput) ToAzureMapOutput ¶
func (o AzureMapOutput) ToAzureMapOutput() AzureMapOutput
func (AzureMapOutput) ToAzureMapOutputWithContext ¶
func (o AzureMapOutput) ToAzureMapOutputWithContext(ctx context.Context) AzureMapOutput
type AzureOutput ¶
type AzureOutput struct{ *pulumi.OutputState }
func (AzureOutput) ClientId ¶
func (o AzureOutput) ClientId() pulumi.StringOutput
The client id for the Azure application
func (AzureOutput) ElementType ¶
func (AzureOutput) ElementType() reflect.Type
func (AzureOutput) EnvironmentType ¶
func (o AzureOutput) EnvironmentType() pulumi.StringPtrOutput
The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT]
func (AzureOutput) Key ¶
func (o AzureOutput) Key() pulumi.StringOutput
The Name of the Harness secret containing the key for the Azure application
func (AzureOutput) Name ¶
func (o AzureOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (AzureOutput) TenantId ¶
func (o AzureOutput) TenantId() pulumi.StringOutput
The tenant id for the Azure application
func (AzureOutput) ToAzureOutput ¶
func (o AzureOutput) ToAzureOutput() AzureOutput
func (AzureOutput) ToAzureOutputWithContext ¶
func (o AzureOutput) ToAzureOutputWithContext(ctx context.Context) AzureOutput
type AzureState ¶
type AzureState struct { // The client id for the Azure application ClientId pulumi.StringPtrInput // The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] EnvironmentType pulumi.StringPtrInput // The Name of the Harness secret containing the key for the Azure application Key pulumi.StringPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // The tenant id for the Azure application TenantId pulumi.StringPtrInput }
func (AzureState) ElementType ¶
func (AzureState) ElementType() reflect.Type
type Datacenter ¶
type Datacenter struct { pulumi.CustomResourceState // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes DatacenterUsageScopeArrayOutput `pulumi:"usageScopes"` }
Resource for creating a physical data center cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudprovider.NewDatacenter(ctx, "example", &cloudprovider.DatacenterArgs{ Name: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Import using the Harness datacenter cloud provider id.
```sh $ pulumi import harness:cloudprovider/datacenter:Datacenter example <provider_id> ```
func GetDatacenter ¶
func GetDatacenter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatacenterState, opts ...pulumi.ResourceOption) (*Datacenter, error)
GetDatacenter gets an existing Datacenter 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 NewDatacenter ¶
func NewDatacenter(ctx *pulumi.Context, name string, args *DatacenterArgs, opts ...pulumi.ResourceOption) (*Datacenter, error)
NewDatacenter registers a new resource with the given unique name, arguments, and options.
func (*Datacenter) ElementType ¶
func (*Datacenter) ElementType() reflect.Type
func (*Datacenter) ToDatacenterOutput ¶
func (i *Datacenter) ToDatacenterOutput() DatacenterOutput
func (*Datacenter) ToDatacenterOutputWithContext ¶
func (i *Datacenter) ToDatacenterOutputWithContext(ctx context.Context) DatacenterOutput
type DatacenterArgs ¶
type DatacenterArgs struct { // The name of the cloud provider. Name pulumi.StringPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes DatacenterUsageScopeArrayInput }
The set of arguments for constructing a Datacenter resource.
func (DatacenterArgs) ElementType ¶
func (DatacenterArgs) ElementType() reflect.Type
type DatacenterArray ¶
type DatacenterArray []DatacenterInput
func (DatacenterArray) ElementType ¶
func (DatacenterArray) ElementType() reflect.Type
func (DatacenterArray) ToDatacenterArrayOutput ¶
func (i DatacenterArray) ToDatacenterArrayOutput() DatacenterArrayOutput
func (DatacenterArray) ToDatacenterArrayOutputWithContext ¶
func (i DatacenterArray) ToDatacenterArrayOutputWithContext(ctx context.Context) DatacenterArrayOutput
type DatacenterArrayInput ¶
type DatacenterArrayInput interface { pulumi.Input ToDatacenterArrayOutput() DatacenterArrayOutput ToDatacenterArrayOutputWithContext(context.Context) DatacenterArrayOutput }
DatacenterArrayInput is an input type that accepts DatacenterArray and DatacenterArrayOutput values. You can construct a concrete instance of `DatacenterArrayInput` via:
DatacenterArray{ DatacenterArgs{...} }
type DatacenterArrayOutput ¶
type DatacenterArrayOutput struct{ *pulumi.OutputState }
func (DatacenterArrayOutput) ElementType ¶
func (DatacenterArrayOutput) ElementType() reflect.Type
func (DatacenterArrayOutput) Index ¶
func (o DatacenterArrayOutput) Index(i pulumi.IntInput) DatacenterOutput
func (DatacenterArrayOutput) ToDatacenterArrayOutput ¶
func (o DatacenterArrayOutput) ToDatacenterArrayOutput() DatacenterArrayOutput
func (DatacenterArrayOutput) ToDatacenterArrayOutputWithContext ¶
func (o DatacenterArrayOutput) ToDatacenterArrayOutputWithContext(ctx context.Context) DatacenterArrayOutput
type DatacenterInput ¶
type DatacenterInput interface { pulumi.Input ToDatacenterOutput() DatacenterOutput ToDatacenterOutputWithContext(ctx context.Context) DatacenterOutput }
type DatacenterMap ¶
type DatacenterMap map[string]DatacenterInput
func (DatacenterMap) ElementType ¶
func (DatacenterMap) ElementType() reflect.Type
func (DatacenterMap) ToDatacenterMapOutput ¶
func (i DatacenterMap) ToDatacenterMapOutput() DatacenterMapOutput
func (DatacenterMap) ToDatacenterMapOutputWithContext ¶
func (i DatacenterMap) ToDatacenterMapOutputWithContext(ctx context.Context) DatacenterMapOutput
type DatacenterMapInput ¶
type DatacenterMapInput interface { pulumi.Input ToDatacenterMapOutput() DatacenterMapOutput ToDatacenterMapOutputWithContext(context.Context) DatacenterMapOutput }
DatacenterMapInput is an input type that accepts DatacenterMap and DatacenterMapOutput values. You can construct a concrete instance of `DatacenterMapInput` via:
DatacenterMap{ "key": DatacenterArgs{...} }
type DatacenterMapOutput ¶
type DatacenterMapOutput struct{ *pulumi.OutputState }
func (DatacenterMapOutput) ElementType ¶
func (DatacenterMapOutput) ElementType() reflect.Type
func (DatacenterMapOutput) MapIndex ¶
func (o DatacenterMapOutput) MapIndex(k pulumi.StringInput) DatacenterOutput
func (DatacenterMapOutput) ToDatacenterMapOutput ¶
func (o DatacenterMapOutput) ToDatacenterMapOutput() DatacenterMapOutput
func (DatacenterMapOutput) ToDatacenterMapOutputWithContext ¶
func (o DatacenterMapOutput) ToDatacenterMapOutputWithContext(ctx context.Context) DatacenterMapOutput
type DatacenterOutput ¶
type DatacenterOutput struct{ *pulumi.OutputState }
func (DatacenterOutput) ElementType ¶
func (DatacenterOutput) ElementType() reflect.Type
func (DatacenterOutput) Name ¶
func (o DatacenterOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (DatacenterOutput) ToDatacenterOutput ¶
func (o DatacenterOutput) ToDatacenterOutput() DatacenterOutput
func (DatacenterOutput) ToDatacenterOutputWithContext ¶
func (o DatacenterOutput) ToDatacenterOutputWithContext(ctx context.Context) DatacenterOutput
func (DatacenterOutput) UsageScopes ¶
func (o DatacenterOutput) UsageScopes() DatacenterUsageScopeArrayOutput
This block is used for scoping the resource to a specific set of applications or environments.
type DatacenterState ¶
type DatacenterState struct { // The name of the cloud provider. Name pulumi.StringPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes DatacenterUsageScopeArrayInput }
func (DatacenterState) ElementType ¶
func (DatacenterState) ElementType() reflect.Type
type DatacenterUsageScope ¶
type DatacenterUsageScope struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId *string `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType *string `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId *string `pulumi:"environmentId"` }
type DatacenterUsageScopeArgs ¶
type DatacenterUsageScopeArgs struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType pulumi.StringPtrInput `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId pulumi.StringPtrInput `pulumi:"environmentId"` }
func (DatacenterUsageScopeArgs) ElementType ¶
func (DatacenterUsageScopeArgs) ElementType() reflect.Type
func (DatacenterUsageScopeArgs) ToDatacenterUsageScopeOutput ¶
func (i DatacenterUsageScopeArgs) ToDatacenterUsageScopeOutput() DatacenterUsageScopeOutput
func (DatacenterUsageScopeArgs) ToDatacenterUsageScopeOutputWithContext ¶
func (i DatacenterUsageScopeArgs) ToDatacenterUsageScopeOutputWithContext(ctx context.Context) DatacenterUsageScopeOutput
type DatacenterUsageScopeArray ¶
type DatacenterUsageScopeArray []DatacenterUsageScopeInput
func (DatacenterUsageScopeArray) ElementType ¶
func (DatacenterUsageScopeArray) ElementType() reflect.Type
func (DatacenterUsageScopeArray) ToDatacenterUsageScopeArrayOutput ¶
func (i DatacenterUsageScopeArray) ToDatacenterUsageScopeArrayOutput() DatacenterUsageScopeArrayOutput
func (DatacenterUsageScopeArray) ToDatacenterUsageScopeArrayOutputWithContext ¶
func (i DatacenterUsageScopeArray) ToDatacenterUsageScopeArrayOutputWithContext(ctx context.Context) DatacenterUsageScopeArrayOutput
type DatacenterUsageScopeArrayInput ¶
type DatacenterUsageScopeArrayInput interface { pulumi.Input ToDatacenterUsageScopeArrayOutput() DatacenterUsageScopeArrayOutput ToDatacenterUsageScopeArrayOutputWithContext(context.Context) DatacenterUsageScopeArrayOutput }
DatacenterUsageScopeArrayInput is an input type that accepts DatacenterUsageScopeArray and DatacenterUsageScopeArrayOutput values. You can construct a concrete instance of `DatacenterUsageScopeArrayInput` via:
DatacenterUsageScopeArray{ DatacenterUsageScopeArgs{...} }
type DatacenterUsageScopeArrayOutput ¶
type DatacenterUsageScopeArrayOutput struct{ *pulumi.OutputState }
func (DatacenterUsageScopeArrayOutput) ElementType ¶
func (DatacenterUsageScopeArrayOutput) ElementType() reflect.Type
func (DatacenterUsageScopeArrayOutput) Index ¶
func (o DatacenterUsageScopeArrayOutput) Index(i pulumi.IntInput) DatacenterUsageScopeOutput
func (DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutput ¶
func (o DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutput() DatacenterUsageScopeArrayOutput
func (DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutputWithContext ¶
func (o DatacenterUsageScopeArrayOutput) ToDatacenterUsageScopeArrayOutputWithContext(ctx context.Context) DatacenterUsageScopeArrayOutput
type DatacenterUsageScopeInput ¶
type DatacenterUsageScopeInput interface { pulumi.Input ToDatacenterUsageScopeOutput() DatacenterUsageScopeOutput ToDatacenterUsageScopeOutputWithContext(context.Context) DatacenterUsageScopeOutput }
DatacenterUsageScopeInput is an input type that accepts DatacenterUsageScopeArgs and DatacenterUsageScopeOutput values. You can construct a concrete instance of `DatacenterUsageScopeInput` via:
DatacenterUsageScopeArgs{...}
type DatacenterUsageScopeOutput ¶
type DatacenterUsageScopeOutput struct{ *pulumi.OutputState }
func (DatacenterUsageScopeOutput) ApplicationId ¶
func (o DatacenterUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
Id of the application to scope to. If empty then this scope applies to all applications.
func (DatacenterUsageScopeOutput) ElementType ¶
func (DatacenterUsageScopeOutput) ElementType() reflect.Type
func (DatacenterUsageScopeOutput) EnvironmentFilterType ¶
func (o DatacenterUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
func (DatacenterUsageScopeOutput) EnvironmentId ¶
func (o DatacenterUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`.
func (DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutput ¶
func (o DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutput() DatacenterUsageScopeOutput
func (DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutputWithContext ¶
func (o DatacenterUsageScopeOutput) ToDatacenterUsageScopeOutputWithContext(ctx context.Context) DatacenterUsageScopeOutput
type Gcp ¶
type Gcp struct { pulumi.CustomResourceState // Delegate selectors to use for this provider. DelegateSelectors pulumi.StringArrayOutput `pulumi:"delegateSelectors"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // The id of the secret containing the GCP credentials SecretFileId pulumi.StringPtrOutput `pulumi:"secretFileId"` // Skip validation of GCP configuration. SkipValidation pulumi.BoolPtrOutput `pulumi:"skipValidation"` // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes GcpUsageScopeArrayOutput `pulumi:"usageScopes"` }
Resource for creating a GCP cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
func GetGcp ¶
func GetGcp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GcpState, opts ...pulumi.ResourceOption) (*Gcp, error)
GetGcp gets an existing Gcp 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 NewGcp ¶
func NewGcp(ctx *pulumi.Context, name string, args *GcpArgs, opts ...pulumi.ResourceOption) (*Gcp, error)
NewGcp registers a new resource with the given unique name, arguments, and options.
func (*Gcp) ElementType ¶
func (*Gcp) ToGcpOutput ¶
type GcpArgs ¶
type GcpArgs struct { // Delegate selectors to use for this provider. DelegateSelectors pulumi.StringArrayInput // The name of the cloud provider. Name pulumi.StringPtrInput // The id of the secret containing the GCP credentials SecretFileId pulumi.StringPtrInput // Skip validation of GCP configuration. SkipValidation pulumi.BoolPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes GcpUsageScopeArrayInput }
The set of arguments for constructing a Gcp resource.
func (GcpArgs) ElementType ¶
type GcpArray ¶
type GcpArray []GcpInput
func (GcpArray) ElementType ¶
func (GcpArray) ToGcpArrayOutput ¶
func (i GcpArray) ToGcpArrayOutput() GcpArrayOutput
func (GcpArray) ToGcpArrayOutputWithContext ¶
func (i GcpArray) ToGcpArrayOutputWithContext(ctx context.Context) GcpArrayOutput
type GcpArrayInput ¶
type GcpArrayInput interface { pulumi.Input ToGcpArrayOutput() GcpArrayOutput ToGcpArrayOutputWithContext(context.Context) GcpArrayOutput }
GcpArrayInput is an input type that accepts GcpArray and GcpArrayOutput values. You can construct a concrete instance of `GcpArrayInput` via:
GcpArray{ GcpArgs{...} }
type GcpArrayOutput ¶
type GcpArrayOutput struct{ *pulumi.OutputState }
func (GcpArrayOutput) ElementType ¶
func (GcpArrayOutput) ElementType() reflect.Type
func (GcpArrayOutput) ToGcpArrayOutput ¶
func (o GcpArrayOutput) ToGcpArrayOutput() GcpArrayOutput
func (GcpArrayOutput) ToGcpArrayOutputWithContext ¶
func (o GcpArrayOutput) ToGcpArrayOutputWithContext(ctx context.Context) GcpArrayOutput
type GcpMap ¶
func (GcpMap) ElementType ¶
func (GcpMap) ToGcpMapOutput ¶
func (i GcpMap) ToGcpMapOutput() GcpMapOutput
func (GcpMap) ToGcpMapOutputWithContext ¶
func (i GcpMap) ToGcpMapOutputWithContext(ctx context.Context) GcpMapOutput
type GcpMapInput ¶
type GcpMapInput interface { pulumi.Input ToGcpMapOutput() GcpMapOutput ToGcpMapOutputWithContext(context.Context) GcpMapOutput }
GcpMapInput is an input type that accepts GcpMap and GcpMapOutput values. You can construct a concrete instance of `GcpMapInput` via:
GcpMap{ "key": GcpArgs{...} }
type GcpMapOutput ¶
type GcpMapOutput struct{ *pulumi.OutputState }
func (GcpMapOutput) ElementType ¶
func (GcpMapOutput) ElementType() reflect.Type
func (GcpMapOutput) MapIndex ¶
func (o GcpMapOutput) MapIndex(k pulumi.StringInput) GcpOutput
func (GcpMapOutput) ToGcpMapOutput ¶
func (o GcpMapOutput) ToGcpMapOutput() GcpMapOutput
func (GcpMapOutput) ToGcpMapOutputWithContext ¶
func (o GcpMapOutput) ToGcpMapOutputWithContext(ctx context.Context) GcpMapOutput
type GcpOutput ¶
type GcpOutput struct{ *pulumi.OutputState }
func (GcpOutput) DelegateSelectors ¶
func (o GcpOutput) DelegateSelectors() pulumi.StringArrayOutput
Delegate selectors to use for this provider.
func (GcpOutput) ElementType ¶
func (GcpOutput) Name ¶
func (o GcpOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (GcpOutput) SecretFileId ¶
func (o GcpOutput) SecretFileId() pulumi.StringPtrOutput
The id of the secret containing the GCP credentials
func (GcpOutput) SkipValidation ¶
func (o GcpOutput) SkipValidation() pulumi.BoolPtrOutput
Skip validation of GCP configuration.
func (GcpOutput) ToGcpOutput ¶
func (GcpOutput) ToGcpOutputWithContext ¶
func (GcpOutput) UsageScopes ¶
func (o GcpOutput) UsageScopes() GcpUsageScopeArrayOutput
This block is used for scoping the resource to a specific set of applications or environments.
type GcpState ¶
type GcpState struct { // Delegate selectors to use for this provider. DelegateSelectors pulumi.StringArrayInput // The name of the cloud provider. Name pulumi.StringPtrInput // The id of the secret containing the GCP credentials SecretFileId pulumi.StringPtrInput // Skip validation of GCP configuration. SkipValidation pulumi.BoolPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes GcpUsageScopeArrayInput }
func (GcpState) ElementType ¶
type GcpUsageScope ¶
type GcpUsageScope struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId *string `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType *string `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId *string `pulumi:"environmentId"` }
type GcpUsageScopeArgs ¶
type GcpUsageScopeArgs struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType pulumi.StringPtrInput `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId pulumi.StringPtrInput `pulumi:"environmentId"` }
func (GcpUsageScopeArgs) ElementType ¶
func (GcpUsageScopeArgs) ElementType() reflect.Type
func (GcpUsageScopeArgs) ToGcpUsageScopeOutput ¶
func (i GcpUsageScopeArgs) ToGcpUsageScopeOutput() GcpUsageScopeOutput
func (GcpUsageScopeArgs) ToGcpUsageScopeOutputWithContext ¶
func (i GcpUsageScopeArgs) ToGcpUsageScopeOutputWithContext(ctx context.Context) GcpUsageScopeOutput
type GcpUsageScopeArray ¶
type GcpUsageScopeArray []GcpUsageScopeInput
func (GcpUsageScopeArray) ElementType ¶
func (GcpUsageScopeArray) ElementType() reflect.Type
func (GcpUsageScopeArray) ToGcpUsageScopeArrayOutput ¶
func (i GcpUsageScopeArray) ToGcpUsageScopeArrayOutput() GcpUsageScopeArrayOutput
func (GcpUsageScopeArray) ToGcpUsageScopeArrayOutputWithContext ¶
func (i GcpUsageScopeArray) ToGcpUsageScopeArrayOutputWithContext(ctx context.Context) GcpUsageScopeArrayOutput
type GcpUsageScopeArrayInput ¶
type GcpUsageScopeArrayInput interface { pulumi.Input ToGcpUsageScopeArrayOutput() GcpUsageScopeArrayOutput ToGcpUsageScopeArrayOutputWithContext(context.Context) GcpUsageScopeArrayOutput }
GcpUsageScopeArrayInput is an input type that accepts GcpUsageScopeArray and GcpUsageScopeArrayOutput values. You can construct a concrete instance of `GcpUsageScopeArrayInput` via:
GcpUsageScopeArray{ GcpUsageScopeArgs{...} }
type GcpUsageScopeArrayOutput ¶
type GcpUsageScopeArrayOutput struct{ *pulumi.OutputState }
func (GcpUsageScopeArrayOutput) ElementType ¶
func (GcpUsageScopeArrayOutput) ElementType() reflect.Type
func (GcpUsageScopeArrayOutput) Index ¶
func (o GcpUsageScopeArrayOutput) Index(i pulumi.IntInput) GcpUsageScopeOutput
func (GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutput ¶
func (o GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutput() GcpUsageScopeArrayOutput
func (GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutputWithContext ¶
func (o GcpUsageScopeArrayOutput) ToGcpUsageScopeArrayOutputWithContext(ctx context.Context) GcpUsageScopeArrayOutput
type GcpUsageScopeInput ¶
type GcpUsageScopeInput interface { pulumi.Input ToGcpUsageScopeOutput() GcpUsageScopeOutput ToGcpUsageScopeOutputWithContext(context.Context) GcpUsageScopeOutput }
GcpUsageScopeInput is an input type that accepts GcpUsageScopeArgs and GcpUsageScopeOutput values. You can construct a concrete instance of `GcpUsageScopeInput` via:
GcpUsageScopeArgs{...}
type GcpUsageScopeOutput ¶
type GcpUsageScopeOutput struct{ *pulumi.OutputState }
func (GcpUsageScopeOutput) ApplicationId ¶
func (o GcpUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
Id of the application to scope to. If empty then this scope applies to all applications.
func (GcpUsageScopeOutput) ElementType ¶
func (GcpUsageScopeOutput) ElementType() reflect.Type
func (GcpUsageScopeOutput) EnvironmentFilterType ¶
func (o GcpUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
func (GcpUsageScopeOutput) EnvironmentId ¶
func (o GcpUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`.
func (GcpUsageScopeOutput) ToGcpUsageScopeOutput ¶
func (o GcpUsageScopeOutput) ToGcpUsageScopeOutput() GcpUsageScopeOutput
func (GcpUsageScopeOutput) ToGcpUsageScopeOutputWithContext ¶
func (o GcpUsageScopeOutput) ToGcpUsageScopeOutputWithContext(ctx context.Context) GcpUsageScopeOutput
type GetDelegateIdsArgs ¶
type GetDelegateIdsArgs struct { // The name of the delegate to query for. Name *string `pulumi:"name"` // The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL Status *string `pulumi:"status"` // The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT Type *string `pulumi:"type"` }
A collection of arguments for invoking getDelegateIds.
type GetDelegateIdsOutputArgs ¶
type GetDelegateIdsOutputArgs struct { // The name of the delegate to query for. Name pulumi.StringPtrInput `pulumi:"name"` // The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL Status pulumi.StringPtrInput `pulumi:"status"` // The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getDelegateIds.
func (GetDelegateIdsOutputArgs) ElementType ¶
func (GetDelegateIdsOutputArgs) ElementType() reflect.Type
type GetDelegateIdsResult ¶
type GetDelegateIdsResult struct { // A list of delegate ID's matching the specified search criteria. DelegateIds []string `pulumi:"delegateIds"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the delegate to query for. Name *string `pulumi:"name"` // The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL Status *string `pulumi:"status"` // The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT Type *string `pulumi:"type"` }
A collection of values returned by getDelegateIds.
func GetDelegateIds ¶
func GetDelegateIds(ctx *pulumi.Context, args *GetDelegateIdsArgs, opts ...pulumi.InvokeOption) (*GetDelegateIdsResult, error)
Use this data source to get a list of delegate ID's matching the specified search criteria.
type GetDelegateIdsResultOutput ¶
type GetDelegateIdsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDelegateIds.
func GetDelegateIdsOutput ¶
func GetDelegateIdsOutput(ctx *pulumi.Context, args GetDelegateIdsOutputArgs, opts ...pulumi.InvokeOption) GetDelegateIdsResultOutput
func (GetDelegateIdsResultOutput) DelegateIds ¶
func (o GetDelegateIdsResultOutput) DelegateIds() pulumi.StringArrayOutput
A list of delegate ID's matching the specified search criteria.
func (GetDelegateIdsResultOutput) ElementType ¶
func (GetDelegateIdsResultOutput) ElementType() reflect.Type
func (GetDelegateIdsResultOutput) Id ¶
func (o GetDelegateIdsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDelegateIdsResultOutput) Name ¶
func (o GetDelegateIdsResultOutput) Name() pulumi.StringPtrOutput
The name of the delegate to query for.
func (GetDelegateIdsResultOutput) Status ¶
func (o GetDelegateIdsResultOutput) Status() pulumi.StringPtrOutput
The status of the delegate to query for. Valid values are DELETED, ENABLED, WAITING*FOR*APPROVAL
func (GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutput ¶
func (o GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutput() GetDelegateIdsResultOutput
func (GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutputWithContext ¶
func (o GetDelegateIdsResultOutput) ToGetDelegateIdsResultOutputWithContext(ctx context.Context) GetDelegateIdsResultOutput
func (GetDelegateIdsResultOutput) Type ¶
func (o GetDelegateIdsResultOutput) Type() pulumi.StringPtrOutput
The type of the delegate to query for. Valid values are DOCKER, ECS, HELM*DELEGATE, KUBERNETES, SHELL*SCRIPT
type Kubernetes ¶
type Kubernetes struct { pulumi.CustomResourceState // Authentication configuration for the Kubernetes cluster Authentication KubernetesAuthenticationOutput `pulumi:"authentication"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // Skip validation of Kubernetes configuration. SkipValidation pulumi.BoolPtrOutput `pulumi:"skipValidation"` // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes KubernetesUsageScopeArrayOutput `pulumi:"usageScopes"` }
Resource for creating a Kubernetes cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Import
Import using the Harness kubernetes cloud provider id.
```sh $ pulumi import harness:cloudprovider/kubernetes:Kubernetes example <provider_id> ```
func GetKubernetes ¶
func GetKubernetes(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubernetesState, opts ...pulumi.ResourceOption) (*Kubernetes, error)
GetKubernetes gets an existing Kubernetes 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 NewKubernetes ¶
func NewKubernetes(ctx *pulumi.Context, name string, args *KubernetesArgs, opts ...pulumi.ResourceOption) (*Kubernetes, error)
NewKubernetes registers a new resource with the given unique name, arguments, and options.
func (*Kubernetes) ElementType ¶
func (*Kubernetes) ElementType() reflect.Type
func (*Kubernetes) ToKubernetesOutput ¶
func (i *Kubernetes) ToKubernetesOutput() KubernetesOutput
func (*Kubernetes) ToKubernetesOutputWithContext ¶
func (i *Kubernetes) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput
type KubernetesArgs ¶
type KubernetesArgs struct { // Authentication configuration for the Kubernetes cluster Authentication KubernetesAuthenticationInput // The name of the cloud provider. Name pulumi.StringPtrInput // Skip validation of Kubernetes configuration. SkipValidation pulumi.BoolPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes KubernetesUsageScopeArrayInput }
The set of arguments for constructing a Kubernetes resource.
func (KubernetesArgs) ElementType ¶
func (KubernetesArgs) ElementType() reflect.Type
type KubernetesArray ¶
type KubernetesArray []KubernetesInput
func (KubernetesArray) ElementType ¶
func (KubernetesArray) ElementType() reflect.Type
func (KubernetesArray) ToKubernetesArrayOutput ¶
func (i KubernetesArray) ToKubernetesArrayOutput() KubernetesArrayOutput
func (KubernetesArray) ToKubernetesArrayOutputWithContext ¶
func (i KubernetesArray) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput
type KubernetesArrayInput ¶
type KubernetesArrayInput interface { pulumi.Input ToKubernetesArrayOutput() KubernetesArrayOutput ToKubernetesArrayOutputWithContext(context.Context) KubernetesArrayOutput }
KubernetesArrayInput is an input type that accepts KubernetesArray and KubernetesArrayOutput values. You can construct a concrete instance of `KubernetesArrayInput` via:
KubernetesArray{ KubernetesArgs{...} }
type KubernetesArrayOutput ¶
type KubernetesArrayOutput struct{ *pulumi.OutputState }
func (KubernetesArrayOutput) ElementType ¶
func (KubernetesArrayOutput) ElementType() reflect.Type
func (KubernetesArrayOutput) Index ¶
func (o KubernetesArrayOutput) Index(i pulumi.IntInput) KubernetesOutput
func (KubernetesArrayOutput) ToKubernetesArrayOutput ¶
func (o KubernetesArrayOutput) ToKubernetesArrayOutput() KubernetesArrayOutput
func (KubernetesArrayOutput) ToKubernetesArrayOutputWithContext ¶
func (o KubernetesArrayOutput) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput
type KubernetesAuthentication ¶
type KubernetesAuthentication struct { // Delegate selectors to inherit the GCP credentials from. DelegateSelectors []string `pulumi:"delegateSelectors"` // Service account configuration for connecting to the Kubernetes cluster Oidc *KubernetesAuthenticationOidc `pulumi:"oidc"` // Username and password for authentication to the cluster ServiceAccount *KubernetesAuthenticationServiceAccount `pulumi:"serviceAccount"` // Username and password for authentication to the cluster UsernamePassword *KubernetesAuthenticationUsernamePassword `pulumi:"usernamePassword"` }
type KubernetesAuthenticationArgs ¶
type KubernetesAuthenticationArgs struct { // Delegate selectors to inherit the GCP credentials from. DelegateSelectors pulumi.StringArrayInput `pulumi:"delegateSelectors"` // Service account configuration for connecting to the Kubernetes cluster Oidc KubernetesAuthenticationOidcPtrInput `pulumi:"oidc"` // Username and password for authentication to the cluster ServiceAccount KubernetesAuthenticationServiceAccountPtrInput `pulumi:"serviceAccount"` // Username and password for authentication to the cluster UsernamePassword KubernetesAuthenticationUsernamePasswordPtrInput `pulumi:"usernamePassword"` }
func (KubernetesAuthenticationArgs) ElementType ¶
func (KubernetesAuthenticationArgs) ElementType() reflect.Type
func (KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutput ¶
func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutput() KubernetesAuthenticationOutput
func (KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutputWithContext ¶
func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationOutputWithContext(ctx context.Context) KubernetesAuthenticationOutput
func (KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutput ¶
func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
func (KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutputWithContext ¶
func (i KubernetesAuthenticationArgs) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
type KubernetesAuthenticationInput ¶
type KubernetesAuthenticationInput interface { pulumi.Input ToKubernetesAuthenticationOutput() KubernetesAuthenticationOutput ToKubernetesAuthenticationOutputWithContext(context.Context) KubernetesAuthenticationOutput }
KubernetesAuthenticationInput is an input type that accepts KubernetesAuthenticationArgs and KubernetesAuthenticationOutput values. You can construct a concrete instance of `KubernetesAuthenticationInput` via:
KubernetesAuthenticationArgs{...}
type KubernetesAuthenticationOidc ¶
type KubernetesAuthenticationOidc struct { // Name of the Harness secret containing the client ID for the cluster. ClientIdSecretName string `pulumi:"clientIdSecretName"` // Name of the Harness secret containing the client secret for the cluster. ClientSecretSecretName *string `pulumi:"clientSecretSecretName"` // URL of the identity provider to use. IdentityProviderUrl string `pulumi:"identityProviderUrl"` // URL of the Kubernetes master to connect to. MasterUrl string `pulumi:"masterUrl"` // Name of the Harness secret containing the password for the cluster. PasswordSecretName string `pulumi:"passwordSecretName"` // Scopes to request from the identity provider. Scopes []string `pulumi:"scopes"` // Username for authentication to the cluster. This can be the username itself or the ID of a harness secret. Username string `pulumi:"username"` }
type KubernetesAuthenticationOidcArgs ¶
type KubernetesAuthenticationOidcArgs struct { // Name of the Harness secret containing the client ID for the cluster. ClientIdSecretName pulumi.StringInput `pulumi:"clientIdSecretName"` // Name of the Harness secret containing the client secret for the cluster. ClientSecretSecretName pulumi.StringPtrInput `pulumi:"clientSecretSecretName"` // URL of the identity provider to use. IdentityProviderUrl pulumi.StringInput `pulumi:"identityProviderUrl"` // URL of the Kubernetes master to connect to. MasterUrl pulumi.StringInput `pulumi:"masterUrl"` // Name of the Harness secret containing the password for the cluster. PasswordSecretName pulumi.StringInput `pulumi:"passwordSecretName"` // Scopes to request from the identity provider. Scopes pulumi.StringArrayInput `pulumi:"scopes"` // Username for authentication to the cluster. This can be the username itself or the ID of a harness secret. Username pulumi.StringInput `pulumi:"username"` }
func (KubernetesAuthenticationOidcArgs) ElementType ¶
func (KubernetesAuthenticationOidcArgs) ElementType() reflect.Type
func (KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutput ¶
func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutput() KubernetesAuthenticationOidcOutput
func (KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutputWithContext ¶
func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcOutput
func (KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutput ¶
func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
func (KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutputWithContext ¶
func (i KubernetesAuthenticationOidcArgs) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
type KubernetesAuthenticationOidcInput ¶
type KubernetesAuthenticationOidcInput interface { pulumi.Input ToKubernetesAuthenticationOidcOutput() KubernetesAuthenticationOidcOutput ToKubernetesAuthenticationOidcOutputWithContext(context.Context) KubernetesAuthenticationOidcOutput }
KubernetesAuthenticationOidcInput is an input type that accepts KubernetesAuthenticationOidcArgs and KubernetesAuthenticationOidcOutput values. You can construct a concrete instance of `KubernetesAuthenticationOidcInput` via:
KubernetesAuthenticationOidcArgs{...}
type KubernetesAuthenticationOidcOutput ¶
type KubernetesAuthenticationOidcOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationOidcOutput) ClientIdSecretName ¶
func (o KubernetesAuthenticationOidcOutput) ClientIdSecretName() pulumi.StringOutput
Name of the Harness secret containing the client ID for the cluster.
func (KubernetesAuthenticationOidcOutput) ClientSecretSecretName ¶
func (o KubernetesAuthenticationOidcOutput) ClientSecretSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the client secret for the cluster.
func (KubernetesAuthenticationOidcOutput) ElementType ¶
func (KubernetesAuthenticationOidcOutput) ElementType() reflect.Type
func (KubernetesAuthenticationOidcOutput) IdentityProviderUrl ¶
func (o KubernetesAuthenticationOidcOutput) IdentityProviderUrl() pulumi.StringOutput
URL of the identity provider to use.
func (KubernetesAuthenticationOidcOutput) MasterUrl ¶
func (o KubernetesAuthenticationOidcOutput) MasterUrl() pulumi.StringOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationOidcOutput) PasswordSecretName ¶
func (o KubernetesAuthenticationOidcOutput) PasswordSecretName() pulumi.StringOutput
Name of the Harness secret containing the password for the cluster.
func (KubernetesAuthenticationOidcOutput) Scopes ¶
func (o KubernetesAuthenticationOidcOutput) Scopes() pulumi.StringArrayOutput
Scopes to request from the identity provider.
func (KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutput ¶
func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutput() KubernetesAuthenticationOidcOutput
func (KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutputWithContext ¶
func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcOutput
func (KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutput ¶
func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
func (KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext ¶
func (o KubernetesAuthenticationOidcOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
func (KubernetesAuthenticationOidcOutput) Username ¶
func (o KubernetesAuthenticationOidcOutput) Username() pulumi.StringOutput
Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
type KubernetesAuthenticationOidcPtrInput ¶
type KubernetesAuthenticationOidcPtrInput interface { pulumi.Input ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput ToKubernetesAuthenticationOidcPtrOutputWithContext(context.Context) KubernetesAuthenticationOidcPtrOutput }
KubernetesAuthenticationOidcPtrInput is an input type that accepts KubernetesAuthenticationOidcArgs, KubernetesAuthenticationOidcPtr and KubernetesAuthenticationOidcPtrOutput values. You can construct a concrete instance of `KubernetesAuthenticationOidcPtrInput` via:
KubernetesAuthenticationOidcArgs{...} or: nil
func KubernetesAuthenticationOidcPtr ¶
func KubernetesAuthenticationOidcPtr(v *KubernetesAuthenticationOidcArgs) KubernetesAuthenticationOidcPtrInput
type KubernetesAuthenticationOidcPtrOutput ¶
type KubernetesAuthenticationOidcPtrOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationOidcPtrOutput) ClientIdSecretName ¶
func (o KubernetesAuthenticationOidcPtrOutput) ClientIdSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the client ID for the cluster.
func (KubernetesAuthenticationOidcPtrOutput) ClientSecretSecretName ¶
func (o KubernetesAuthenticationOidcPtrOutput) ClientSecretSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the client secret for the cluster.
func (KubernetesAuthenticationOidcPtrOutput) ElementType ¶
func (KubernetesAuthenticationOidcPtrOutput) ElementType() reflect.Type
func (KubernetesAuthenticationOidcPtrOutput) IdentityProviderUrl ¶
func (o KubernetesAuthenticationOidcPtrOutput) IdentityProviderUrl() pulumi.StringPtrOutput
URL of the identity provider to use.
func (KubernetesAuthenticationOidcPtrOutput) MasterUrl ¶
func (o KubernetesAuthenticationOidcPtrOutput) MasterUrl() pulumi.StringPtrOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationOidcPtrOutput) PasswordSecretName ¶
func (o KubernetesAuthenticationOidcPtrOutput) PasswordSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the password for the cluster.
func (KubernetesAuthenticationOidcPtrOutput) Scopes ¶
func (o KubernetesAuthenticationOidcPtrOutput) Scopes() pulumi.StringArrayOutput
Scopes to request from the identity provider.
func (KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutput ¶
func (o KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutput() KubernetesAuthenticationOidcPtrOutput
func (KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext ¶
func (o KubernetesAuthenticationOidcPtrOutput) ToKubernetesAuthenticationOidcPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationOidcPtrOutput
func (KubernetesAuthenticationOidcPtrOutput) Username ¶
func (o KubernetesAuthenticationOidcPtrOutput) Username() pulumi.StringPtrOutput
Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
type KubernetesAuthenticationOutput ¶
type KubernetesAuthenticationOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationOutput) DelegateSelectors ¶
func (o KubernetesAuthenticationOutput) DelegateSelectors() pulumi.StringArrayOutput
Delegate selectors to inherit the GCP credentials from.
func (KubernetesAuthenticationOutput) ElementType ¶
func (KubernetesAuthenticationOutput) ElementType() reflect.Type
func (KubernetesAuthenticationOutput) Oidc ¶
func (o KubernetesAuthenticationOutput) Oidc() KubernetesAuthenticationOidcPtrOutput
Service account configuration for connecting to the Kubernetes cluster
func (KubernetesAuthenticationOutput) ServiceAccount ¶
func (o KubernetesAuthenticationOutput) ServiceAccount() KubernetesAuthenticationServiceAccountPtrOutput
Username and password for authentication to the cluster
func (KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutput ¶
func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutput() KubernetesAuthenticationOutput
func (KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutputWithContext ¶
func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationOutputWithContext(ctx context.Context) KubernetesAuthenticationOutput
func (KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutput ¶
func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
func (KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutputWithContext ¶
func (o KubernetesAuthenticationOutput) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
func (KubernetesAuthenticationOutput) UsernamePassword ¶
func (o KubernetesAuthenticationOutput) UsernamePassword() KubernetesAuthenticationUsernamePasswordPtrOutput
Username and password for authentication to the cluster
type KubernetesAuthenticationPtrInput ¶
type KubernetesAuthenticationPtrInput interface { pulumi.Input ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput ToKubernetesAuthenticationPtrOutputWithContext(context.Context) KubernetesAuthenticationPtrOutput }
KubernetesAuthenticationPtrInput is an input type that accepts KubernetesAuthenticationArgs, KubernetesAuthenticationPtr and KubernetesAuthenticationPtrOutput values. You can construct a concrete instance of `KubernetesAuthenticationPtrInput` via:
KubernetesAuthenticationArgs{...} or: nil
func KubernetesAuthenticationPtr ¶
func KubernetesAuthenticationPtr(v *KubernetesAuthenticationArgs) KubernetesAuthenticationPtrInput
type KubernetesAuthenticationPtrOutput ¶
type KubernetesAuthenticationPtrOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationPtrOutput) DelegateSelectors ¶
func (o KubernetesAuthenticationPtrOutput) DelegateSelectors() pulumi.StringArrayOutput
Delegate selectors to inherit the GCP credentials from.
func (KubernetesAuthenticationPtrOutput) Elem ¶
func (o KubernetesAuthenticationPtrOutput) Elem() KubernetesAuthenticationOutput
func (KubernetesAuthenticationPtrOutput) ElementType ¶
func (KubernetesAuthenticationPtrOutput) ElementType() reflect.Type
func (KubernetesAuthenticationPtrOutput) Oidc ¶
Service account configuration for connecting to the Kubernetes cluster
func (KubernetesAuthenticationPtrOutput) ServiceAccount ¶
func (o KubernetesAuthenticationPtrOutput) ServiceAccount() KubernetesAuthenticationServiceAccountPtrOutput
Username and password for authentication to the cluster
func (KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutput ¶
func (o KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutput() KubernetesAuthenticationPtrOutput
func (KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutputWithContext ¶
func (o KubernetesAuthenticationPtrOutput) ToKubernetesAuthenticationPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationPtrOutput
func (KubernetesAuthenticationPtrOutput) UsernamePassword ¶
func (o KubernetesAuthenticationPtrOutput) UsernamePassword() KubernetesAuthenticationUsernamePasswordPtrOutput
Username and password for authentication to the cluster
type KubernetesAuthenticationServiceAccount ¶
type KubernetesAuthenticationServiceAccount struct { // Name of the Harness secret containing the CA certificate for the cluster. CaCertificateSecretName *string `pulumi:"caCertificateSecretName"` // URL of the Kubernetes master to connect to. MasterUrl string `pulumi:"masterUrl"` // Name of the Harness secret containing the service account token for the cluster. ServiceAccountTokenSecretName string `pulumi:"serviceAccountTokenSecretName"` }
type KubernetesAuthenticationServiceAccountArgs ¶
type KubernetesAuthenticationServiceAccountArgs struct { // Name of the Harness secret containing the CA certificate for the cluster. CaCertificateSecretName pulumi.StringPtrInput `pulumi:"caCertificateSecretName"` // URL of the Kubernetes master to connect to. MasterUrl pulumi.StringInput `pulumi:"masterUrl"` // Name of the Harness secret containing the service account token for the cluster. ServiceAccountTokenSecretName pulumi.StringInput `pulumi:"serviceAccountTokenSecretName"` }
func (KubernetesAuthenticationServiceAccountArgs) ElementType ¶
func (KubernetesAuthenticationServiceAccountArgs) ElementType() reflect.Type
func (KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutput ¶
func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutput() KubernetesAuthenticationServiceAccountOutput
func (KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutputWithContext ¶
func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountOutput
func (KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutput ¶
func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
func (KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext ¶
func (i KubernetesAuthenticationServiceAccountArgs) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
type KubernetesAuthenticationServiceAccountInput ¶
type KubernetesAuthenticationServiceAccountInput interface { pulumi.Input ToKubernetesAuthenticationServiceAccountOutput() KubernetesAuthenticationServiceAccountOutput ToKubernetesAuthenticationServiceAccountOutputWithContext(context.Context) KubernetesAuthenticationServiceAccountOutput }
KubernetesAuthenticationServiceAccountInput is an input type that accepts KubernetesAuthenticationServiceAccountArgs and KubernetesAuthenticationServiceAccountOutput values. You can construct a concrete instance of `KubernetesAuthenticationServiceAccountInput` via:
KubernetesAuthenticationServiceAccountArgs{...}
type KubernetesAuthenticationServiceAccountOutput ¶
type KubernetesAuthenticationServiceAccountOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationServiceAccountOutput) CaCertificateSecretName ¶
func (o KubernetesAuthenticationServiceAccountOutput) CaCertificateSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the CA certificate for the cluster.
func (KubernetesAuthenticationServiceAccountOutput) ElementType ¶
func (KubernetesAuthenticationServiceAccountOutput) ElementType() reflect.Type
func (KubernetesAuthenticationServiceAccountOutput) MasterUrl ¶
func (o KubernetesAuthenticationServiceAccountOutput) MasterUrl() pulumi.StringOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationServiceAccountOutput) ServiceAccountTokenSecretName ¶
func (o KubernetesAuthenticationServiceAccountOutput) ServiceAccountTokenSecretName() pulumi.StringOutput
Name of the Harness secret containing the service account token for the cluster.
func (KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutput ¶
func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutput() KubernetesAuthenticationServiceAccountOutput
func (KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutputWithContext ¶
func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountOutput
func (KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutput ¶
func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
func (KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext ¶
func (o KubernetesAuthenticationServiceAccountOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
type KubernetesAuthenticationServiceAccountPtrInput ¶
type KubernetesAuthenticationServiceAccountPtrInput interface { pulumi.Input ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(context.Context) KubernetesAuthenticationServiceAccountPtrOutput }
KubernetesAuthenticationServiceAccountPtrInput is an input type that accepts KubernetesAuthenticationServiceAccountArgs, KubernetesAuthenticationServiceAccountPtr and KubernetesAuthenticationServiceAccountPtrOutput values. You can construct a concrete instance of `KubernetesAuthenticationServiceAccountPtrInput` via:
KubernetesAuthenticationServiceAccountArgs{...} or: nil
func KubernetesAuthenticationServiceAccountPtr ¶
func KubernetesAuthenticationServiceAccountPtr(v *KubernetesAuthenticationServiceAccountArgs) KubernetesAuthenticationServiceAccountPtrInput
type KubernetesAuthenticationServiceAccountPtrOutput ¶
type KubernetesAuthenticationServiceAccountPtrOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationServiceAccountPtrOutput) CaCertificateSecretName ¶
func (o KubernetesAuthenticationServiceAccountPtrOutput) CaCertificateSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the CA certificate for the cluster.
func (KubernetesAuthenticationServiceAccountPtrOutput) ElementType ¶
func (KubernetesAuthenticationServiceAccountPtrOutput) ElementType() reflect.Type
func (KubernetesAuthenticationServiceAccountPtrOutput) MasterUrl ¶
func (o KubernetesAuthenticationServiceAccountPtrOutput) MasterUrl() pulumi.StringPtrOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationServiceAccountPtrOutput) ServiceAccountTokenSecretName ¶
func (o KubernetesAuthenticationServiceAccountPtrOutput) ServiceAccountTokenSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the service account token for the cluster.
func (KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutput ¶
func (o KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutput() KubernetesAuthenticationServiceAccountPtrOutput
func (KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext ¶
func (o KubernetesAuthenticationServiceAccountPtrOutput) ToKubernetesAuthenticationServiceAccountPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationServiceAccountPtrOutput
type KubernetesAuthenticationUsernamePassword ¶
type KubernetesAuthenticationUsernamePassword struct { // URL of the Kubernetes master to connect to. MasterUrl string `pulumi:"masterUrl"` // Name of the Harness secret containing the password for the cluster. PasswordSecretName string `pulumi:"passwordSecretName"` // Username for authentication to the cluster Username *string `pulumi:"username"` // Name of the Harness secret containing the username for authentication to the cluster UsernameSecretName *string `pulumi:"usernameSecretName"` }
type KubernetesAuthenticationUsernamePasswordArgs ¶
type KubernetesAuthenticationUsernamePasswordArgs struct { // URL of the Kubernetes master to connect to. MasterUrl pulumi.StringInput `pulumi:"masterUrl"` // Name of the Harness secret containing the password for the cluster. PasswordSecretName pulumi.StringInput `pulumi:"passwordSecretName"` // Username for authentication to the cluster Username pulumi.StringPtrInput `pulumi:"username"` // Name of the Harness secret containing the username for authentication to the cluster UsernameSecretName pulumi.StringPtrInput `pulumi:"usernameSecretName"` }
func (KubernetesAuthenticationUsernamePasswordArgs) ElementType ¶
func (KubernetesAuthenticationUsernamePasswordArgs) ElementType() reflect.Type
func (KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutput ¶
func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutput() KubernetesAuthenticationUsernamePasswordOutput
func (KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutputWithContext ¶
func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordOutput
func (KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutput ¶
func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
func (KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext ¶
func (i KubernetesAuthenticationUsernamePasswordArgs) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
type KubernetesAuthenticationUsernamePasswordInput ¶
type KubernetesAuthenticationUsernamePasswordInput interface { pulumi.Input ToKubernetesAuthenticationUsernamePasswordOutput() KubernetesAuthenticationUsernamePasswordOutput ToKubernetesAuthenticationUsernamePasswordOutputWithContext(context.Context) KubernetesAuthenticationUsernamePasswordOutput }
KubernetesAuthenticationUsernamePasswordInput is an input type that accepts KubernetesAuthenticationUsernamePasswordArgs and KubernetesAuthenticationUsernamePasswordOutput values. You can construct a concrete instance of `KubernetesAuthenticationUsernamePasswordInput` via:
KubernetesAuthenticationUsernamePasswordArgs{...}
type KubernetesAuthenticationUsernamePasswordOutput ¶
type KubernetesAuthenticationUsernamePasswordOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationUsernamePasswordOutput) ElementType ¶
func (KubernetesAuthenticationUsernamePasswordOutput) ElementType() reflect.Type
func (KubernetesAuthenticationUsernamePasswordOutput) MasterUrl ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) MasterUrl() pulumi.StringOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationUsernamePasswordOutput) PasswordSecretName ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) PasswordSecretName() pulumi.StringOutput
Name of the Harness secret containing the password for the cluster.
func (KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutput ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutput() KubernetesAuthenticationUsernamePasswordOutput
func (KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutputWithContext ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordOutput
func (KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
func (KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
func (KubernetesAuthenticationUsernamePasswordOutput) Username ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) Username() pulumi.StringPtrOutput
Username for authentication to the cluster
func (KubernetesAuthenticationUsernamePasswordOutput) UsernameSecretName ¶
func (o KubernetesAuthenticationUsernamePasswordOutput) UsernameSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the username for authentication to the cluster
type KubernetesAuthenticationUsernamePasswordPtrInput ¶
type KubernetesAuthenticationUsernamePasswordPtrInput interface { pulumi.Input ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput }
KubernetesAuthenticationUsernamePasswordPtrInput is an input type that accepts KubernetesAuthenticationUsernamePasswordArgs, KubernetesAuthenticationUsernamePasswordPtr and KubernetesAuthenticationUsernamePasswordPtrOutput values. You can construct a concrete instance of `KubernetesAuthenticationUsernamePasswordPtrInput` via:
KubernetesAuthenticationUsernamePasswordArgs{...} or: nil
func KubernetesAuthenticationUsernamePasswordPtr ¶
func KubernetesAuthenticationUsernamePasswordPtr(v *KubernetesAuthenticationUsernamePasswordArgs) KubernetesAuthenticationUsernamePasswordPtrInput
type KubernetesAuthenticationUsernamePasswordPtrOutput ¶
type KubernetesAuthenticationUsernamePasswordPtrOutput struct{ *pulumi.OutputState }
func (KubernetesAuthenticationUsernamePasswordPtrOutput) ElementType ¶
func (KubernetesAuthenticationUsernamePasswordPtrOutput) ElementType() reflect.Type
func (KubernetesAuthenticationUsernamePasswordPtrOutput) MasterUrl ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) MasterUrl() pulumi.StringPtrOutput
URL of the Kubernetes master to connect to.
func (KubernetesAuthenticationUsernamePasswordPtrOutput) PasswordSecretName ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) PasswordSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the password for the cluster.
func (KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutput() KubernetesAuthenticationUsernamePasswordPtrOutput
func (KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) ToKubernetesAuthenticationUsernamePasswordPtrOutputWithContext(ctx context.Context) KubernetesAuthenticationUsernamePasswordPtrOutput
func (KubernetesAuthenticationUsernamePasswordPtrOutput) Username ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) Username() pulumi.StringPtrOutput
Username for authentication to the cluster
func (KubernetesAuthenticationUsernamePasswordPtrOutput) UsernameSecretName ¶
func (o KubernetesAuthenticationUsernamePasswordPtrOutput) UsernameSecretName() pulumi.StringPtrOutput
Name of the Harness secret containing the username for authentication to the cluster
type KubernetesInput ¶
type KubernetesInput interface { pulumi.Input ToKubernetesOutput() KubernetesOutput ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput }
type KubernetesMap ¶
type KubernetesMap map[string]KubernetesInput
func (KubernetesMap) ElementType ¶
func (KubernetesMap) ElementType() reflect.Type
func (KubernetesMap) ToKubernetesMapOutput ¶
func (i KubernetesMap) ToKubernetesMapOutput() KubernetesMapOutput
func (KubernetesMap) ToKubernetesMapOutputWithContext ¶
func (i KubernetesMap) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput
type KubernetesMapInput ¶
type KubernetesMapInput interface { pulumi.Input ToKubernetesMapOutput() KubernetesMapOutput ToKubernetesMapOutputWithContext(context.Context) KubernetesMapOutput }
KubernetesMapInput is an input type that accepts KubernetesMap and KubernetesMapOutput values. You can construct a concrete instance of `KubernetesMapInput` via:
KubernetesMap{ "key": KubernetesArgs{...} }
type KubernetesMapOutput ¶
type KubernetesMapOutput struct{ *pulumi.OutputState }
func (KubernetesMapOutput) ElementType ¶
func (KubernetesMapOutput) ElementType() reflect.Type
func (KubernetesMapOutput) MapIndex ¶
func (o KubernetesMapOutput) MapIndex(k pulumi.StringInput) KubernetesOutput
func (KubernetesMapOutput) ToKubernetesMapOutput ¶
func (o KubernetesMapOutput) ToKubernetesMapOutput() KubernetesMapOutput
func (KubernetesMapOutput) ToKubernetesMapOutputWithContext ¶
func (o KubernetesMapOutput) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput
type KubernetesOutput ¶
type KubernetesOutput struct{ *pulumi.OutputState }
func (KubernetesOutput) Authentication ¶
func (o KubernetesOutput) Authentication() KubernetesAuthenticationOutput
Authentication configuration for the Kubernetes cluster
func (KubernetesOutput) ElementType ¶
func (KubernetesOutput) ElementType() reflect.Type
func (KubernetesOutput) Name ¶
func (o KubernetesOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (KubernetesOutput) SkipValidation ¶
func (o KubernetesOutput) SkipValidation() pulumi.BoolPtrOutput
Skip validation of Kubernetes configuration.
func (KubernetesOutput) ToKubernetesOutput ¶
func (o KubernetesOutput) ToKubernetesOutput() KubernetesOutput
func (KubernetesOutput) ToKubernetesOutputWithContext ¶
func (o KubernetesOutput) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput
func (KubernetesOutput) UsageScopes ¶
func (o KubernetesOutput) UsageScopes() KubernetesUsageScopeArrayOutput
This block is used for scoping the resource to a specific set of applications or environments.
type KubernetesState ¶
type KubernetesState struct { // Authentication configuration for the Kubernetes cluster Authentication KubernetesAuthenticationPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // Skip validation of Kubernetes configuration. SkipValidation pulumi.BoolPtrInput // This block is used for scoping the resource to a specific set of applications or environments. UsageScopes KubernetesUsageScopeArrayInput }
func (KubernetesState) ElementType ¶
func (KubernetesState) ElementType() reflect.Type
type KubernetesUsageScope ¶
type KubernetesUsageScope struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId *string `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType *string `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId *string `pulumi:"environmentId"` }
type KubernetesUsageScopeArgs ¶
type KubernetesUsageScopeArgs struct { // Id of the application to scope to. If empty then this scope applies to all applications. ApplicationId pulumi.StringPtrInput `pulumi:"applicationId"` // Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS. EnvironmentFilterType pulumi.StringPtrInput `pulumi:"environmentFilterType"` // Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`. EnvironmentId pulumi.StringPtrInput `pulumi:"environmentId"` }
func (KubernetesUsageScopeArgs) ElementType ¶
func (KubernetesUsageScopeArgs) ElementType() reflect.Type
func (KubernetesUsageScopeArgs) ToKubernetesUsageScopeOutput ¶
func (i KubernetesUsageScopeArgs) ToKubernetesUsageScopeOutput() KubernetesUsageScopeOutput
func (KubernetesUsageScopeArgs) ToKubernetesUsageScopeOutputWithContext ¶
func (i KubernetesUsageScopeArgs) ToKubernetesUsageScopeOutputWithContext(ctx context.Context) KubernetesUsageScopeOutput
type KubernetesUsageScopeArray ¶
type KubernetesUsageScopeArray []KubernetesUsageScopeInput
func (KubernetesUsageScopeArray) ElementType ¶
func (KubernetesUsageScopeArray) ElementType() reflect.Type
func (KubernetesUsageScopeArray) ToKubernetesUsageScopeArrayOutput ¶
func (i KubernetesUsageScopeArray) ToKubernetesUsageScopeArrayOutput() KubernetesUsageScopeArrayOutput
func (KubernetesUsageScopeArray) ToKubernetesUsageScopeArrayOutputWithContext ¶
func (i KubernetesUsageScopeArray) ToKubernetesUsageScopeArrayOutputWithContext(ctx context.Context) KubernetesUsageScopeArrayOutput
type KubernetesUsageScopeArrayInput ¶
type KubernetesUsageScopeArrayInput interface { pulumi.Input ToKubernetesUsageScopeArrayOutput() KubernetesUsageScopeArrayOutput ToKubernetesUsageScopeArrayOutputWithContext(context.Context) KubernetesUsageScopeArrayOutput }
KubernetesUsageScopeArrayInput is an input type that accepts KubernetesUsageScopeArray and KubernetesUsageScopeArrayOutput values. You can construct a concrete instance of `KubernetesUsageScopeArrayInput` via:
KubernetesUsageScopeArray{ KubernetesUsageScopeArgs{...} }
type KubernetesUsageScopeArrayOutput ¶
type KubernetesUsageScopeArrayOutput struct{ *pulumi.OutputState }
func (KubernetesUsageScopeArrayOutput) ElementType ¶
func (KubernetesUsageScopeArrayOutput) ElementType() reflect.Type
func (KubernetesUsageScopeArrayOutput) Index ¶
func (o KubernetesUsageScopeArrayOutput) Index(i pulumi.IntInput) KubernetesUsageScopeOutput
func (KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutput ¶
func (o KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutput() KubernetesUsageScopeArrayOutput
func (KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutputWithContext ¶
func (o KubernetesUsageScopeArrayOutput) ToKubernetesUsageScopeArrayOutputWithContext(ctx context.Context) KubernetesUsageScopeArrayOutput
type KubernetesUsageScopeInput ¶
type KubernetesUsageScopeInput interface { pulumi.Input ToKubernetesUsageScopeOutput() KubernetesUsageScopeOutput ToKubernetesUsageScopeOutputWithContext(context.Context) KubernetesUsageScopeOutput }
KubernetesUsageScopeInput is an input type that accepts KubernetesUsageScopeArgs and KubernetesUsageScopeOutput values. You can construct a concrete instance of `KubernetesUsageScopeInput` via:
KubernetesUsageScopeArgs{...}
type KubernetesUsageScopeOutput ¶
type KubernetesUsageScopeOutput struct{ *pulumi.OutputState }
func (KubernetesUsageScopeOutput) ApplicationId ¶
func (o KubernetesUsageScopeOutput) ApplicationId() pulumi.StringPtrOutput
Id of the application to scope to. If empty then this scope applies to all applications.
func (KubernetesUsageScopeOutput) ElementType ¶
func (KubernetesUsageScopeOutput) ElementType() reflect.Type
func (KubernetesUsageScopeOutput) EnvironmentFilterType ¶
func (o KubernetesUsageScopeOutput) EnvironmentFilterType() pulumi.StringPtrOutput
Type of environment filter applied. Cannot be used with `environmentId`. Valid options are NON*PRODUCTION*ENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
func (KubernetesUsageScopeOutput) EnvironmentId ¶
func (o KubernetesUsageScopeOutput) EnvironmentId() pulumi.StringPtrOutput
Id of the id of the specific environment to scope to. Cannot be used with `environmentFilterType`.
func (KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutput ¶
func (o KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutput() KubernetesUsageScopeOutput
func (KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutputWithContext ¶
func (o KubernetesUsageScopeOutput) ToKubernetesUsageScopeOutputWithContext(ctx context.Context) KubernetesUsageScopeOutput
type Spot ¶
type Spot struct { pulumi.CustomResourceState // The Spot account ID AccountId pulumi.StringOutput `pulumi:"accountId"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // The name of the Harness secret containing the spot account token TokenSecretName pulumi.StringOutput `pulumi:"tokenSecretName"` }
Resource for creating a Spot cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness" "github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := harness.GetSecretManager(ctx, &harness.GetSecretManagerArgs{ Default: pulumi.BoolRef(true), }, nil) if err != nil { return err } spotToken, err := harness.NewEncryptedText(ctx, "spot_token", &harness.EncryptedTextArgs{ Name: pulumi.String("spot_token"), SecretManagerId: pulumi.String(_default.Id), Value: pulumi.String("<SPOT_TOKEN>"), }) if err != nil { return err } _, err = cloudprovider.NewSpot(ctx, "example", &cloudprovider.SpotArgs{ Name: pulumi.String("example"), AccountId: pulumi.String("<SPOT_ACCOUNT_ID>"), TokenSecretName: spotToken.Name, }) if err != nil { return err } return nil }) }
```
## Import
Import using the Harness Spot cloud provider id.
```sh $ pulumi import harness:cloudprovider/spot:Spot example <provider_id> ```
func GetSpot ¶
func GetSpot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SpotState, opts ...pulumi.ResourceOption) (*Spot, error)
GetSpot gets an existing Spot 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 NewSpot ¶
func NewSpot(ctx *pulumi.Context, name string, args *SpotArgs, opts ...pulumi.ResourceOption) (*Spot, error)
NewSpot registers a new resource with the given unique name, arguments, and options.
func (*Spot) ElementType ¶
func (*Spot) ToSpotOutput ¶
func (i *Spot) ToSpotOutput() SpotOutput
func (*Spot) ToSpotOutputWithContext ¶
func (i *Spot) ToSpotOutputWithContext(ctx context.Context) SpotOutput
type SpotArgs ¶
type SpotArgs struct { // The Spot account ID AccountId pulumi.StringInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the spot account token TokenSecretName pulumi.StringInput }
The set of arguments for constructing a Spot resource.
func (SpotArgs) ElementType ¶
type SpotArray ¶
type SpotArray []SpotInput
func (SpotArray) ElementType ¶
func (SpotArray) ToSpotArrayOutput ¶
func (i SpotArray) ToSpotArrayOutput() SpotArrayOutput
func (SpotArray) ToSpotArrayOutputWithContext ¶
func (i SpotArray) ToSpotArrayOutputWithContext(ctx context.Context) SpotArrayOutput
type SpotArrayInput ¶
type SpotArrayInput interface { pulumi.Input ToSpotArrayOutput() SpotArrayOutput ToSpotArrayOutputWithContext(context.Context) SpotArrayOutput }
SpotArrayInput is an input type that accepts SpotArray and SpotArrayOutput values. You can construct a concrete instance of `SpotArrayInput` via:
SpotArray{ SpotArgs{...} }
type SpotArrayOutput ¶
type SpotArrayOutput struct{ *pulumi.OutputState }
func (SpotArrayOutput) ElementType ¶
func (SpotArrayOutput) ElementType() reflect.Type
func (SpotArrayOutput) Index ¶
func (o SpotArrayOutput) Index(i pulumi.IntInput) SpotOutput
func (SpotArrayOutput) ToSpotArrayOutput ¶
func (o SpotArrayOutput) ToSpotArrayOutput() SpotArrayOutput
func (SpotArrayOutput) ToSpotArrayOutputWithContext ¶
func (o SpotArrayOutput) ToSpotArrayOutputWithContext(ctx context.Context) SpotArrayOutput
type SpotInput ¶
type SpotInput interface { pulumi.Input ToSpotOutput() SpotOutput ToSpotOutputWithContext(ctx context.Context) SpotOutput }
type SpotMap ¶
func (SpotMap) ElementType ¶
func (SpotMap) ToSpotMapOutput ¶
func (i SpotMap) ToSpotMapOutput() SpotMapOutput
func (SpotMap) ToSpotMapOutputWithContext ¶
func (i SpotMap) ToSpotMapOutputWithContext(ctx context.Context) SpotMapOutput
type SpotMapInput ¶
type SpotMapInput interface { pulumi.Input ToSpotMapOutput() SpotMapOutput ToSpotMapOutputWithContext(context.Context) SpotMapOutput }
SpotMapInput is an input type that accepts SpotMap and SpotMapOutput values. You can construct a concrete instance of `SpotMapInput` via:
SpotMap{ "key": SpotArgs{...} }
type SpotMapOutput ¶
type SpotMapOutput struct{ *pulumi.OutputState }
func (SpotMapOutput) ElementType ¶
func (SpotMapOutput) ElementType() reflect.Type
func (SpotMapOutput) MapIndex ¶
func (o SpotMapOutput) MapIndex(k pulumi.StringInput) SpotOutput
func (SpotMapOutput) ToSpotMapOutput ¶
func (o SpotMapOutput) ToSpotMapOutput() SpotMapOutput
func (SpotMapOutput) ToSpotMapOutputWithContext ¶
func (o SpotMapOutput) ToSpotMapOutputWithContext(ctx context.Context) SpotMapOutput
type SpotOutput ¶
type SpotOutput struct{ *pulumi.OutputState }
func (SpotOutput) AccountId ¶
func (o SpotOutput) AccountId() pulumi.StringOutput
The Spot account ID
func (SpotOutput) ElementType ¶
func (SpotOutput) ElementType() reflect.Type
func (SpotOutput) Name ¶
func (o SpotOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (SpotOutput) ToSpotOutput ¶
func (o SpotOutput) ToSpotOutput() SpotOutput
func (SpotOutput) ToSpotOutputWithContext ¶
func (o SpotOutput) ToSpotOutputWithContext(ctx context.Context) SpotOutput
func (SpotOutput) TokenSecretName ¶
func (o SpotOutput) TokenSecretName() pulumi.StringOutput
The name of the Harness secret containing the spot account token
type SpotState ¶
type SpotState struct { // The Spot account ID AccountId pulumi.StringPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the spot account token TokenSecretName pulumi.StringPtrInput }
func (SpotState) ElementType ¶
type Tanzu ¶
type Tanzu struct { pulumi.CustomResourceState // The url of the Tanzu platform. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The name of the cloud provider. Name pulumi.StringOutput `pulumi:"name"` // The name of the Harness secret containing the password to use to authenticate to Tanzu. PasswordSecretName pulumi.StringOutput `pulumi:"passwordSecretName"` // Skip validation of Tanzu configuration. SkipValidation pulumi.BoolPtrOutput `pulumi:"skipValidation"` // The username to use to authenticate to Tanzu. Username pulumi.StringPtrOutput `pulumi:"username"` // The name of the Harness secret containing the username to authenticate to Tanzu with. UsernameSecretName pulumi.StringPtrOutput `pulumi:"usernameSecretName"` }
Resource for creating a Tanzu cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness" "github.com/pulumi/pulumi-harness/sdk/go/harness/cloudprovider" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := harness.GetSecretManager(ctx, &harness.GetSecretManagerArgs{ Default: pulumi.BoolRef(true), }, nil) if err != nil { return err } tanzuPassword, err := harness.NewEncryptedText(ctx, "tanzu_password", &harness.EncryptedTextArgs{ Name: pulumi.String("tanzu_password"), Value: pulumi.String("<PASSWORD>"), SecretManagerId: pulumi.String(_default.Id), }) if err != nil { return err } _, err = cloudprovider.NewTanzu(ctx, "example", &cloudprovider.TanzuArgs{ Name: pulumi.String("example"), Endpoint: pulumi.String("https://endpoint.com"), SkipValidation: pulumi.Bool(true), Username: pulumi.String("<USERNAME>"), PasswordSecretName: tanzuPassword.Name, }) if err != nil { return err } return nil }) }
```
## Import
Import using the Harness Tanzu cloud provider id.
```sh $ pulumi import harness:cloudprovider/tanzu:Tanzu example <provider_id> ```
func GetTanzu ¶
func GetTanzu(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TanzuState, opts ...pulumi.ResourceOption) (*Tanzu, error)
GetTanzu gets an existing Tanzu 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 NewTanzu ¶
func NewTanzu(ctx *pulumi.Context, name string, args *TanzuArgs, opts ...pulumi.ResourceOption) (*Tanzu, error)
NewTanzu registers a new resource with the given unique name, arguments, and options.
func (*Tanzu) ElementType ¶
func (*Tanzu) ToTanzuOutput ¶
func (i *Tanzu) ToTanzuOutput() TanzuOutput
func (*Tanzu) ToTanzuOutputWithContext ¶
func (i *Tanzu) ToTanzuOutputWithContext(ctx context.Context) TanzuOutput
type TanzuArgs ¶
type TanzuArgs struct { // The url of the Tanzu platform. Endpoint pulumi.StringInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the password to use to authenticate to Tanzu. PasswordSecretName pulumi.StringInput // Skip validation of Tanzu configuration. SkipValidation pulumi.BoolPtrInput // The username to use to authenticate to Tanzu. Username pulumi.StringPtrInput // The name of the Harness secret containing the username to authenticate to Tanzu with. UsernameSecretName pulumi.StringPtrInput }
The set of arguments for constructing a Tanzu resource.
func (TanzuArgs) ElementType ¶
type TanzuArray ¶
type TanzuArray []TanzuInput
func (TanzuArray) ElementType ¶
func (TanzuArray) ElementType() reflect.Type
func (TanzuArray) ToTanzuArrayOutput ¶
func (i TanzuArray) ToTanzuArrayOutput() TanzuArrayOutput
func (TanzuArray) ToTanzuArrayOutputWithContext ¶
func (i TanzuArray) ToTanzuArrayOutputWithContext(ctx context.Context) TanzuArrayOutput
type TanzuArrayInput ¶
type TanzuArrayInput interface { pulumi.Input ToTanzuArrayOutput() TanzuArrayOutput ToTanzuArrayOutputWithContext(context.Context) TanzuArrayOutput }
TanzuArrayInput is an input type that accepts TanzuArray and TanzuArrayOutput values. You can construct a concrete instance of `TanzuArrayInput` via:
TanzuArray{ TanzuArgs{...} }
type TanzuArrayOutput ¶
type TanzuArrayOutput struct{ *pulumi.OutputState }
func (TanzuArrayOutput) ElementType ¶
func (TanzuArrayOutput) ElementType() reflect.Type
func (TanzuArrayOutput) Index ¶
func (o TanzuArrayOutput) Index(i pulumi.IntInput) TanzuOutput
func (TanzuArrayOutput) ToTanzuArrayOutput ¶
func (o TanzuArrayOutput) ToTanzuArrayOutput() TanzuArrayOutput
func (TanzuArrayOutput) ToTanzuArrayOutputWithContext ¶
func (o TanzuArrayOutput) ToTanzuArrayOutputWithContext(ctx context.Context) TanzuArrayOutput
type TanzuInput ¶
type TanzuInput interface { pulumi.Input ToTanzuOutput() TanzuOutput ToTanzuOutputWithContext(ctx context.Context) TanzuOutput }
type TanzuMap ¶
type TanzuMap map[string]TanzuInput
func (TanzuMap) ElementType ¶
func (TanzuMap) ToTanzuMapOutput ¶
func (i TanzuMap) ToTanzuMapOutput() TanzuMapOutput
func (TanzuMap) ToTanzuMapOutputWithContext ¶
func (i TanzuMap) ToTanzuMapOutputWithContext(ctx context.Context) TanzuMapOutput
type TanzuMapInput ¶
type TanzuMapInput interface { pulumi.Input ToTanzuMapOutput() TanzuMapOutput ToTanzuMapOutputWithContext(context.Context) TanzuMapOutput }
TanzuMapInput is an input type that accepts TanzuMap and TanzuMapOutput values. You can construct a concrete instance of `TanzuMapInput` via:
TanzuMap{ "key": TanzuArgs{...} }
type TanzuMapOutput ¶
type TanzuMapOutput struct{ *pulumi.OutputState }
func (TanzuMapOutput) ElementType ¶
func (TanzuMapOutput) ElementType() reflect.Type
func (TanzuMapOutput) MapIndex ¶
func (o TanzuMapOutput) MapIndex(k pulumi.StringInput) TanzuOutput
func (TanzuMapOutput) ToTanzuMapOutput ¶
func (o TanzuMapOutput) ToTanzuMapOutput() TanzuMapOutput
func (TanzuMapOutput) ToTanzuMapOutputWithContext ¶
func (o TanzuMapOutput) ToTanzuMapOutputWithContext(ctx context.Context) TanzuMapOutput
type TanzuOutput ¶
type TanzuOutput struct{ *pulumi.OutputState }
func (TanzuOutput) ElementType ¶
func (TanzuOutput) ElementType() reflect.Type
func (TanzuOutput) Endpoint ¶
func (o TanzuOutput) Endpoint() pulumi.StringOutput
The url of the Tanzu platform.
func (TanzuOutput) Name ¶
func (o TanzuOutput) Name() pulumi.StringOutput
The name of the cloud provider.
func (TanzuOutput) PasswordSecretName ¶
func (o TanzuOutput) PasswordSecretName() pulumi.StringOutput
The name of the Harness secret containing the password to use to authenticate to Tanzu.
func (TanzuOutput) SkipValidation ¶
func (o TanzuOutput) SkipValidation() pulumi.BoolPtrOutput
Skip validation of Tanzu configuration.
func (TanzuOutput) ToTanzuOutput ¶
func (o TanzuOutput) ToTanzuOutput() TanzuOutput
func (TanzuOutput) ToTanzuOutputWithContext ¶
func (o TanzuOutput) ToTanzuOutputWithContext(ctx context.Context) TanzuOutput
func (TanzuOutput) Username ¶
func (o TanzuOutput) Username() pulumi.StringPtrOutput
The username to use to authenticate to Tanzu.
func (TanzuOutput) UsernameSecretName ¶
func (o TanzuOutput) UsernameSecretName() pulumi.StringPtrOutput
The name of the Harness secret containing the username to authenticate to Tanzu with.
type TanzuState ¶
type TanzuState struct { // The url of the Tanzu platform. Endpoint pulumi.StringPtrInput // The name of the cloud provider. Name pulumi.StringPtrInput // The name of the Harness secret containing the password to use to authenticate to Tanzu. PasswordSecretName pulumi.StringPtrInput // Skip validation of Tanzu configuration. SkipValidation pulumi.BoolPtrInput // The username to use to authenticate to Tanzu. Username pulumi.StringPtrInput // The name of the Harness secret containing the username to authenticate to Tanzu with. UsernameSecretName pulumi.StringPtrInput }
func (TanzuState) ElementType ¶
func (TanzuState) ElementType() reflect.Type