Documentation
¶
Overview ¶
A Pulumi package for creating and managing consul resources.
Index ¶
- type AclAuthMethod
- type AclAuthMethodArgs
- type AclAuthMethodState
- type AclBindingRule
- type AclBindingRuleArgs
- type AclBindingRuleState
- type AclPolicy
- type AclPolicyArgs
- type AclPolicyState
- type AclRole
- type AclRoleArgs
- type AclRoleServiceIdentity
- type AclRoleServiceIdentityArgs
- type AclRoleServiceIdentityArray
- func (AclRoleServiceIdentityArray) ElementType() reflect.Type
- func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput
- func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput
- type AclRoleServiceIdentityArrayInput
- type AclRoleServiceIdentityArrayOutput
- func (AclRoleServiceIdentityArrayOutput) ElementType() reflect.Type
- func (o AclRoleServiceIdentityArrayOutput) Index(i pulumi.IntInput) AclRoleServiceIdentityOutput
- func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput
- func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput
- type AclRoleServiceIdentityInput
- type AclRoleServiceIdentityOutput
- func (o AclRoleServiceIdentityOutput) Datacenters() pulumi.StringArrayOutput
- func (AclRoleServiceIdentityOutput) ElementType() reflect.Type
- func (o AclRoleServiceIdentityOutput) ServiceName() pulumi.StringOutput
- func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput
- func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext(ctx context.Context) AclRoleServiceIdentityOutput
- type AclRoleState
- type AclToken
- type AclTokenArgs
- type AclTokenPolicyAttachment
- type AclTokenPolicyAttachmentArgs
- type AclTokenPolicyAttachmentState
- type AclTokenState
- type AgentService
- type AgentServiceArgs
- type AgentServiceState
- type AutopilotConfig
- type AutopilotConfigArgs
- type AutopilotConfigState
- type CatalogEntry
- type CatalogEntryArgs
- type CatalogEntryService
- type CatalogEntryServiceArgs
- type CatalogEntryServiceArray
- type CatalogEntryServiceArrayInput
- type CatalogEntryServiceArrayOutput
- func (CatalogEntryServiceArrayOutput) ElementType() reflect.Type
- func (o CatalogEntryServiceArrayOutput) Index(i pulumi.IntInput) CatalogEntryServiceOutput
- func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput
- func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext(ctx context.Context) CatalogEntryServiceArrayOutput
- type CatalogEntryServiceInput
- type CatalogEntryServiceOutput
- func (o CatalogEntryServiceOutput) Address() pulumi.StringPtrOutput
- func (CatalogEntryServiceOutput) ElementType() reflect.Type
- func (o CatalogEntryServiceOutput) Id() pulumi.StringPtrOutput
- func (o CatalogEntryServiceOutput) Name() pulumi.StringOutput
- func (o CatalogEntryServiceOutput) Port() pulumi.IntPtrOutput
- func (o CatalogEntryServiceOutput) Tags() pulumi.StringArrayOutput
- func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput
- func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext(ctx context.Context) CatalogEntryServiceOutput
- type CatalogEntryState
- type ConfigEntry
- type ConfigEntryArgs
- type ConfigEntryState
- type GetAclRolePolicy
- type GetAclRolePolicyArgs
- type GetAclRolePolicyArray
- type GetAclRolePolicyArrayInput
- type GetAclRolePolicyArrayOutput
- func (GetAclRolePolicyArrayOutput) ElementType() reflect.Type
- func (o GetAclRolePolicyArrayOutput) Index(i pulumi.IntInput) GetAclRolePolicyOutput
- func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput
- func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext(ctx context.Context) GetAclRolePolicyArrayOutput
- type GetAclRolePolicyInput
- type GetAclRolePolicyOutput
- func (GetAclRolePolicyOutput) ElementType() reflect.Type
- func (o GetAclRolePolicyOutput) Id() pulumi.StringOutput
- func (o GetAclRolePolicyOutput) Name() pulumi.StringOutput
- func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput
- func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext(ctx context.Context) GetAclRolePolicyOutput
- type GetAclRoleServiceIdentity
- type GetAclRoleServiceIdentityArgs
- func (GetAclRoleServiceIdentityArgs) ElementType() reflect.Type
- func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput
- func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput
- type GetAclRoleServiceIdentityArray
- func (GetAclRoleServiceIdentityArray) ElementType() reflect.Type
- func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput
- func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput
- type GetAclRoleServiceIdentityArrayInput
- type GetAclRoleServiceIdentityArrayOutput
- func (GetAclRoleServiceIdentityArrayOutput) ElementType() reflect.Type
- func (o GetAclRoleServiceIdentityArrayOutput) Index(i pulumi.IntInput) GetAclRoleServiceIdentityOutput
- func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput
- func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput
- type GetAclRoleServiceIdentityInput
- type GetAclRoleServiceIdentityOutput
- func (o GetAclRoleServiceIdentityOutput) Datacenters() pulumi.StringArrayOutput
- func (GetAclRoleServiceIdentityOutput) ElementType() reflect.Type
- func (o GetAclRoleServiceIdentityOutput) ServiceName() pulumi.StringPtrOutput
- func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput
- func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput
- type GetAclTokenPolicy
- type GetAclTokenPolicyArgs
- type GetAclTokenPolicyArray
- type GetAclTokenPolicyArrayInput
- type GetAclTokenPolicyArrayOutput
- func (GetAclTokenPolicyArrayOutput) ElementType() reflect.Type
- func (o GetAclTokenPolicyArrayOutput) Index(i pulumi.IntInput) GetAclTokenPolicyOutput
- func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput
- func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenPolicyArrayOutput
- type GetAclTokenPolicyInput
- type GetAclTokenPolicyOutput
- func (GetAclTokenPolicyOutput) ElementType() reflect.Type
- func (o GetAclTokenPolicyOutput) Id() pulumi.StringOutput
- func (o GetAclTokenPolicyOutput) Name() pulumi.StringOutput
- func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput
- func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext(ctx context.Context) GetAclTokenPolicyOutput
- type GetAclTokenSecretIdArgs
- type GetAclTokenSecretIdResult
- type GetAgentConfigResult
- type GetAgentSelfResult
- type GetAutopilotHealthArgs
- type GetAutopilotHealthResult
- type GetAutopilotHealthServer
- type GetAutopilotHealthServerArgs
- func (GetAutopilotHealthServerArgs) ElementType() reflect.Type
- func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput
- func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput
- type GetAutopilotHealthServerArray
- func (GetAutopilotHealthServerArray) ElementType() reflect.Type
- func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput
- func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput
- type GetAutopilotHealthServerArrayInput
- type GetAutopilotHealthServerArrayOutput
- func (GetAutopilotHealthServerArrayOutput) ElementType() reflect.Type
- func (o GetAutopilotHealthServerArrayOutput) Index(i pulumi.IntInput) GetAutopilotHealthServerOutput
- func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput
- func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput
- type GetAutopilotHealthServerInput
- type GetAutopilotHealthServerOutput
- func (o GetAutopilotHealthServerOutput) Address() pulumi.StringOutput
- func (GetAutopilotHealthServerOutput) ElementType() reflect.Type
- func (o GetAutopilotHealthServerOutput) Healthy() pulumi.BoolOutput
- func (o GetAutopilotHealthServerOutput) Id() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) LastContact() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) LastIndex() pulumi.IntOutput
- func (o GetAutopilotHealthServerOutput) LastTerm() pulumi.IntOutput
- func (o GetAutopilotHealthServerOutput) Leader() pulumi.BoolOutput
- func (o GetAutopilotHealthServerOutput) Name() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) SerfStatus() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) StableSince() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput
- func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput
- func (o GetAutopilotHealthServerOutput) Version() pulumi.StringOutput
- func (o GetAutopilotHealthServerOutput) Voter() pulumi.BoolOutput
- type GetCatalogNodesArgs
- type GetCatalogNodesNode
- type GetCatalogNodesNodeArgs
- type GetCatalogNodesNodeArray
- type GetCatalogNodesNodeArrayInput
- type GetCatalogNodesNodeArrayOutput
- func (GetCatalogNodesNodeArrayOutput) ElementType() reflect.Type
- func (o GetCatalogNodesNodeArrayOutput) Index(i pulumi.IntInput) GetCatalogNodesNodeOutput
- func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput
- func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext(ctx context.Context) GetCatalogNodesNodeArrayOutput
- type GetCatalogNodesNodeInput
- type GetCatalogNodesNodeOutput
- func (o GetCatalogNodesNodeOutput) Address() pulumi.StringOutput
- func (GetCatalogNodesNodeOutput) ElementType() reflect.Type
- func (o GetCatalogNodesNodeOutput) Id() pulumi.StringOutput
- func (o GetCatalogNodesNodeOutput) Meta() pulumi.StringMapOutput
- func (o GetCatalogNodesNodeOutput) Name() pulumi.StringOutput
- func (o GetCatalogNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput
- func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput
- func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext(ctx context.Context) GetCatalogNodesNodeOutput
- type GetCatalogNodesQueryOption
- type GetCatalogNodesQueryOptionArgs
- func (GetCatalogNodesQueryOptionArgs) ElementType() reflect.Type
- func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput
- func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput
- type GetCatalogNodesQueryOptionArray
- func (GetCatalogNodesQueryOptionArray) ElementType() reflect.Type
- func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput
- func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput
- type GetCatalogNodesQueryOptionArrayInput
- type GetCatalogNodesQueryOptionArrayOutput
- func (GetCatalogNodesQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetCatalogNodesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetCatalogNodesQueryOptionOutput
- func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput
- func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput
- type GetCatalogNodesQueryOptionInput
- type GetCatalogNodesQueryOptionOutput
- func (o GetCatalogNodesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetCatalogNodesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetCatalogNodesQueryOptionOutput) ElementType() reflect.Type
- func (o GetCatalogNodesQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetCatalogNodesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetCatalogNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput
- func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput
- func (o GetCatalogNodesQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetCatalogNodesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetCatalogNodesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetCatalogNodesResult
- type GetCatalogServiceArgs
- type GetCatalogServiceQueryOption
- type GetCatalogServiceQueryOptionArgs
- func (GetCatalogServiceQueryOptionArgs) ElementType() reflect.Type
- func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput
- func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput
- type GetCatalogServiceQueryOptionArray
- func (GetCatalogServiceQueryOptionArray) ElementType() reflect.Type
- func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput
- func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput
- type GetCatalogServiceQueryOptionArrayInput
- type GetCatalogServiceQueryOptionArrayOutput
- func (GetCatalogServiceQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetCatalogServiceQueryOptionArrayOutput) Index(i pulumi.IntInput) GetCatalogServiceQueryOptionOutput
- func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput
- func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput
- type GetCatalogServiceQueryOptionInput
- type GetCatalogServiceQueryOptionOutput
- func (o GetCatalogServiceQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetCatalogServiceQueryOptionOutput) ElementType() reflect.Type
- func (o GetCatalogServiceQueryOptionOutput) Namespace() pulumi.StringPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetCatalogServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput
- func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput
- func (o GetCatalogServiceQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetCatalogServiceQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetCatalogServiceResult
- type GetCatalogServiceService
- type GetCatalogServiceServiceArgs
- func (GetCatalogServiceServiceArgs) ElementType() reflect.Type
- func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput
- func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput
- type GetCatalogServiceServiceArray
- func (GetCatalogServiceServiceArray) ElementType() reflect.Type
- func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput
- func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput
- type GetCatalogServiceServiceArrayInput
- type GetCatalogServiceServiceArrayOutput
- func (GetCatalogServiceServiceArrayOutput) ElementType() reflect.Type
- func (o GetCatalogServiceServiceArrayOutput) Index(i pulumi.IntInput) GetCatalogServiceServiceOutput
- func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput
- func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput
- type GetCatalogServiceServiceInput
- type GetCatalogServiceServiceOutput
- func (o GetCatalogServiceServiceOutput) Address() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) CreateIndex() pulumi.StringOutput
- func (GetCatalogServiceServiceOutput) ElementType() reflect.Type
- func (o GetCatalogServiceServiceOutput) EnableTagOverride() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) Id() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) Meta() pulumi.StringMapOutput
- func (o GetCatalogServiceServiceOutput) ModifyIndex() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) Name() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) NodeAddress() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) NodeId() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetCatalogServiceServiceOutput) NodeName() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) Port() pulumi.StringOutput
- func (o GetCatalogServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput
- func (o GetCatalogServiceServiceOutput) Tags() pulumi.StringArrayOutput
- func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput
- func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput
- type GetCatalogServicesArgs
- type GetCatalogServicesQueryOption
- type GetCatalogServicesQueryOptionArgs
- func (GetCatalogServicesQueryOptionArgs) ElementType() reflect.Type
- func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput
- func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput
- type GetCatalogServicesQueryOptionArray
- func (GetCatalogServicesQueryOptionArray) ElementType() reflect.Type
- func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput
- func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput
- type GetCatalogServicesQueryOptionArrayInput
- type GetCatalogServicesQueryOptionArrayOutput
- func (GetCatalogServicesQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetCatalogServicesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetCatalogServicesQueryOptionOutput
- func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput
- func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput
- type GetCatalogServicesQueryOptionInput
- type GetCatalogServicesQueryOptionOutput
- func (o GetCatalogServicesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetCatalogServicesQueryOptionOutput) ElementType() reflect.Type
- func (o GetCatalogServicesQueryOptionOutput) Namespace() pulumi.StringPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetCatalogServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput
- func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput
- func (o GetCatalogServicesQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetCatalogServicesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetCatalogServicesResult
- type GetKeyPrefixSubkeyCollection
- type GetKeyPrefixSubkeyCollectionArgs
- func (GetKeyPrefixSubkeyCollectionArgs) ElementType() reflect.Type
- func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput
- func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput
- type GetKeyPrefixSubkeyCollectionArray
- func (GetKeyPrefixSubkeyCollectionArray) ElementType() reflect.Type
- func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput
- func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput
- type GetKeyPrefixSubkeyCollectionArrayInput
- type GetKeyPrefixSubkeyCollectionArrayOutput
- func (GetKeyPrefixSubkeyCollectionArrayOutput) ElementType() reflect.Type
- func (o GetKeyPrefixSubkeyCollectionArrayOutput) Index(i pulumi.IntInput) GetKeyPrefixSubkeyCollectionOutput
- func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput
- func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput
- type GetKeyPrefixSubkeyCollectionInput
- type GetKeyPrefixSubkeyCollectionOutput
- func (o GetKeyPrefixSubkeyCollectionOutput) Default() pulumi.StringPtrOutput
- func (GetKeyPrefixSubkeyCollectionOutput) ElementType() reflect.Type
- func (o GetKeyPrefixSubkeyCollectionOutput) Name() pulumi.StringOutput
- func (o GetKeyPrefixSubkeyCollectionOutput) Path() pulumi.StringOutput
- func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput
- func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput
- type GetKeysKey
- type GetKeysKeyArgs
- type GetKeysKeyArray
- type GetKeysKeyArrayInput
- type GetKeysKeyArrayOutput
- func (GetKeysKeyArrayOutput) ElementType() reflect.Type
- func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput
- func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
- func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
- type GetKeysKeyInput
- type GetKeysKeyOutput
- func (o GetKeysKeyOutput) Default() pulumi.StringPtrOutput
- func (GetKeysKeyOutput) ElementType() reflect.Type
- func (o GetKeysKeyOutput) Name() pulumi.StringOutput
- func (o GetKeysKeyOutput) Path() pulumi.StringOutput
- func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput
- func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
- type GetNodesArgs
- type GetNodesNode
- type GetNodesNodeArgs
- type GetNodesNodeArray
- type GetNodesNodeArrayInput
- type GetNodesNodeArrayOutput
- func (GetNodesNodeArrayOutput) ElementType() reflect.Type
- func (o GetNodesNodeArrayOutput) Index(i pulumi.IntInput) GetNodesNodeOutput
- func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
- func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
- type GetNodesNodeInput
- type GetNodesNodeOutput
- func (o GetNodesNodeOutput) Address() pulumi.StringOutput
- func (GetNodesNodeOutput) ElementType() reflect.Type
- func (o GetNodesNodeOutput) Id() pulumi.StringOutput
- func (o GetNodesNodeOutput) Meta() pulumi.StringMapOutput
- func (o GetNodesNodeOutput) Name() pulumi.StringOutput
- func (o GetNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput
- func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput
- func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
- type GetNodesQueryOption
- type GetNodesQueryOptionArgs
- type GetNodesQueryOptionArray
- type GetNodesQueryOptionArrayInput
- type GetNodesQueryOptionArrayOutput
- func (GetNodesQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetNodesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetNodesQueryOptionOutput
- func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput
- func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetNodesQueryOptionArrayOutput
- type GetNodesQueryOptionInput
- type GetNodesQueryOptionOutput
- func (o GetNodesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetNodesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetNodesQueryOptionOutput) ElementType() reflect.Type
- func (o GetNodesQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetNodesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput
- func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext(ctx context.Context) GetNodesQueryOptionOutput
- func (o GetNodesQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetNodesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetNodesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetNodesResult
- type GetServiceHealthArgs
- type GetServiceHealthResult
- type GetServiceHealthResultCheck
- type GetServiceHealthResultCheckArgs
- func (GetServiceHealthResultCheckArgs) ElementType() reflect.Type
- func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput
- func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput
- type GetServiceHealthResultCheckArray
- func (GetServiceHealthResultCheckArray) ElementType() reflect.Type
- func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput
- func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput
- type GetServiceHealthResultCheckArrayInput
- type GetServiceHealthResultCheckArrayOutput
- func (GetServiceHealthResultCheckArrayOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultCheckArrayOutput) Index(i pulumi.IntInput) GetServiceHealthResultCheckOutput
- func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput
- func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput
- type GetServiceHealthResultCheckInput
- type GetServiceHealthResultCheckOutput
- func (GetServiceHealthResultCheckOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultCheckOutput) Id() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) Name() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) Node() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) Notes() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) Output() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) ServiceId() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) ServiceName() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) ServiceTags() pulumi.StringArrayOutput
- func (o GetServiceHealthResultCheckOutput) Status() pulumi.StringOutput
- func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput
- func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput
- type GetServiceHealthResultNode
- type GetServiceHealthResultNodeArgs
- func (GetServiceHealthResultNodeArgs) ElementType() reflect.Type
- func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput
- func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput
- type GetServiceHealthResultNodeInput
- type GetServiceHealthResultNodeOutput
- func (o GetServiceHealthResultNodeOutput) Address() pulumi.StringOutput
- func (o GetServiceHealthResultNodeOutput) Datacenter() pulumi.StringOutput
- func (GetServiceHealthResultNodeOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultNodeOutput) Id() pulumi.StringOutput
- func (o GetServiceHealthResultNodeOutput) Meta() pulumi.StringMapOutput
- func (o GetServiceHealthResultNodeOutput) Name() pulumi.StringOutput
- func (o GetServiceHealthResultNodeOutput) TaggedAddresses() pulumi.StringMapOutput
- func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput
- func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput
- type GetServiceHealthResultService
- type GetServiceHealthResultServiceArgs
- func (GetServiceHealthResultServiceArgs) ElementType() reflect.Type
- func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput
- func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput
- type GetServiceHealthResultServiceInput
- type GetServiceHealthResultServiceOutput
- func (o GetServiceHealthResultServiceOutput) Address() pulumi.StringOutput
- func (GetServiceHealthResultServiceOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultServiceOutput) Id() pulumi.StringOutput
- func (o GetServiceHealthResultServiceOutput) Meta() pulumi.StringMapOutput
- func (o GetServiceHealthResultServiceOutput) Name() pulumi.StringOutput
- func (o GetServiceHealthResultServiceOutput) Port() pulumi.IntOutput
- func (o GetServiceHealthResultServiceOutput) Tags() pulumi.StringArrayOutput
- func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput
- func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput
- type GetServiceHealthResultType
- type GetServiceHealthResultTypeArgs
- func (GetServiceHealthResultTypeArgs) ElementType() reflect.Type
- func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput
- func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput
- type GetServiceHealthResultTypeArray
- func (GetServiceHealthResultTypeArray) ElementType() reflect.Type
- func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput
- func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput
- type GetServiceHealthResultTypeArrayInput
- type GetServiceHealthResultTypeArrayOutput
- func (GetServiceHealthResultTypeArrayOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultTypeArrayOutput) Index(i pulumi.IntInput) GetServiceHealthResultTypeOutput
- func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput
- func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput
- type GetServiceHealthResultTypeInput
- type GetServiceHealthResultTypeOutput
- func (o GetServiceHealthResultTypeOutput) Checks() GetServiceHealthResultCheckArrayOutput
- func (GetServiceHealthResultTypeOutput) ElementType() reflect.Type
- func (o GetServiceHealthResultTypeOutput) Node() GetServiceHealthResultNodeOutput
- func (o GetServiceHealthResultTypeOutput) Service() GetServiceHealthResultServiceOutput
- func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput
- func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput
- type GetServiceQueryOption
- type GetServiceQueryOptionArgs
- type GetServiceQueryOptionArray
- func (GetServiceQueryOptionArray) ElementType() reflect.Type
- func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput
- func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput
- type GetServiceQueryOptionArrayInput
- type GetServiceQueryOptionArrayOutput
- func (GetServiceQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetServiceQueryOptionArrayOutput) Index(i pulumi.IntInput) GetServiceQueryOptionOutput
- func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput
- func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput
- type GetServiceQueryOptionInput
- type GetServiceQueryOptionOutput
- func (o GetServiceQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetServiceQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetServiceQueryOptionOutput) ElementType() reflect.Type
- func (o GetServiceQueryOptionOutput) Namespace() pulumi.StringPtrOutput
- func (o GetServiceQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetServiceQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput
- func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext(ctx context.Context) GetServiceQueryOptionOutput
- func (o GetServiceQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetServiceQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetServiceQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetServiceService
- type GetServiceServiceArgs
- type GetServiceServiceArray
- type GetServiceServiceArrayInput
- type GetServiceServiceArrayOutput
- func (GetServiceServiceArrayOutput) ElementType() reflect.Type
- func (o GetServiceServiceArrayOutput) Index(i pulumi.IntInput) GetServiceServiceOutput
- func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput
- func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext(ctx context.Context) GetServiceServiceArrayOutput
- type GetServiceServiceInput
- type GetServiceServiceOutput
- func (o GetServiceServiceOutput) Address() pulumi.StringOutput
- func (o GetServiceServiceOutput) CreateIndex() pulumi.StringOutput
- func (GetServiceServiceOutput) ElementType() reflect.Type
- func (o GetServiceServiceOutput) EnableTagOverride() pulumi.StringOutput
- func (o GetServiceServiceOutput) Id() pulumi.StringOutput
- func (o GetServiceServiceOutput) Meta() pulumi.StringMapOutput
- func (o GetServiceServiceOutput) ModifyIndex() pulumi.StringOutput
- func (o GetServiceServiceOutput) Name() pulumi.StringOutput
- func (o GetServiceServiceOutput) NodeAddress() pulumi.StringOutput
- func (o GetServiceServiceOutput) NodeId() pulumi.StringOutput
- func (o GetServiceServiceOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetServiceServiceOutput) NodeName() pulumi.StringOutput
- func (o GetServiceServiceOutput) Port() pulumi.StringOutput
- func (o GetServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput
- func (o GetServiceServiceOutput) Tags() pulumi.StringArrayOutput
- func (o GetServiceServiceOutput) ToGetServiceServiceOutput() GetServiceServiceOutput
- func (o GetServiceServiceOutput) ToGetServiceServiceOutputWithContext(ctx context.Context) GetServiceServiceOutput
- type GetServicesArgs
- type GetServicesQueryOption
- type GetServicesQueryOptionArgs
- type GetServicesQueryOptionArray
- func (GetServicesQueryOptionArray) ElementType() reflect.Type
- func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput
- func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput
- type GetServicesQueryOptionArrayInput
- type GetServicesQueryOptionArrayOutput
- func (GetServicesQueryOptionArrayOutput) ElementType() reflect.Type
- func (o GetServicesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetServicesQueryOptionOutput
- func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput
- func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput
- type GetServicesQueryOptionInput
- type GetServicesQueryOptionOutput
- func (o GetServicesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
- func (o GetServicesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
- func (GetServicesQueryOptionOutput) ElementType() reflect.Type
- func (o GetServicesQueryOptionOutput) Namespace() pulumi.StringPtrOutput
- func (o GetServicesQueryOptionOutput) Near() pulumi.StringPtrOutput
- func (o GetServicesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
- func (o GetServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
- func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput
- func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext(ctx context.Context) GetServicesQueryOptionOutput
- func (o GetServicesQueryOptionOutput) Token() pulumi.StringPtrOutput
- func (o GetServicesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
- func (o GetServicesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
- type GetServicesResult
- type Intention
- type IntentionArgs
- type IntentionState
- type KeyPrefix
- type KeyPrefixArgs
- type KeyPrefixState
- type KeyPrefixSubkeyCollection
- type KeyPrefixSubkeyCollectionArgs
- func (KeyPrefixSubkeyCollectionArgs) ElementType() reflect.Type
- func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput
- func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput
- type KeyPrefixSubkeyCollectionArray
- func (KeyPrefixSubkeyCollectionArray) ElementType() reflect.Type
- func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput
- func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput
- type KeyPrefixSubkeyCollectionArrayInput
- type KeyPrefixSubkeyCollectionArrayOutput
- func (KeyPrefixSubkeyCollectionArrayOutput) ElementType() reflect.Type
- func (o KeyPrefixSubkeyCollectionArrayOutput) Index(i pulumi.IntInput) KeyPrefixSubkeyCollectionOutput
- func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput
- func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput
- type KeyPrefixSubkeyCollectionInput
- type KeyPrefixSubkeyCollectionOutput
- func (KeyPrefixSubkeyCollectionOutput) ElementType() reflect.Type
- func (o KeyPrefixSubkeyCollectionOutput) Flags() pulumi.IntPtrOutput
- func (o KeyPrefixSubkeyCollectionOutput) Path() pulumi.StringOutput
- func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput
- func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput
- func (o KeyPrefixSubkeyCollectionOutput) Value() pulumi.StringOutput
- type Keys
- type KeysArgs
- type KeysKey
- type KeysKeyArgs
- type KeysKeyArray
- type KeysKeyArrayInput
- type KeysKeyArrayOutput
- type KeysKeyInput
- type KeysKeyOutput
- func (o KeysKeyOutput) Default() pulumi.StringPtrOutput
- func (o KeysKeyOutput) Delete() pulumi.BoolPtrOutput
- func (KeysKeyOutput) ElementType() reflect.Type
- func (o KeysKeyOutput) Flags() pulumi.IntPtrOutput
- func (o KeysKeyOutput) Name() pulumi.StringPtrOutput
- func (o KeysKeyOutput) Path() pulumi.StringOutput
- func (o KeysKeyOutput) ToKeysKeyOutput() KeysKeyOutput
- func (o KeysKeyOutput) ToKeysKeyOutputWithContext(ctx context.Context) KeysKeyOutput
- func (o KeysKeyOutput) Value() pulumi.StringPtrOutput
- type KeysState
- type LookupAclAuthMethodArgs
- type LookupAclAuthMethodResult
- type LookupAclPolicyArgs
- type LookupAclPolicyResult
- type LookupAclRoleArgs
- type LookupAclRoleResult
- type LookupAclTokenArgs
- type LookupAclTokenResult
- type LookupKeyPrefixArgs
- type LookupKeyPrefixResult
- type LookupKeysArgs
- type LookupKeysResult
- type LookupServiceArgs
- type LookupServiceResult
- type Node
- type NodeArgs
- type NodeState
- type PreparedQuery
- type PreparedQueryArgs
- type PreparedQueryDns
- type PreparedQueryDnsArgs
- func (PreparedQueryDnsArgs) ElementType() reflect.Type
- func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput
- func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput
- func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
- func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
- type PreparedQueryDnsInput
- type PreparedQueryDnsOutput
- func (PreparedQueryDnsOutput) ElementType() reflect.Type
- func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput
- func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput
- func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
- func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
- func (o PreparedQueryDnsOutput) Ttl() pulumi.StringPtrOutput
- type PreparedQueryDnsPtrInput
- type PreparedQueryDnsPtrOutput
- func (o PreparedQueryDnsPtrOutput) Elem() PreparedQueryDnsOutput
- func (PreparedQueryDnsPtrOutput) ElementType() reflect.Type
- func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
- func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
- func (o PreparedQueryDnsPtrOutput) Ttl() pulumi.StringPtrOutput
- type PreparedQueryFailover
- type PreparedQueryFailoverArgs
- func (PreparedQueryFailoverArgs) ElementType() reflect.Type
- func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput
- func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput
- func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
- func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
- type PreparedQueryFailoverInput
- type PreparedQueryFailoverOutput
- func (o PreparedQueryFailoverOutput) Datacenters() pulumi.StringArrayOutput
- func (PreparedQueryFailoverOutput) ElementType() reflect.Type
- func (o PreparedQueryFailoverOutput) NearestN() pulumi.IntPtrOutput
- func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput
- func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput
- func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
- func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
- type PreparedQueryFailoverPtrInput
- type PreparedQueryFailoverPtrOutput
- func (o PreparedQueryFailoverPtrOutput) Datacenters() pulumi.StringArrayOutput
- func (o PreparedQueryFailoverPtrOutput) Elem() PreparedQueryFailoverOutput
- func (PreparedQueryFailoverPtrOutput) ElementType() reflect.Type
- func (o PreparedQueryFailoverPtrOutput) NearestN() pulumi.IntPtrOutput
- func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
- func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
- type PreparedQueryState
- type PreparedQueryTemplate
- type PreparedQueryTemplateArgs
- func (PreparedQueryTemplateArgs) ElementType() reflect.Type
- func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput
- func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput
- func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
- func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
- type PreparedQueryTemplateInput
- type PreparedQueryTemplateOutput
- func (PreparedQueryTemplateOutput) ElementType() reflect.Type
- func (o PreparedQueryTemplateOutput) Regexp() pulumi.StringOutput
- func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput
- func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput
- func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
- func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
- func (o PreparedQueryTemplateOutput) Type() pulumi.StringOutput
- type PreparedQueryTemplatePtrInput
- type PreparedQueryTemplatePtrOutput
- func (o PreparedQueryTemplatePtrOutput) Elem() PreparedQueryTemplateOutput
- func (PreparedQueryTemplatePtrOutput) ElementType() reflect.Type
- func (o PreparedQueryTemplatePtrOutput) Regexp() pulumi.StringPtrOutput
- func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
- func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
- func (o PreparedQueryTemplatePtrOutput) Type() pulumi.StringPtrOutput
- type Provider
- type ProviderArgs
- type Service
- type ServiceArgs
- type ServiceCheck
- type ServiceCheckArgs
- type ServiceCheckArray
- type ServiceCheckArrayInput
- type ServiceCheckArrayOutput
- func (ServiceCheckArrayOutput) ElementType() reflect.Type
- func (o ServiceCheckArrayOutput) Index(i pulumi.IntInput) ServiceCheckOutput
- func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutput() ServiceCheckArrayOutput
- func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext(ctx context.Context) ServiceCheckArrayOutput
- type ServiceCheckHeader
- type ServiceCheckHeaderArgs
- type ServiceCheckHeaderArray
- type ServiceCheckHeaderArrayInput
- type ServiceCheckHeaderArrayOutput
- func (ServiceCheckHeaderArrayOutput) ElementType() reflect.Type
- func (o ServiceCheckHeaderArrayOutput) Index(i pulumi.IntInput) ServiceCheckHeaderOutput
- func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput
- func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext(ctx context.Context) ServiceCheckHeaderArrayOutput
- type ServiceCheckHeaderInput
- type ServiceCheckHeaderOutput
- func (ServiceCheckHeaderOutput) ElementType() reflect.Type
- func (o ServiceCheckHeaderOutput) Name() pulumi.StringOutput
- func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput
- func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext(ctx context.Context) ServiceCheckHeaderOutput
- func (o ServiceCheckHeaderOutput) Values() pulumi.StringArrayOutput
- type ServiceCheckInput
- type ServiceCheckOutput
- func (o ServiceCheckOutput) CheckId() pulumi.StringOutput
- func (o ServiceCheckOutput) DeregisterCriticalServiceAfter() pulumi.StringPtrOutput
- func (ServiceCheckOutput) ElementType() reflect.Type
- func (o ServiceCheckOutput) Headers() ServiceCheckHeaderArrayOutput
- func (o ServiceCheckOutput) Http() pulumi.StringPtrOutput
- func (o ServiceCheckOutput) Interval() pulumi.StringOutput
- func (o ServiceCheckOutput) Method() pulumi.StringPtrOutput
- func (o ServiceCheckOutput) Name() pulumi.StringOutput
- func (o ServiceCheckOutput) Notes() pulumi.StringPtrOutput
- func (o ServiceCheckOutput) Status() pulumi.StringPtrOutput
- func (o ServiceCheckOutput) Tcp() pulumi.StringPtrOutput
- func (o ServiceCheckOutput) Timeout() pulumi.StringOutput
- func (o ServiceCheckOutput) TlsSkipVerify() pulumi.BoolPtrOutput
- func (o ServiceCheckOutput) ToServiceCheckOutput() ServiceCheckOutput
- func (o ServiceCheckOutput) ToServiceCheckOutputWithContext(ctx context.Context) ServiceCheckOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclAuthMethod ¶
type AclAuthMethod struct { pulumi.CustomResourceState // The raw configuration for this ACL auth method. Config pulumi.StringMapOutput `pulumi:"config"` // A free form human readable description of the auth method. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the ACL auth method. Name pulumi.StringOutput `pulumi:"name"` // The namespace to create the policy within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The type of the ACL auth method. Type pulumi.StringOutput `pulumi:"type"` }
Starting with Consul 1.5.0, the .AclAuthMethod resource can be used to managed Consul ACL auth methods.
func GetAclAuthMethod ¶
func GetAclAuthMethod(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclAuthMethodState, opts ...pulumi.ResourceOption) (*AclAuthMethod, error)
GetAclAuthMethod gets an existing AclAuthMethod 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 NewAclAuthMethod ¶
func NewAclAuthMethod(ctx *pulumi.Context, name string, args *AclAuthMethodArgs, opts ...pulumi.ResourceOption) (*AclAuthMethod, error)
NewAclAuthMethod registers a new resource with the given unique name, arguments, and options.
type AclAuthMethodArgs ¶
type AclAuthMethodArgs struct { // The raw configuration for this ACL auth method. Config pulumi.StringMapInput // A free form human readable description of the auth method. Description pulumi.StringPtrInput // The name of the ACL auth method. Name pulumi.StringPtrInput // The namespace to create the policy within. Namespace pulumi.StringPtrInput // The type of the ACL auth method. Type pulumi.StringInput }
The set of arguments for constructing a AclAuthMethod resource.
func (AclAuthMethodArgs) ElementType ¶
func (AclAuthMethodArgs) ElementType() reflect.Type
type AclAuthMethodState ¶
type AclAuthMethodState struct { // The raw configuration for this ACL auth method. Config pulumi.StringMapInput // A free form human readable description of the auth method. Description pulumi.StringPtrInput // The name of the ACL auth method. Name pulumi.StringPtrInput // The namespace to create the policy within. Namespace pulumi.StringPtrInput // The type of the ACL auth method. Type pulumi.StringPtrInput }
func (AclAuthMethodState) ElementType ¶
func (AclAuthMethodState) ElementType() reflect.Type
type AclBindingRule ¶
type AclBindingRule struct { pulumi.CustomResourceState // The name of the ACL auth method this rule apply. AuthMethod pulumi.StringOutput `pulumi:"authMethod"` // The name to bind to a token at login-time. BindName pulumi.StringOutput `pulumi:"bindName"` // Specifies the way the binding rule affects a token // created at login. BindType pulumi.StringOutput `pulumi:"bindType"` // A free form human readable description of the // binding rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The namespace to create the binding // rule within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The expression used to math this rule against valid // identities returned from an auth method validation. Selector pulumi.StringPtrOutput `pulumi:"selector"` }
Starting with Consul 1.5.0, the .AclBindingRule resource can be used to managed Consul ACL binding rules.
func GetAclBindingRule ¶
func GetAclBindingRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclBindingRuleState, opts ...pulumi.ResourceOption) (*AclBindingRule, error)
GetAclBindingRule gets an existing AclBindingRule 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 NewAclBindingRule ¶
func NewAclBindingRule(ctx *pulumi.Context, name string, args *AclBindingRuleArgs, opts ...pulumi.ResourceOption) (*AclBindingRule, error)
NewAclBindingRule registers a new resource with the given unique name, arguments, and options.
type AclBindingRuleArgs ¶
type AclBindingRuleArgs struct { // The name of the ACL auth method this rule apply. AuthMethod pulumi.StringInput // The name to bind to a token at login-time. BindName pulumi.StringInput // Specifies the way the binding rule affects a token // created at login. BindType pulumi.StringInput // A free form human readable description of the // binding rule. Description pulumi.StringPtrInput // The namespace to create the binding // rule within. Namespace pulumi.StringPtrInput // The expression used to math this rule against valid // identities returned from an auth method validation. Selector pulumi.StringPtrInput }
The set of arguments for constructing a AclBindingRule resource.
func (AclBindingRuleArgs) ElementType ¶
func (AclBindingRuleArgs) ElementType() reflect.Type
type AclBindingRuleState ¶
type AclBindingRuleState struct { // The name of the ACL auth method this rule apply. AuthMethod pulumi.StringPtrInput // The name to bind to a token at login-time. BindName pulumi.StringPtrInput // Specifies the way the binding rule affects a token // created at login. BindType pulumi.StringPtrInput // A free form human readable description of the // binding rule. Description pulumi.StringPtrInput // The namespace to create the binding // rule within. Namespace pulumi.StringPtrInput // The expression used to math this rule against valid // identities returned from an auth method validation. Selector pulumi.StringPtrInput }
func (AclBindingRuleState) ElementType ¶
func (AclBindingRuleState) ElementType() reflect.Type
type AclPolicy ¶
type AclPolicy struct { pulumi.CustomResourceState // The datacenters of the policy. Datacenters pulumi.StringArrayOutput `pulumi:"datacenters"` // The description of the policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the policy. Name pulumi.StringOutput `pulumi:"name"` // The namespace to create the policy within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The rules of the policy. Rules pulumi.StringOutput `pulumi:"rules"` }
Starting with Consul 1.4.0, the .AclPolicy can be used to managed Consul ACL policies.
func GetAclPolicy ¶
func GetAclPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclPolicyState, opts ...pulumi.ResourceOption) (*AclPolicy, error)
GetAclPolicy gets an existing AclPolicy 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 NewAclPolicy ¶
func NewAclPolicy(ctx *pulumi.Context, name string, args *AclPolicyArgs, opts ...pulumi.ResourceOption) (*AclPolicy, error)
NewAclPolicy registers a new resource with the given unique name, arguments, and options.
type AclPolicyArgs ¶
type AclPolicyArgs struct { // The datacenters of the policy. Datacenters pulumi.StringArrayInput // The description of the policy. Description pulumi.StringPtrInput // The name of the policy. Name pulumi.StringPtrInput // The namespace to create the policy within. Namespace pulumi.StringPtrInput // The rules of the policy. Rules pulumi.StringInput }
The set of arguments for constructing a AclPolicy resource.
func (AclPolicyArgs) ElementType ¶
func (AclPolicyArgs) ElementType() reflect.Type
type AclPolicyState ¶
type AclPolicyState struct { // The datacenters of the policy. Datacenters pulumi.StringArrayInput // The description of the policy. Description pulumi.StringPtrInput // The name of the policy. Name pulumi.StringPtrInput // The namespace to create the policy within. Namespace pulumi.StringPtrInput // The rules of the policy. Rules pulumi.StringPtrInput }
func (AclPolicyState) ElementType ¶
func (AclPolicyState) ElementType() reflect.Type
type AclRole ¶
type AclRole struct { pulumi.CustomResourceState // A free form human readable description of the role. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the ACL role. Name pulumi.StringOutput `pulumi:"name"` // The namespace to create the role within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The list of policies that should be applied to the role. Policies pulumi.StringArrayOutput `pulumi:"policies"` // The list of service identities that should // be applied to the role. ServiceIdentities AclRoleServiceIdentityArrayOutput `pulumi:"serviceIdentities"` }
Starting with Consul 1.5.0, the .AclRole can be used to managed Consul ACL roles.
func GetAclRole ¶
func GetAclRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclRoleState, opts ...pulumi.ResourceOption) (*AclRole, error)
GetAclRole gets an existing AclRole 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 NewAclRole ¶
func NewAclRole(ctx *pulumi.Context, name string, args *AclRoleArgs, opts ...pulumi.ResourceOption) (*AclRole, error)
NewAclRole registers a new resource with the given unique name, arguments, and options.
type AclRoleArgs ¶
type AclRoleArgs struct { // A free form human readable description of the role. Description pulumi.StringPtrInput // The name of the ACL role. Name pulumi.StringPtrInput // The namespace to create the role within. Namespace pulumi.StringPtrInput // The list of policies that should be applied to the role. Policies pulumi.StringArrayInput // The list of service identities that should // be applied to the role. ServiceIdentities AclRoleServiceIdentityArrayInput }
The set of arguments for constructing a AclRole resource.
func (AclRoleArgs) ElementType ¶
func (AclRoleArgs) ElementType() reflect.Type
type AclRoleServiceIdentity ¶
type AclRoleServiceIdentityArgs ¶
type AclRoleServiceIdentityArgs struct { // The datacenters the effective policy is valid within. Datacenters pulumi.StringArrayInput `pulumi:"datacenters"` // The name of the service. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (AclRoleServiceIdentityArgs) ElementType ¶
func (AclRoleServiceIdentityArgs) ElementType() reflect.Type
func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput ¶
func (i AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput
func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutputWithContext ¶
func (i AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutputWithContext(ctx context.Context) AclRoleServiceIdentityOutput
type AclRoleServiceIdentityArray ¶
type AclRoleServiceIdentityArray []AclRoleServiceIdentityInput
func (AclRoleServiceIdentityArray) ElementType ¶
func (AclRoleServiceIdentityArray) ElementType() reflect.Type
func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput ¶
func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput
func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext ¶
func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput
type AclRoleServiceIdentityArrayInput ¶
type AclRoleServiceIdentityArrayInput interface { pulumi.Input ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput ToAclRoleServiceIdentityArrayOutputWithContext(context.Context) AclRoleServiceIdentityArrayOutput }
AclRoleServiceIdentityArrayInput is an input type that accepts AclRoleServiceIdentityArray and AclRoleServiceIdentityArrayOutput values. You can construct a concrete instance of `AclRoleServiceIdentityArrayInput` via:
AclRoleServiceIdentityArray{ AclRoleServiceIdentityArgs{...} }
type AclRoleServiceIdentityArrayOutput ¶
type AclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }
func (AclRoleServiceIdentityArrayOutput) ElementType ¶
func (AclRoleServiceIdentityArrayOutput) ElementType() reflect.Type
func (AclRoleServiceIdentityArrayOutput) Index ¶
func (o AclRoleServiceIdentityArrayOutput) Index(i pulumi.IntInput) AclRoleServiceIdentityOutput
func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput ¶
func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput
func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext ¶
func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput
type AclRoleServiceIdentityInput ¶
type AclRoleServiceIdentityInput interface { pulumi.Input ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput ToAclRoleServiceIdentityOutputWithContext(context.Context) AclRoleServiceIdentityOutput }
AclRoleServiceIdentityInput is an input type that accepts AclRoleServiceIdentityArgs and AclRoleServiceIdentityOutput values. You can construct a concrete instance of `AclRoleServiceIdentityInput` via:
AclRoleServiceIdentityArgs{...}
type AclRoleServiceIdentityOutput ¶
type AclRoleServiceIdentityOutput struct{ *pulumi.OutputState }
func (AclRoleServiceIdentityOutput) Datacenters ¶
func (o AclRoleServiceIdentityOutput) Datacenters() pulumi.StringArrayOutput
The datacenters the effective policy is valid within.
func (AclRoleServiceIdentityOutput) ElementType ¶
func (AclRoleServiceIdentityOutput) ElementType() reflect.Type
func (AclRoleServiceIdentityOutput) ServiceName ¶
func (o AclRoleServiceIdentityOutput) ServiceName() pulumi.StringOutput
The name of the service.
func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput ¶
func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput
func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext ¶
func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext(ctx context.Context) AclRoleServiceIdentityOutput
type AclRoleState ¶
type AclRoleState struct { // A free form human readable description of the role. Description pulumi.StringPtrInput // The name of the ACL role. Name pulumi.StringPtrInput // The namespace to create the role within. Namespace pulumi.StringPtrInput // The list of policies that should be applied to the role. Policies pulumi.StringArrayInput // The list of service identities that should // be applied to the role. ServiceIdentities AclRoleServiceIdentityArrayInput }
func (AclRoleState) ElementType ¶
func (AclRoleState) ElementType() reflect.Type
type AclToken ¶
type AclToken struct { pulumi.CustomResourceState // The uuid of the token. If omitted, Consul will // generate a random uuid. AccessorId pulumi.StringOutput `pulumi:"accessorId"` // The description of the token. Description pulumi.StringPtrOutput `pulumi:"description"` // The flag to set the token local to the current datacenter. Local pulumi.BoolPtrOutput `pulumi:"local"` // The namespace to create the token within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The list of policies attached to the token. Policies pulumi.StringArrayOutput `pulumi:"policies"` // The list of roles attached to the token. Roles pulumi.StringArrayOutput `pulumi:"roles"` }
The `.AclToken` resource writes an ACL token into Consul.
func GetAclToken ¶
func GetAclToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclTokenState, opts ...pulumi.ResourceOption) (*AclToken, error)
GetAclToken gets an existing AclToken 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 NewAclToken ¶
func NewAclToken(ctx *pulumi.Context, name string, args *AclTokenArgs, opts ...pulumi.ResourceOption) (*AclToken, error)
NewAclToken registers a new resource with the given unique name, arguments, and options.
type AclTokenArgs ¶
type AclTokenArgs struct { // The uuid of the token. If omitted, Consul will // generate a random uuid. AccessorId pulumi.StringPtrInput // The description of the token. Description pulumi.StringPtrInput // The flag to set the token local to the current datacenter. Local pulumi.BoolPtrInput // The namespace to create the token within. Namespace pulumi.StringPtrInput // The list of policies attached to the token. Policies pulumi.StringArrayInput // The list of roles attached to the token. Roles pulumi.StringArrayInput }
The set of arguments for constructing a AclToken resource.
func (AclTokenArgs) ElementType ¶
func (AclTokenArgs) ElementType() reflect.Type
type AclTokenPolicyAttachment ¶
type AclTokenPolicyAttachment struct { pulumi.CustomResourceState // The name of the policy attached to the token. Policy pulumi.StringOutput `pulumi:"policy"` // The id of the token. TokenId pulumi.StringOutput `pulumi:"tokenId"` }
func GetAclTokenPolicyAttachment ¶
func GetAclTokenPolicyAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclTokenPolicyAttachmentState, opts ...pulumi.ResourceOption) (*AclTokenPolicyAttachment, error)
GetAclTokenPolicyAttachment gets an existing AclTokenPolicyAttachment 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 NewAclTokenPolicyAttachment ¶
func NewAclTokenPolicyAttachment(ctx *pulumi.Context, name string, args *AclTokenPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*AclTokenPolicyAttachment, error)
NewAclTokenPolicyAttachment registers a new resource with the given unique name, arguments, and options.
type AclTokenPolicyAttachmentArgs ¶
type AclTokenPolicyAttachmentArgs struct { // The name of the policy attached to the token. Policy pulumi.StringInput // The id of the token. TokenId pulumi.StringInput }
The set of arguments for constructing a AclTokenPolicyAttachment resource.
func (AclTokenPolicyAttachmentArgs) ElementType ¶
func (AclTokenPolicyAttachmentArgs) ElementType() reflect.Type
type AclTokenPolicyAttachmentState ¶
type AclTokenPolicyAttachmentState struct { // The name of the policy attached to the token. Policy pulumi.StringPtrInput // The id of the token. TokenId pulumi.StringPtrInput }
func (AclTokenPolicyAttachmentState) ElementType ¶
func (AclTokenPolicyAttachmentState) ElementType() reflect.Type
type AclTokenState ¶
type AclTokenState struct { // The uuid of the token. If omitted, Consul will // generate a random uuid. AccessorId pulumi.StringPtrInput // The description of the token. Description pulumi.StringPtrInput // The flag to set the token local to the current datacenter. Local pulumi.BoolPtrInput // The namespace to create the token within. Namespace pulumi.StringPtrInput // The list of policies attached to the token. Policies pulumi.StringArrayInput // The list of roles attached to the token. Roles pulumi.StringArrayInput }
func (AclTokenState) ElementType ¶
func (AclTokenState) ElementType() reflect.Type
type AgentService ¶
type AgentService struct { pulumi.CustomResourceState // The address of the service. Defaults to the // address of the agent. Address pulumi.StringOutput `pulumi:"address"` // The name of the service. Name pulumi.StringOutput `pulumi:"name"` // The port of the service. Port pulumi.IntPtrOutput `pulumi:"port"` // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayOutput `pulumi:"tags"` }
!> The `.AgentService` resource has been deprecated in version 2.0.0 of the provider and will be removed in a future release. Please read the [upgrade guide](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_agent_service) for more information.
Provides access to the agent service data in Consul. This can be used to define a service associated with a particular agent. Currently, defining health checks for an agent service is not supported.
func GetAgentService ¶
func GetAgentService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AgentServiceState, opts ...pulumi.ResourceOption) (*AgentService, error)
GetAgentService gets an existing AgentService 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 NewAgentService ¶
func NewAgentService(ctx *pulumi.Context, name string, args *AgentServiceArgs, opts ...pulumi.ResourceOption) (*AgentService, error)
NewAgentService registers a new resource with the given unique name, arguments, and options.
type AgentServiceArgs ¶
type AgentServiceArgs struct { // The address of the service. Defaults to the // address of the agent. Address pulumi.StringPtrInput // The name of the service. Name pulumi.StringPtrInput // The port of the service. Port pulumi.IntPtrInput // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayInput }
The set of arguments for constructing a AgentService resource.
func (AgentServiceArgs) ElementType ¶
func (AgentServiceArgs) ElementType() reflect.Type
type AgentServiceState ¶
type AgentServiceState struct { // The address of the service. Defaults to the // address of the agent. Address pulumi.StringPtrInput // The name of the service. Name pulumi.StringPtrInput // The port of the service. Port pulumi.IntPtrInput // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayInput }
func (AgentServiceState) ElementType ¶
func (AgentServiceState) ElementType() reflect.Type
type AutopilotConfig ¶
type AutopilotConfig struct { pulumi.CustomResourceState // Whether to remove failing servers when a // replacement comes online. Defaults to true. CleanupDeadServers pulumi.BoolPtrOutput `pulumi:"cleanupDeadServers"` // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"` // Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones). // Defaults to false. DisableUpgradeMigration pulumi.BoolPtrOutput `pulumi:"disableUpgradeMigration"` // The time after which a server is // considered as unhealthy and will be removed. Defaults to `"200ms"`. LastContactThreshold pulumi.StringPtrOutput `pulumi:"lastContactThreshold"` // The maximum number of Raft log entries a // server can trail the leader. Defaults to 250. MaxTrailingLogs pulumi.IntPtrOutput `pulumi:"maxTrailingLogs"` // The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones) // tag to use. Consul will try to keep one voting server by zone to take advantage // of isolated failure domains. Defaults to an empty string. RedundancyZoneTag pulumi.StringPtrOutput `pulumi:"redundancyZoneTag"` // The period to wait for a server to be // healthy and stable before being promoted to a full, voting member. Defaults to // `"10s"`. ServerStabilizationTime pulumi.StringPtrOutput `pulumi:"serverStabilizationTime"` // The tag to override the version information // used during a migration. Defaults to an empty string. UpgradeVersionTag pulumi.StringPtrOutput `pulumi:"upgradeVersionTag"` }
Provides access to the [Autopilot Configuration](https://www.consul.io/docs/guides/autopilot.html) of Consul to automatically manage Consul servers.
It includes to automatically cleanup dead servers, monitor the status of the Raft cluster and stable server introduction.
func GetAutopilotConfig ¶
func GetAutopilotConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AutopilotConfigState, opts ...pulumi.ResourceOption) (*AutopilotConfig, error)
GetAutopilotConfig gets an existing AutopilotConfig 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 NewAutopilotConfig ¶
func NewAutopilotConfig(ctx *pulumi.Context, name string, args *AutopilotConfigArgs, opts ...pulumi.ResourceOption) (*AutopilotConfig, error)
NewAutopilotConfig registers a new resource with the given unique name, arguments, and options.
type AutopilotConfigArgs ¶
type AutopilotConfigArgs struct { // Whether to remove failing servers when a // replacement comes online. Defaults to true. CleanupDeadServers pulumi.BoolPtrInput // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones). // Defaults to false. DisableUpgradeMigration pulumi.BoolPtrInput // The time after which a server is // considered as unhealthy and will be removed. Defaults to `"200ms"`. LastContactThreshold pulumi.StringPtrInput // The maximum number of Raft log entries a // server can trail the leader. Defaults to 250. MaxTrailingLogs pulumi.IntPtrInput // The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones) // tag to use. Consul will try to keep one voting server by zone to take advantage // of isolated failure domains. Defaults to an empty string. RedundancyZoneTag pulumi.StringPtrInput // The period to wait for a server to be // healthy and stable before being promoted to a full, voting member. Defaults to // `"10s"`. ServerStabilizationTime pulumi.StringPtrInput // The tag to override the version information // used during a migration. Defaults to an empty string. UpgradeVersionTag pulumi.StringPtrInput }
The set of arguments for constructing a AutopilotConfig resource.
func (AutopilotConfigArgs) ElementType ¶
func (AutopilotConfigArgs) ElementType() reflect.Type
type AutopilotConfigState ¶
type AutopilotConfigState struct { // Whether to remove failing servers when a // replacement comes online. Defaults to true. CleanupDeadServers pulumi.BoolPtrInput // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones). // Defaults to false. DisableUpgradeMigration pulumi.BoolPtrInput // The time after which a server is // considered as unhealthy and will be removed. Defaults to `"200ms"`. LastContactThreshold pulumi.StringPtrInput // The maximum number of Raft log entries a // server can trail the leader. Defaults to 250. MaxTrailingLogs pulumi.IntPtrInput // The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones) // tag to use. Consul will try to keep one voting server by zone to take advantage // of isolated failure domains. Defaults to an empty string. RedundancyZoneTag pulumi.StringPtrInput // The period to wait for a server to be // healthy and stable before being promoted to a full, voting member. Defaults to // `"10s"`. ServerStabilizationTime pulumi.StringPtrInput // The tag to override the version information // used during a migration. Defaults to an empty string. UpgradeVersionTag pulumi.StringPtrInput }
func (AutopilotConfigState) ElementType ¶
func (AutopilotConfigState) ElementType() reflect.Type
type CatalogEntry ¶
type CatalogEntry struct { pulumi.CustomResourceState // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringOutput `pulumi:"address"` // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // The name of the node being added to, or // referenced in the catalog. Node pulumi.StringOutput `pulumi:"node"` // A service to optionally associated with // the node. Supported values are documented below. Services CatalogEntryServiceArrayOutput `pulumi:"services"` // ACL token. Token pulumi.StringPtrOutput `pulumi:"token"` }
!> The `.CatalogEntry` resource has been deprecated in version 2.0.0 of the provider and will be removed in a future release. Please read the [upgrade guide](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_catalog_entry) for more information.
Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register). Currently, defining health checks is not supported.
func GetCatalogEntry ¶
func GetCatalogEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CatalogEntryState, opts ...pulumi.ResourceOption) (*CatalogEntry, error)
GetCatalogEntry gets an existing CatalogEntry 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 NewCatalogEntry ¶
func NewCatalogEntry(ctx *pulumi.Context, name string, args *CatalogEntryArgs, opts ...pulumi.ResourceOption) (*CatalogEntry, error)
NewCatalogEntry registers a new resource with the given unique name, arguments, and options.
type CatalogEntryArgs ¶
type CatalogEntryArgs struct { // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // The name of the node being added to, or // referenced in the catalog. Node pulumi.StringInput // A service to optionally associated with // the node. Supported values are documented below. Services CatalogEntryServiceArrayInput // ACL token. Token pulumi.StringPtrInput }
The set of arguments for constructing a CatalogEntry resource.
func (CatalogEntryArgs) ElementType ¶
func (CatalogEntryArgs) ElementType() reflect.Type
type CatalogEntryService ¶
type CatalogEntryService struct { // The address of the service. Defaults to the // node address. Address *string `pulumi:"address"` // The ID of the service. Defaults to the `name`. Id *string `pulumi:"id"` // The name of the service Name string `pulumi:"name"` // The port of the service. Port *int `pulumi:"port"` // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags []string `pulumi:"tags"` }
type CatalogEntryServiceArgs ¶
type CatalogEntryServiceArgs struct { // The address of the service. Defaults to the // node address. Address pulumi.StringPtrInput `pulumi:"address"` // The ID of the service. Defaults to the `name`. Id pulumi.StringPtrInput `pulumi:"id"` // The name of the service Name pulumi.StringInput `pulumi:"name"` // The port of the service. Port pulumi.IntPtrInput `pulumi:"port"` // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayInput `pulumi:"tags"` }
func (CatalogEntryServiceArgs) ElementType ¶
func (CatalogEntryServiceArgs) ElementType() reflect.Type
func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutput ¶
func (i CatalogEntryServiceArgs) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput
func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutputWithContext ¶
func (i CatalogEntryServiceArgs) ToCatalogEntryServiceOutputWithContext(ctx context.Context) CatalogEntryServiceOutput
type CatalogEntryServiceArray ¶
type CatalogEntryServiceArray []CatalogEntryServiceInput
func (CatalogEntryServiceArray) ElementType ¶
func (CatalogEntryServiceArray) ElementType() reflect.Type
func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput ¶
func (i CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput
func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutputWithContext ¶
func (i CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutputWithContext(ctx context.Context) CatalogEntryServiceArrayOutput
type CatalogEntryServiceArrayInput ¶
type CatalogEntryServiceArrayInput interface { pulumi.Input ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput ToCatalogEntryServiceArrayOutputWithContext(context.Context) CatalogEntryServiceArrayOutput }
CatalogEntryServiceArrayInput is an input type that accepts CatalogEntryServiceArray and CatalogEntryServiceArrayOutput values. You can construct a concrete instance of `CatalogEntryServiceArrayInput` via:
CatalogEntryServiceArray{ CatalogEntryServiceArgs{...} }
type CatalogEntryServiceArrayOutput ¶
type CatalogEntryServiceArrayOutput struct{ *pulumi.OutputState }
func (CatalogEntryServiceArrayOutput) ElementType ¶
func (CatalogEntryServiceArrayOutput) ElementType() reflect.Type
func (CatalogEntryServiceArrayOutput) Index ¶
func (o CatalogEntryServiceArrayOutput) Index(i pulumi.IntInput) CatalogEntryServiceOutput
func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput ¶
func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput
func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext ¶
func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext(ctx context.Context) CatalogEntryServiceArrayOutput
type CatalogEntryServiceInput ¶
type CatalogEntryServiceInput interface { pulumi.Input ToCatalogEntryServiceOutput() CatalogEntryServiceOutput ToCatalogEntryServiceOutputWithContext(context.Context) CatalogEntryServiceOutput }
CatalogEntryServiceInput is an input type that accepts CatalogEntryServiceArgs and CatalogEntryServiceOutput values. You can construct a concrete instance of `CatalogEntryServiceInput` via:
CatalogEntryServiceArgs{...}
type CatalogEntryServiceOutput ¶
type CatalogEntryServiceOutput struct{ *pulumi.OutputState }
func (CatalogEntryServiceOutput) Address ¶
func (o CatalogEntryServiceOutput) Address() pulumi.StringPtrOutput
The address of the service. Defaults to the node address.
func (CatalogEntryServiceOutput) ElementType ¶
func (CatalogEntryServiceOutput) ElementType() reflect.Type
func (CatalogEntryServiceOutput) Id ¶
func (o CatalogEntryServiceOutput) Id() pulumi.StringPtrOutput
The ID of the service. Defaults to the `name`.
func (CatalogEntryServiceOutput) Name ¶
func (o CatalogEntryServiceOutput) Name() pulumi.StringOutput
The name of the service
func (CatalogEntryServiceOutput) Port ¶
func (o CatalogEntryServiceOutput) Port() pulumi.IntPtrOutput
The port of the service.
func (CatalogEntryServiceOutput) Tags ¶
func (o CatalogEntryServiceOutput) Tags() pulumi.StringArrayOutput
A list of values that are opaque to Consul, but can be used to distinguish between services or nodes.
func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutput ¶
func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput
func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext ¶
func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext(ctx context.Context) CatalogEntryServiceOutput
type CatalogEntryState ¶
type CatalogEntryState struct { // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringPtrInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // The name of the node being added to, or // referenced in the catalog. Node pulumi.StringPtrInput // A service to optionally associated with // the node. Supported values are documented below. Services CatalogEntryServiceArrayInput // ACL token. Token pulumi.StringPtrInput }
func (CatalogEntryState) ElementType ¶
func (CatalogEntryState) ElementType() reflect.Type
type ConfigEntry ¶
type ConfigEntry struct { pulumi.CustomResourceState // An arbitrary map of configuration values. ConfigJson pulumi.StringPtrOutput `pulumi:"configJson"` // The kind of configuration entry to register. Kind pulumi.StringOutput `pulumi:"kind"` // The name of the configuration entry being registred. Name pulumi.StringOutput `pulumi:"name"` }
The [Configuration Entry](https://www.consul.io/docs/agent/config_entries.html) resource can be used to provide cluster-wide defaults for various aspects of Consul.
func GetConfigEntry ¶
func GetConfigEntry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigEntryState, opts ...pulumi.ResourceOption) (*ConfigEntry, error)
GetConfigEntry gets an existing ConfigEntry 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 NewConfigEntry ¶
func NewConfigEntry(ctx *pulumi.Context, name string, args *ConfigEntryArgs, opts ...pulumi.ResourceOption) (*ConfigEntry, error)
NewConfigEntry registers a new resource with the given unique name, arguments, and options.
type ConfigEntryArgs ¶
type ConfigEntryArgs struct { // An arbitrary map of configuration values. ConfigJson pulumi.StringPtrInput // The kind of configuration entry to register. Kind pulumi.StringInput // The name of the configuration entry being registred. Name pulumi.StringPtrInput }
The set of arguments for constructing a ConfigEntry resource.
func (ConfigEntryArgs) ElementType ¶
func (ConfigEntryArgs) ElementType() reflect.Type
type ConfigEntryState ¶
type ConfigEntryState struct { // An arbitrary map of configuration values. ConfigJson pulumi.StringPtrInput // The kind of configuration entry to register. Kind pulumi.StringPtrInput // The name of the configuration entry being registred. Name pulumi.StringPtrInput }
func (ConfigEntryState) ElementType ¶
func (ConfigEntryState) ElementType() reflect.Type
type GetAclRolePolicy ¶
type GetAclRolePolicyArgs ¶
type GetAclRolePolicyArgs struct { Id pulumi.StringInput `pulumi:"id"` // The name of the ACL Role. Name pulumi.StringInput `pulumi:"name"` }
func (GetAclRolePolicyArgs) ElementType ¶
func (GetAclRolePolicyArgs) ElementType() reflect.Type
func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutput ¶
func (i GetAclRolePolicyArgs) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput
func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutputWithContext ¶
func (i GetAclRolePolicyArgs) ToGetAclRolePolicyOutputWithContext(ctx context.Context) GetAclRolePolicyOutput
type GetAclRolePolicyArray ¶
type GetAclRolePolicyArray []GetAclRolePolicyInput
func (GetAclRolePolicyArray) ElementType ¶
func (GetAclRolePolicyArray) ElementType() reflect.Type
func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput ¶
func (i GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput
func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutputWithContext ¶
func (i GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutputWithContext(ctx context.Context) GetAclRolePolicyArrayOutput
type GetAclRolePolicyArrayInput ¶
type GetAclRolePolicyArrayInput interface { pulumi.Input ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput ToGetAclRolePolicyArrayOutputWithContext(context.Context) GetAclRolePolicyArrayOutput }
GetAclRolePolicyArrayInput is an input type that accepts GetAclRolePolicyArray and GetAclRolePolicyArrayOutput values. You can construct a concrete instance of `GetAclRolePolicyArrayInput` via:
GetAclRolePolicyArray{ GetAclRolePolicyArgs{...} }
type GetAclRolePolicyArrayOutput ¶
type GetAclRolePolicyArrayOutput struct{ *pulumi.OutputState }
func (GetAclRolePolicyArrayOutput) ElementType ¶
func (GetAclRolePolicyArrayOutput) ElementType() reflect.Type
func (GetAclRolePolicyArrayOutput) Index ¶
func (o GetAclRolePolicyArrayOutput) Index(i pulumi.IntInput) GetAclRolePolicyOutput
func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput ¶
func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput
func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext ¶
func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext(ctx context.Context) GetAclRolePolicyArrayOutput
type GetAclRolePolicyInput ¶
type GetAclRolePolicyInput interface { pulumi.Input ToGetAclRolePolicyOutput() GetAclRolePolicyOutput ToGetAclRolePolicyOutputWithContext(context.Context) GetAclRolePolicyOutput }
GetAclRolePolicyInput is an input type that accepts GetAclRolePolicyArgs and GetAclRolePolicyOutput values. You can construct a concrete instance of `GetAclRolePolicyInput` via:
GetAclRolePolicyArgs{...}
type GetAclRolePolicyOutput ¶
type GetAclRolePolicyOutput struct{ *pulumi.OutputState }
func (GetAclRolePolicyOutput) ElementType ¶
func (GetAclRolePolicyOutput) ElementType() reflect.Type
func (GetAclRolePolicyOutput) Id ¶
func (o GetAclRolePolicyOutput) Id() pulumi.StringOutput
func (GetAclRolePolicyOutput) Name ¶
func (o GetAclRolePolicyOutput) Name() pulumi.StringOutput
The name of the ACL Role.
func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutput ¶
func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput
func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext ¶
func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext(ctx context.Context) GetAclRolePolicyOutput
type GetAclRoleServiceIdentityArgs ¶
type GetAclRoleServiceIdentityArgs struct { Datacenters pulumi.StringArrayInput `pulumi:"datacenters"` ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` }
func (GetAclRoleServiceIdentityArgs) ElementType ¶
func (GetAclRoleServiceIdentityArgs) ElementType() reflect.Type
func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput ¶
func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput
func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext ¶
func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput
type GetAclRoleServiceIdentityArray ¶
type GetAclRoleServiceIdentityArray []GetAclRoleServiceIdentityInput
func (GetAclRoleServiceIdentityArray) ElementType ¶
func (GetAclRoleServiceIdentityArray) ElementType() reflect.Type
func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput ¶
func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput
func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext ¶
func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput
type GetAclRoleServiceIdentityArrayInput ¶
type GetAclRoleServiceIdentityArrayInput interface { pulumi.Input ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput ToGetAclRoleServiceIdentityArrayOutputWithContext(context.Context) GetAclRoleServiceIdentityArrayOutput }
GetAclRoleServiceIdentityArrayInput is an input type that accepts GetAclRoleServiceIdentityArray and GetAclRoleServiceIdentityArrayOutput values. You can construct a concrete instance of `GetAclRoleServiceIdentityArrayInput` via:
GetAclRoleServiceIdentityArray{ GetAclRoleServiceIdentityArgs{...} }
type GetAclRoleServiceIdentityArrayOutput ¶
type GetAclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }
func (GetAclRoleServiceIdentityArrayOutput) ElementType ¶
func (GetAclRoleServiceIdentityArrayOutput) ElementType() reflect.Type
func (GetAclRoleServiceIdentityArrayOutput) Index ¶
func (o GetAclRoleServiceIdentityArrayOutput) Index(i pulumi.IntInput) GetAclRoleServiceIdentityOutput
func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput ¶
func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput
func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext ¶
func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput
type GetAclRoleServiceIdentityInput ¶
type GetAclRoleServiceIdentityInput interface { pulumi.Input ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput ToGetAclRoleServiceIdentityOutputWithContext(context.Context) GetAclRoleServiceIdentityOutput }
GetAclRoleServiceIdentityInput is an input type that accepts GetAclRoleServiceIdentityArgs and GetAclRoleServiceIdentityOutput values. You can construct a concrete instance of `GetAclRoleServiceIdentityInput` via:
GetAclRoleServiceIdentityArgs{...}
type GetAclRoleServiceIdentityOutput ¶
type GetAclRoleServiceIdentityOutput struct{ *pulumi.OutputState }
func (GetAclRoleServiceIdentityOutput) Datacenters ¶
func (o GetAclRoleServiceIdentityOutput) Datacenters() pulumi.StringArrayOutput
func (GetAclRoleServiceIdentityOutput) ElementType ¶
func (GetAclRoleServiceIdentityOutput) ElementType() reflect.Type
func (GetAclRoleServiceIdentityOutput) ServiceName ¶
func (o GetAclRoleServiceIdentityOutput) ServiceName() pulumi.StringPtrOutput
func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput ¶
func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput
func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext ¶
func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput
type GetAclTokenPolicy ¶
type GetAclTokenPolicyArgs ¶
type GetAclTokenPolicyArgs struct { Id pulumi.StringInput `pulumi:"id"` Name pulumi.StringInput `pulumi:"name"` }
func (GetAclTokenPolicyArgs) ElementType ¶
func (GetAclTokenPolicyArgs) ElementType() reflect.Type
func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput ¶
func (i GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput
func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutputWithContext ¶
func (i GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutputWithContext(ctx context.Context) GetAclTokenPolicyOutput
type GetAclTokenPolicyArray ¶
type GetAclTokenPolicyArray []GetAclTokenPolicyInput
func (GetAclTokenPolicyArray) ElementType ¶
func (GetAclTokenPolicyArray) ElementType() reflect.Type
func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput ¶
func (i GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput
func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutputWithContext ¶
func (i GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenPolicyArrayOutput
type GetAclTokenPolicyArrayInput ¶
type GetAclTokenPolicyArrayInput interface { pulumi.Input ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput ToGetAclTokenPolicyArrayOutputWithContext(context.Context) GetAclTokenPolicyArrayOutput }
GetAclTokenPolicyArrayInput is an input type that accepts GetAclTokenPolicyArray and GetAclTokenPolicyArrayOutput values. You can construct a concrete instance of `GetAclTokenPolicyArrayInput` via:
GetAclTokenPolicyArray{ GetAclTokenPolicyArgs{...} }
type GetAclTokenPolicyArrayOutput ¶
type GetAclTokenPolicyArrayOutput struct{ *pulumi.OutputState }
func (GetAclTokenPolicyArrayOutput) ElementType ¶
func (GetAclTokenPolicyArrayOutput) ElementType() reflect.Type
func (GetAclTokenPolicyArrayOutput) Index ¶
func (o GetAclTokenPolicyArrayOutput) Index(i pulumi.IntInput) GetAclTokenPolicyOutput
func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput ¶
func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput
func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext ¶
func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenPolicyArrayOutput
type GetAclTokenPolicyInput ¶
type GetAclTokenPolicyInput interface { pulumi.Input ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput ToGetAclTokenPolicyOutputWithContext(context.Context) GetAclTokenPolicyOutput }
GetAclTokenPolicyInput is an input type that accepts GetAclTokenPolicyArgs and GetAclTokenPolicyOutput values. You can construct a concrete instance of `GetAclTokenPolicyInput` via:
GetAclTokenPolicyArgs{...}
type GetAclTokenPolicyOutput ¶
type GetAclTokenPolicyOutput struct{ *pulumi.OutputState }
func (GetAclTokenPolicyOutput) ElementType ¶
func (GetAclTokenPolicyOutput) ElementType() reflect.Type
func (GetAclTokenPolicyOutput) Id ¶
func (o GetAclTokenPolicyOutput) Id() pulumi.StringOutput
func (GetAclTokenPolicyOutput) Name ¶
func (o GetAclTokenPolicyOutput) Name() pulumi.StringOutput
func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput ¶
func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput
func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext ¶
func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext(ctx context.Context) GetAclTokenPolicyOutput
type GetAclTokenSecretIdArgs ¶
type GetAclTokenSecretIdArgs struct { // The accessor ID of the ACL token. AccessorId string `pulumi:"accessorId"` PgpKey *string `pulumi:"pgpKey"` }
A collection of arguments for invoking getAclTokenSecretId.
type GetAclTokenSecretIdResult ¶
type GetAclTokenSecretIdResult struct { AccessorId string `pulumi:"accessorId"` EncryptedSecretId string `pulumi:"encryptedSecretId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` PgpKey *string `pulumi:"pgpKey"` // The secret ID of the ACL token if `gpgKey` has not been set. SecretId string `pulumi:"secretId"` }
A collection of values returned by getAclTokenSecretId.
func GetAclTokenSecretId ¶
func GetAclTokenSecretId(ctx *pulumi.Context, args *GetAclTokenSecretIdArgs, opts ...pulumi.InvokeOption) (*GetAclTokenSecretIdResult, error)
type GetAgentConfigResult ¶
type GetAgentConfigResult struct { // The datacenter the agent is running in Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the node the agent is running on NodeId string `pulumi:"nodeId"` // The name of the node the agent is running on NodeName string `pulumi:"nodeName"` // The first 9 characters of the VCS revision of the build of Consul that is running Revision string `pulumi:"revision"` // Boolean if the agent is a server or not Server bool `pulumi:"server"` // The version of the build of Consul that is running Version string `pulumi:"version"` }
A collection of values returned by getAgentConfig.
func GetAgentConfig ¶
func GetAgentConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAgentConfigResult, error)
> **Note:** The `.getAgentConfig` resource differs from [`.getAgentSelf`](https://www.terraform.io/docs/providers/consul/d/agent_self.html), providing less information but utilizing stable APIs. `.getAgentSelf` will be deprecated in a future release.
The `.getAgentConfig` data source returns [configuration data](https://www.consul.io/api/agent.html#read-configuration) from the agent specified in the `provider`.
type GetAgentSelfResult ¶
type GetAgentSelfResult struct { AclDatacenter string `pulumi:"aclDatacenter"` AclDefaultPolicy string `pulumi:"aclDefaultPolicy"` AclDisabledTtl string `pulumi:"aclDisabledTtl"` AclDownPolicy string `pulumi:"aclDownPolicy"` AclEnforce08Semantics bool `pulumi:"aclEnforce08Semantics"` AclTtl string `pulumi:"aclTtl"` Addresses map[string]string `pulumi:"addresses"` AdvertiseAddr string `pulumi:"advertiseAddr"` AdvertiseAddrWan string `pulumi:"advertiseAddrWan"` AdvertiseAddrs map[string]string `pulumi:"advertiseAddrs"` AtlasJoin bool `pulumi:"atlasJoin"` BindAddr string `pulumi:"bindAddr"` BootstrapExpect int `pulumi:"bootstrapExpect"` BootstrapMode bool `pulumi:"bootstrapMode"` CheckDeregisterIntervalMin string `pulumi:"checkDeregisterIntervalMin"` CheckReapInterval string `pulumi:"checkReapInterval"` CheckUpdateInterval string `pulumi:"checkUpdateInterval"` ClientAddr string `pulumi:"clientAddr"` DataDir string `pulumi:"dataDir"` Datacenter string `pulumi:"datacenter"` DevMode bool `pulumi:"devMode"` // A map of DNS configuration attributes. See below for details on the // contents of the `dns` attribute. // * [`dnsRecursors`](https://www.consul.io/docs/agent/options.html#recursors) - A // list of all DNS recursors. // * [`dataDir`](https://www.consul.io/docs/agent/options.html#_data_dir) // * [`datacenter`](https://www.consul.io/docs/agent/options.html#_datacenter) // * [`devMode`](https://www.consul.io/docs/agent/options.html#_dev) // * [`domain`](https://www.consul.io/docs/agent/options.html#_domain) // * [`enableAnonymousSignature`](https://www.consul.io/docs/agent/options.html#disable_anonymous_signature) // * `enableCoordinates` // * [`enableDebug`](https://www.consul.io/docs/agent/options.html#enable_debug) // * [`enableRemoteExec`](https://www.consul.io/docs/agent/options.html#disable_remote_exec) // * [`enableSyslog`](https://www.consul.io/docs/agent/options.html#_syslog) // * [`enableUi`](https://www.consul.io/docs/agent/options.html#_ui) // * [`enableUpdateCheck`](https://www.consul.io/docs/agent/options.html#disable_update_check) // * [`id`](https://www.consul.io/docs/agent/options.html#_node_id) // * [`leaveOnInt`](https://www.consul.io/docs/agent/options.html#skip_leave_on_interrupt) // * [`leaveOnTerm`](https://www.consul.io/docs/agent/options.html#leave_on_terminate) // * [`logLevel`](https://www.consul.io/docs/agent/options.html#_log_level) // * [`name`](https://www.consul.io/docs/agent/options.html#_node) // * [`performance`](https://www.consul.io/docs/agent/options.html#performance) // * [`pidFile`](https://www.consul.io/docs/agent/options.html#_pid_file) // * [`ports`](https://www.consul.io/docs/agent/options.html#ports) // * [`protocolVersion`](https://www.consul.io/docs/agent/options.html#_protocol) // * [`reconnectTimeoutLan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout) // * [`reconnectTimeoutWan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout_wan) // * [`rejoinAfterLeave`](https://www.consul.io/docs/agent/options.html#_rejoin) // * [`retryJoin`](https://www.consul.io/docs/agent/options.html#retry_join) // * [`retryJoinEc2`](https://www.consul.io/docs/agent/options.html#retry_join_ec2) - // A map of EC2 retry attributes. See below for details on the available // information. // * [`retryJoinGce`](https://www.consul.io/docs/agent/options.html#retry_join_gce) - // A map of GCE retry attributes. See below for details on the available // information. // * [`retryJoinWan`](https://www.consul.io/docs/agent/options.html#_retry_join_wan) // * [`retryMaxAttempts`](https://www.consul.io/docs/agent/options.html#_retry_max) // * [`retryMaxAttemptsWan`](https://www.consul.io/docs/agent/options.html#_retry_max_wan) // * [`serfLanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_lan_bind) // * [`serfWanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_wan_bind) // * [`serverMode`](https://www.consul.io/docs/agent/options.html#_server) // * [`serverName`](https://www.consul.io/docs/agent/options.html#server_name) // * [`sessionTtlMin`](https://www.consul.io/docs/agent/options.html#session_ttl_min) // * [`startJoin`](https://www.consul.io/docs/agent/options.html#start_join) // * [`startJoinWan`](https://www.consul.io/docs/agent/options.html#start_join_wan) // * [`syslogFacility`](https://www.consul.io/docs/agent/options.html#syslog_facility) // * [`tlsCaFile`](https://www.consul.io/docs/agent/options.html#ca_file) // * [`tlsCertFile`](https://www.consul.io/docs/agent/options.html#cert_file) // * [`tlsKeyFile`](https://www.consul.io/docs/agent/options.html#key_file) // * [`tlsMinVersion`](https://www.consul.io/docs/agent/options.html#tls_min_version) // * [`tlsVerifyIncoming`](https://www.consul.io/docs/agent/options.html#verify_incoming) // * [`tlsVerifyOutgoing`](https://www.consul.io/docs/agent/options.html#verify_outgoing) // * [`tlsVerifyServerHostname`](https://www.consul.io/docs/agent/options.html#verify_server_hostname) // * [`taggedAddresses`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs) // * [`telemetry`](https://www.consul.io/docs/agent/options.html#telemetry) - A map // of telemetry configuration. // * [`translateWanAddrs`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs) // * [`uiDir`](https://www.consul.io/docs/agent/options.html#ui_dir) // * [`unixSockets`](https://www.consul.io/docs/agent/options.html#unix_sockets) Dns map[string]string `pulumi:"dns"` DnsRecursors []string `pulumi:"dnsRecursors"` Domain string `pulumi:"domain"` EnableAnonymousSignature bool `pulumi:"enableAnonymousSignature"` EnableCoordinates bool `pulumi:"enableCoordinates"` EnableDebug bool `pulumi:"enableDebug"` EnableRemoteExec bool `pulumi:"enableRemoteExec"` EnableSyslog bool `pulumi:"enableSyslog"` EnableUi bool `pulumi:"enableUi"` EnableUpdateCheck bool `pulumi:"enableUpdateCheck"` Id string `pulumi:"id"` LeaveOnInt bool `pulumi:"leaveOnInt"` LeaveOnTerm bool `pulumi:"leaveOnTerm"` LogLevel string `pulumi:"logLevel"` Name string `pulumi:"name"` Performance map[string]string `pulumi:"performance"` PidFile string `pulumi:"pidFile"` Ports map[string]int `pulumi:"ports"` ProtocolVersion int `pulumi:"protocolVersion"` ReconnectTimeoutLan string `pulumi:"reconnectTimeoutLan"` ReconnectTimeoutWan string `pulumi:"reconnectTimeoutWan"` RejoinAfterLeave bool `pulumi:"rejoinAfterLeave"` RetryJoinEc2 map[string]string `pulumi:"retryJoinEc2"` RetryJoinGce map[string]string `pulumi:"retryJoinGce"` RetryJoinWans []string `pulumi:"retryJoinWans"` RetryJoins []string `pulumi:"retryJoins"` RetryMaxAttempts int `pulumi:"retryMaxAttempts"` RetryMaxAttemptsWan int `pulumi:"retryMaxAttemptsWan"` SerfLanBindAddr string `pulumi:"serfLanBindAddr"` SerfWanBindAddr string `pulumi:"serfWanBindAddr"` ServerMode bool `pulumi:"serverMode"` ServerName string `pulumi:"serverName"` SessionTtlMin string `pulumi:"sessionTtlMin"` StartJoinWans []string `pulumi:"startJoinWans"` StartJoins []string `pulumi:"startJoins"` SyslogFacility string `pulumi:"syslogFacility"` TaggedAddresses map[string]string `pulumi:"taggedAddresses"` Telemetry map[string]string `pulumi:"telemetry"` TlsCaFile string `pulumi:"tlsCaFile"` TlsCertFile string `pulumi:"tlsCertFile"` TlsKeyFile string `pulumi:"tlsKeyFile"` TlsMinVersion string `pulumi:"tlsMinVersion"` TlsVerifyIncoming bool `pulumi:"tlsVerifyIncoming"` TlsVerifyOutgoing bool `pulumi:"tlsVerifyOutgoing"` TlsVerifyServerHostname bool `pulumi:"tlsVerifyServerHostname"` TranslateWanAddrs bool `pulumi:"translateWanAddrs"` UiDir string `pulumi:"uiDir"` UnixSockets map[string]string `pulumi:"unixSockets"` // The version of the Consul agent. // * `versionPrerelease` // * `versionRevision` Version string `pulumi:"version"` VersionPrerelease string `pulumi:"versionPrerelease"` VersionRevision string `pulumi:"versionRevision"` }
A collection of values returned by getAgentSelf.
func GetAgentSelf ¶
func GetAgentSelf(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAgentSelfResult, error)
> **Warning:** The `.getAgentSelf` resource has been deprecated and will be removed from a future release of the provider. Read the [upgrade instructions](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_agent_self) for more information.
The `.getAgentSelf` data source returns [configuration and status data](https://www.consul.io/docs/agent/http/agent.html#agent_self) from the agent specified in the `provider`.
type GetAutopilotHealthArgs ¶
type GetAutopilotHealthArgs struct { // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter *string `pulumi:"datacenter"` }
A collection of arguments for invoking getAutopilotHealth.
type GetAutopilotHealthResult ¶
type GetAutopilotHealthResult struct { Datacenter *string `pulumi:"datacenter"` // The number of redundant healthy servers that could fail // without causing an outage FailureTolerance int `pulumi:"failureTolerance"` // Whether the server is healthy according to the current Autopilot // configuration Healthy bool `pulumi:"healthy"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of server health information. See below for details on the // available information. Servers []GetAutopilotHealthServer `pulumi:"servers"` }
A collection of values returned by getAutopilotHealth.
func GetAutopilotHealth ¶
func GetAutopilotHealth(ctx *pulumi.Context, args *GetAutopilotHealthArgs, opts ...pulumi.InvokeOption) (*GetAutopilotHealthResult, error)
The `.getAutopilotHealth` data source returns [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health) about the current Consul cluster.
type GetAutopilotHealthServer ¶
type GetAutopilotHealthServer struct { // The address of the server Address string `pulumi:"address"` // Whether the server is healthy according to the current Autopilot // configuration Healthy bool `pulumi:"healthy"` // The Raft ID of the server Id string `pulumi:"id"` // The time elapsed since the server's last contact with // the leader LastContact string `pulumi:"lastContact"` // The index of the server's last committed Raft log entry LastIndex int `pulumi:"lastIndex"` // The server's last known Raft leader term LastTerm int `pulumi:"lastTerm"` // Whether the server is currently leader Leader bool `pulumi:"leader"` // The node name of the server Name string `pulumi:"name"` // The status of the SerfHealth check of the server SerfStatus string `pulumi:"serfStatus"` // The time this server has been in its current “Healthy“ // state StableSince string `pulumi:"stableSince"` // The Consul version of the server Version string `pulumi:"version"` // Whether the server is a voting member of the Raft cluster Voter bool `pulumi:"voter"` }
type GetAutopilotHealthServerArgs ¶
type GetAutopilotHealthServerArgs struct { // The address of the server Address pulumi.StringInput `pulumi:"address"` // Whether the server is healthy according to the current Autopilot // configuration Healthy pulumi.BoolInput `pulumi:"healthy"` // The Raft ID of the server Id pulumi.StringInput `pulumi:"id"` // The time elapsed since the server's last contact with // the leader LastContact pulumi.StringInput `pulumi:"lastContact"` // The index of the server's last committed Raft log entry LastIndex pulumi.IntInput `pulumi:"lastIndex"` // The server's last known Raft leader term LastTerm pulumi.IntInput `pulumi:"lastTerm"` // Whether the server is currently leader Leader pulumi.BoolInput `pulumi:"leader"` // The node name of the server Name pulumi.StringInput `pulumi:"name"` // The status of the SerfHealth check of the server SerfStatus pulumi.StringInput `pulumi:"serfStatus"` // The time this server has been in its current “Healthy“ // state StableSince pulumi.StringInput `pulumi:"stableSince"` // The Consul version of the server Version pulumi.StringInput `pulumi:"version"` // Whether the server is a voting member of the Raft cluster Voter pulumi.BoolInput `pulumi:"voter"` }
func (GetAutopilotHealthServerArgs) ElementType ¶
func (GetAutopilotHealthServerArgs) ElementType() reflect.Type
func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput ¶
func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput
func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext ¶
func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput
type GetAutopilotHealthServerArray ¶
type GetAutopilotHealthServerArray []GetAutopilotHealthServerInput
func (GetAutopilotHealthServerArray) ElementType ¶
func (GetAutopilotHealthServerArray) ElementType() reflect.Type
func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput ¶
func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput
func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext ¶
func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput
type GetAutopilotHealthServerArrayInput ¶
type GetAutopilotHealthServerArrayInput interface { pulumi.Input ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput ToGetAutopilotHealthServerArrayOutputWithContext(context.Context) GetAutopilotHealthServerArrayOutput }
GetAutopilotHealthServerArrayInput is an input type that accepts GetAutopilotHealthServerArray and GetAutopilotHealthServerArrayOutput values. You can construct a concrete instance of `GetAutopilotHealthServerArrayInput` via:
GetAutopilotHealthServerArray{ GetAutopilotHealthServerArgs{...} }
type GetAutopilotHealthServerArrayOutput ¶
type GetAutopilotHealthServerArrayOutput struct{ *pulumi.OutputState }
func (GetAutopilotHealthServerArrayOutput) ElementType ¶
func (GetAutopilotHealthServerArrayOutput) ElementType() reflect.Type
func (GetAutopilotHealthServerArrayOutput) Index ¶
func (o GetAutopilotHealthServerArrayOutput) Index(i pulumi.IntInput) GetAutopilotHealthServerOutput
func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput ¶
func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput
func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext ¶
func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput
type GetAutopilotHealthServerInput ¶
type GetAutopilotHealthServerInput interface { pulumi.Input ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput ToGetAutopilotHealthServerOutputWithContext(context.Context) GetAutopilotHealthServerOutput }
GetAutopilotHealthServerInput is an input type that accepts GetAutopilotHealthServerArgs and GetAutopilotHealthServerOutput values. You can construct a concrete instance of `GetAutopilotHealthServerInput` via:
GetAutopilotHealthServerArgs{...}
type GetAutopilotHealthServerOutput ¶
type GetAutopilotHealthServerOutput struct{ *pulumi.OutputState }
func (GetAutopilotHealthServerOutput) Address ¶
func (o GetAutopilotHealthServerOutput) Address() pulumi.StringOutput
The address of the server
func (GetAutopilotHealthServerOutput) ElementType ¶
func (GetAutopilotHealthServerOutput) ElementType() reflect.Type
func (GetAutopilotHealthServerOutput) Healthy ¶
func (o GetAutopilotHealthServerOutput) Healthy() pulumi.BoolOutput
Whether the server is healthy according to the current Autopilot configuration
func (GetAutopilotHealthServerOutput) Id ¶
func (o GetAutopilotHealthServerOutput) Id() pulumi.StringOutput
The Raft ID of the server
func (GetAutopilotHealthServerOutput) LastContact ¶
func (o GetAutopilotHealthServerOutput) LastContact() pulumi.StringOutput
The time elapsed since the server's last contact with the leader
func (GetAutopilotHealthServerOutput) LastIndex ¶
func (o GetAutopilotHealthServerOutput) LastIndex() pulumi.IntOutput
The index of the server's last committed Raft log entry
func (GetAutopilotHealthServerOutput) LastTerm ¶
func (o GetAutopilotHealthServerOutput) LastTerm() pulumi.IntOutput
The server's last known Raft leader term
func (GetAutopilotHealthServerOutput) Leader ¶
func (o GetAutopilotHealthServerOutput) Leader() pulumi.BoolOutput
Whether the server is currently leader
func (GetAutopilotHealthServerOutput) Name ¶
func (o GetAutopilotHealthServerOutput) Name() pulumi.StringOutput
The node name of the server
func (GetAutopilotHealthServerOutput) SerfStatus ¶
func (o GetAutopilotHealthServerOutput) SerfStatus() pulumi.StringOutput
The status of the SerfHealth check of the server
func (GetAutopilotHealthServerOutput) StableSince ¶
func (o GetAutopilotHealthServerOutput) StableSince() pulumi.StringOutput
The time this server has been in its current “Healthy“ state
func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput ¶
func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput
func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext ¶
func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput
func (GetAutopilotHealthServerOutput) Version ¶
func (o GetAutopilotHealthServerOutput) Version() pulumi.StringOutput
The Consul version of the server
func (GetAutopilotHealthServerOutput) Voter ¶
func (o GetAutopilotHealthServerOutput) Voter() pulumi.BoolOutput
Whether the server is a voting member of the Raft cluster
type GetCatalogNodesArgs ¶
type GetCatalogNodesArgs struct {
QueryOptions []GetCatalogNodesQueryOption `pulumi:"queryOptions"`
}
A collection of arguments for invoking getCatalogNodes.
type GetCatalogNodesNode ¶
type GetCatalogNodesNodeArgs ¶
type GetCatalogNodesNodeArgs struct { Address pulumi.StringInput `pulumi:"address"` Id pulumi.StringInput `pulumi:"id"` Meta pulumi.StringMapInput `pulumi:"meta"` Name pulumi.StringInput `pulumi:"name"` TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"` }
func (GetCatalogNodesNodeArgs) ElementType ¶
func (GetCatalogNodesNodeArgs) ElementType() reflect.Type
func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput ¶
func (i GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput
func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutputWithContext ¶
func (i GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutputWithContext(ctx context.Context) GetCatalogNodesNodeOutput
type GetCatalogNodesNodeArray ¶
type GetCatalogNodesNodeArray []GetCatalogNodesNodeInput
func (GetCatalogNodesNodeArray) ElementType ¶
func (GetCatalogNodesNodeArray) ElementType() reflect.Type
func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput ¶
func (i GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput
func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutputWithContext ¶
func (i GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutputWithContext(ctx context.Context) GetCatalogNodesNodeArrayOutput
type GetCatalogNodesNodeArrayInput ¶
type GetCatalogNodesNodeArrayInput interface { pulumi.Input ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput ToGetCatalogNodesNodeArrayOutputWithContext(context.Context) GetCatalogNodesNodeArrayOutput }
GetCatalogNodesNodeArrayInput is an input type that accepts GetCatalogNodesNodeArray and GetCatalogNodesNodeArrayOutput values. You can construct a concrete instance of `GetCatalogNodesNodeArrayInput` via:
GetCatalogNodesNodeArray{ GetCatalogNodesNodeArgs{...} }
type GetCatalogNodesNodeArrayOutput ¶
type GetCatalogNodesNodeArrayOutput struct{ *pulumi.OutputState }
func (GetCatalogNodesNodeArrayOutput) ElementType ¶
func (GetCatalogNodesNodeArrayOutput) ElementType() reflect.Type
func (GetCatalogNodesNodeArrayOutput) Index ¶
func (o GetCatalogNodesNodeArrayOutput) Index(i pulumi.IntInput) GetCatalogNodesNodeOutput
func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput ¶
func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput
func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext ¶
func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext(ctx context.Context) GetCatalogNodesNodeArrayOutput
type GetCatalogNodesNodeInput ¶
type GetCatalogNodesNodeInput interface { pulumi.Input ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput ToGetCatalogNodesNodeOutputWithContext(context.Context) GetCatalogNodesNodeOutput }
GetCatalogNodesNodeInput is an input type that accepts GetCatalogNodesNodeArgs and GetCatalogNodesNodeOutput values. You can construct a concrete instance of `GetCatalogNodesNodeInput` via:
GetCatalogNodesNodeArgs{...}
type GetCatalogNodesNodeOutput ¶
type GetCatalogNodesNodeOutput struct{ *pulumi.OutputState }
func (GetCatalogNodesNodeOutput) Address ¶
func (o GetCatalogNodesNodeOutput) Address() pulumi.StringOutput
func (GetCatalogNodesNodeOutput) ElementType ¶
func (GetCatalogNodesNodeOutput) ElementType() reflect.Type
func (GetCatalogNodesNodeOutput) Id ¶
func (o GetCatalogNodesNodeOutput) Id() pulumi.StringOutput
func (GetCatalogNodesNodeOutput) Meta ¶
func (o GetCatalogNodesNodeOutput) Meta() pulumi.StringMapOutput
func (GetCatalogNodesNodeOutput) Name ¶
func (o GetCatalogNodesNodeOutput) Name() pulumi.StringOutput
func (GetCatalogNodesNodeOutput) TaggedAddresses ¶
func (o GetCatalogNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput
func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput ¶
func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput
func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext ¶
func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext(ctx context.Context) GetCatalogNodesNodeOutput
type GetCatalogNodesQueryOption ¶
type GetCatalogNodesQueryOption struct { AllowStale *bool `pulumi:"allowStale"` Datacenter *string `pulumi:"datacenter"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` RequireConsistent *bool `pulumi:"requireConsistent"` Token *string `pulumi:"token"` WaitIndex *int `pulumi:"waitIndex"` WaitTime *string `pulumi:"waitTime"` }
type GetCatalogNodesQueryOptionArgs ¶
type GetCatalogNodesQueryOptionArgs struct { AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` Token pulumi.StringPtrInput `pulumi:"token"` WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetCatalogNodesQueryOptionArgs) ElementType ¶
func (GetCatalogNodesQueryOptionArgs) ElementType() reflect.Type
func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput ¶
func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput
func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext ¶
func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput
type GetCatalogNodesQueryOptionArray ¶
type GetCatalogNodesQueryOptionArray []GetCatalogNodesQueryOptionInput
func (GetCatalogNodesQueryOptionArray) ElementType ¶
func (GetCatalogNodesQueryOptionArray) ElementType() reflect.Type
func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput ¶
func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput
func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext ¶
func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput
type GetCatalogNodesQueryOptionArrayInput ¶
type GetCatalogNodesQueryOptionArrayInput interface { pulumi.Input ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput ToGetCatalogNodesQueryOptionArrayOutputWithContext(context.Context) GetCatalogNodesQueryOptionArrayOutput }
GetCatalogNodesQueryOptionArrayInput is an input type that accepts GetCatalogNodesQueryOptionArray and GetCatalogNodesQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogNodesQueryOptionArrayInput` via:
GetCatalogNodesQueryOptionArray{ GetCatalogNodesQueryOptionArgs{...} }
type GetCatalogNodesQueryOptionArrayOutput ¶
type GetCatalogNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetCatalogNodesQueryOptionArrayOutput) ElementType ¶
func (GetCatalogNodesQueryOptionArrayOutput) ElementType() reflect.Type
func (GetCatalogNodesQueryOptionArrayOutput) Index ¶
func (o GetCatalogNodesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetCatalogNodesQueryOptionOutput
func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput ¶
func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput
func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext ¶
func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput
type GetCatalogNodesQueryOptionInput ¶
type GetCatalogNodesQueryOptionInput interface { pulumi.Input ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput ToGetCatalogNodesQueryOptionOutputWithContext(context.Context) GetCatalogNodesQueryOptionOutput }
GetCatalogNodesQueryOptionInput is an input type that accepts GetCatalogNodesQueryOptionArgs and GetCatalogNodesQueryOptionOutput values. You can construct a concrete instance of `GetCatalogNodesQueryOptionInput` via:
GetCatalogNodesQueryOptionArgs{...}
type GetCatalogNodesQueryOptionOutput ¶
type GetCatalogNodesQueryOptionOutput struct{ *pulumi.OutputState }
func (GetCatalogNodesQueryOptionOutput) AllowStale ¶
func (o GetCatalogNodesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
func (GetCatalogNodesQueryOptionOutput) Datacenter ¶
func (o GetCatalogNodesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
func (GetCatalogNodesQueryOptionOutput) ElementType ¶
func (GetCatalogNodesQueryOptionOutput) ElementType() reflect.Type
func (GetCatalogNodesQueryOptionOutput) Near ¶
func (o GetCatalogNodesQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetCatalogNodesQueryOptionOutput) NodeMeta ¶
func (o GetCatalogNodesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetCatalogNodesQueryOptionOutput) RequireConsistent ¶
func (o GetCatalogNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput ¶
func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput
func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext ¶
func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput
func (GetCatalogNodesQueryOptionOutput) Token ¶
func (o GetCatalogNodesQueryOptionOutput) Token() pulumi.StringPtrOutput
func (GetCatalogNodesQueryOptionOutput) WaitIndex ¶
func (o GetCatalogNodesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
func (GetCatalogNodesQueryOptionOutput) WaitTime ¶
func (o GetCatalogNodesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
type GetCatalogNodesResult ¶
type GetCatalogNodesResult struct { Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` NodeIds []string `pulumi:"nodeIds"` NodeNames []string `pulumi:"nodeNames"` Nodes []GetCatalogNodesNode `pulumi:"nodes"` QueryOptions []GetCatalogNodesQueryOption `pulumi:"queryOptions"` }
A collection of values returned by getCatalogNodes.
func GetCatalogNodes ¶
func GetCatalogNodes(ctx *pulumi.Context, args *GetCatalogNodesArgs, opts ...pulumi.InvokeOption) (*GetCatalogNodesResult, error)
type GetCatalogServiceArgs ¶
type GetCatalogServiceArgs struct { Datacenter *string `pulumi:"datacenter"` Name string `pulumi:"name"` QueryOptions []GetCatalogServiceQueryOption `pulumi:"queryOptions"` Tag *string `pulumi:"tag"` }
A collection of arguments for invoking getCatalogService.
type GetCatalogServiceQueryOption ¶
type GetCatalogServiceQueryOption struct { AllowStale *bool `pulumi:"allowStale"` Datacenter *string `pulumi:"datacenter"` Namespace *string `pulumi:"namespace"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` RequireConsistent *bool `pulumi:"requireConsistent"` Token *string `pulumi:"token"` WaitIndex *int `pulumi:"waitIndex"` WaitTime *string `pulumi:"waitTime"` }
type GetCatalogServiceQueryOptionArgs ¶
type GetCatalogServiceQueryOptionArgs struct { AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` Namespace pulumi.StringPtrInput `pulumi:"namespace"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` Token pulumi.StringPtrInput `pulumi:"token"` WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetCatalogServiceQueryOptionArgs) ElementType ¶
func (GetCatalogServiceQueryOptionArgs) ElementType() reflect.Type
func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput ¶
func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput
func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext ¶
func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput
type GetCatalogServiceQueryOptionArray ¶
type GetCatalogServiceQueryOptionArray []GetCatalogServiceQueryOptionInput
func (GetCatalogServiceQueryOptionArray) ElementType ¶
func (GetCatalogServiceQueryOptionArray) ElementType() reflect.Type
func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput ¶
func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput
func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext ¶
func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput
type GetCatalogServiceQueryOptionArrayInput ¶
type GetCatalogServiceQueryOptionArrayInput interface { pulumi.Input ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput ToGetCatalogServiceQueryOptionArrayOutputWithContext(context.Context) GetCatalogServiceQueryOptionArrayOutput }
GetCatalogServiceQueryOptionArrayInput is an input type that accepts GetCatalogServiceQueryOptionArray and GetCatalogServiceQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogServiceQueryOptionArrayInput` via:
GetCatalogServiceQueryOptionArray{ GetCatalogServiceQueryOptionArgs{...} }
type GetCatalogServiceQueryOptionArrayOutput ¶
type GetCatalogServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetCatalogServiceQueryOptionArrayOutput) ElementType ¶
func (GetCatalogServiceQueryOptionArrayOutput) ElementType() reflect.Type
func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput ¶
func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput
func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext ¶
func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput
type GetCatalogServiceQueryOptionInput ¶
type GetCatalogServiceQueryOptionInput interface { pulumi.Input ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput ToGetCatalogServiceQueryOptionOutputWithContext(context.Context) GetCatalogServiceQueryOptionOutput }
GetCatalogServiceQueryOptionInput is an input type that accepts GetCatalogServiceQueryOptionArgs and GetCatalogServiceQueryOptionOutput values. You can construct a concrete instance of `GetCatalogServiceQueryOptionInput` via:
GetCatalogServiceQueryOptionArgs{...}
type GetCatalogServiceQueryOptionOutput ¶
type GetCatalogServiceQueryOptionOutput struct{ *pulumi.OutputState }
func (GetCatalogServiceQueryOptionOutput) AllowStale ¶
func (o GetCatalogServiceQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
func (GetCatalogServiceQueryOptionOutput) Datacenter ¶
func (o GetCatalogServiceQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
func (GetCatalogServiceQueryOptionOutput) ElementType ¶
func (GetCatalogServiceQueryOptionOutput) ElementType() reflect.Type
func (GetCatalogServiceQueryOptionOutput) Namespace ¶
func (o GetCatalogServiceQueryOptionOutput) Namespace() pulumi.StringPtrOutput
func (GetCatalogServiceQueryOptionOutput) Near ¶
func (o GetCatalogServiceQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetCatalogServiceQueryOptionOutput) NodeMeta ¶
func (o GetCatalogServiceQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetCatalogServiceQueryOptionOutput) RequireConsistent ¶
func (o GetCatalogServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput ¶
func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput
func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext ¶
func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput
func (GetCatalogServiceQueryOptionOutput) Token ¶
func (o GetCatalogServiceQueryOptionOutput) Token() pulumi.StringPtrOutput
func (GetCatalogServiceQueryOptionOutput) WaitIndex ¶
func (o GetCatalogServiceQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
func (GetCatalogServiceQueryOptionOutput) WaitTime ¶
func (o GetCatalogServiceQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
type GetCatalogServiceResult ¶
type GetCatalogServiceResult struct { Datacenter *string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` QueryOptions []GetCatalogServiceQueryOption `pulumi:"queryOptions"` Services []GetCatalogServiceService `pulumi:"services"` Tag *string `pulumi:"tag"` }
A collection of values returned by getCatalogService.
func GetCatalogService ¶
func GetCatalogService(ctx *pulumi.Context, args *GetCatalogServiceArgs, opts ...pulumi.InvokeOption) (*GetCatalogServiceResult, error)
type GetCatalogServiceService ¶
type GetCatalogServiceService struct { Address string `pulumi:"address"` CreateIndex string `pulumi:"createIndex"` EnableTagOverride string `pulumi:"enableTagOverride"` Id string `pulumi:"id"` Meta map[string]string `pulumi:"meta"` ModifyIndex string `pulumi:"modifyIndex"` Name string `pulumi:"name"` NodeAddress string `pulumi:"nodeAddress"` NodeId string `pulumi:"nodeId"` NodeMeta map[string]string `pulumi:"nodeMeta"` NodeName string `pulumi:"nodeName"` Port string `pulumi:"port"` TaggedAddresses map[string]string `pulumi:"taggedAddresses"` Tags []string `pulumi:"tags"` }
type GetCatalogServiceServiceArgs ¶
type GetCatalogServiceServiceArgs struct { Address pulumi.StringInput `pulumi:"address"` CreateIndex pulumi.StringInput `pulumi:"createIndex"` EnableTagOverride pulumi.StringInput `pulumi:"enableTagOverride"` Id pulumi.StringInput `pulumi:"id"` Meta pulumi.StringMapInput `pulumi:"meta"` ModifyIndex pulumi.StringInput `pulumi:"modifyIndex"` Name pulumi.StringInput `pulumi:"name"` NodeAddress pulumi.StringInput `pulumi:"nodeAddress"` NodeId pulumi.StringInput `pulumi:"nodeId"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` NodeName pulumi.StringInput `pulumi:"nodeName"` Port pulumi.StringInput `pulumi:"port"` TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"` Tags pulumi.StringArrayInput `pulumi:"tags"` }
func (GetCatalogServiceServiceArgs) ElementType ¶
func (GetCatalogServiceServiceArgs) ElementType() reflect.Type
func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput ¶
func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput
func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext ¶
func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput
type GetCatalogServiceServiceArray ¶
type GetCatalogServiceServiceArray []GetCatalogServiceServiceInput
func (GetCatalogServiceServiceArray) ElementType ¶
func (GetCatalogServiceServiceArray) ElementType() reflect.Type
func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput ¶
func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput
func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext ¶
func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput
type GetCatalogServiceServiceArrayInput ¶
type GetCatalogServiceServiceArrayInput interface { pulumi.Input ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput ToGetCatalogServiceServiceArrayOutputWithContext(context.Context) GetCatalogServiceServiceArrayOutput }
GetCatalogServiceServiceArrayInput is an input type that accepts GetCatalogServiceServiceArray and GetCatalogServiceServiceArrayOutput values. You can construct a concrete instance of `GetCatalogServiceServiceArrayInput` via:
GetCatalogServiceServiceArray{ GetCatalogServiceServiceArgs{...} }
type GetCatalogServiceServiceArrayOutput ¶
type GetCatalogServiceServiceArrayOutput struct{ *pulumi.OutputState }
func (GetCatalogServiceServiceArrayOutput) ElementType ¶
func (GetCatalogServiceServiceArrayOutput) ElementType() reflect.Type
func (GetCatalogServiceServiceArrayOutput) Index ¶
func (o GetCatalogServiceServiceArrayOutput) Index(i pulumi.IntInput) GetCatalogServiceServiceOutput
func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput ¶
func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput
func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext ¶
func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput
type GetCatalogServiceServiceInput ¶
type GetCatalogServiceServiceInput interface { pulumi.Input ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput ToGetCatalogServiceServiceOutputWithContext(context.Context) GetCatalogServiceServiceOutput }
GetCatalogServiceServiceInput is an input type that accepts GetCatalogServiceServiceArgs and GetCatalogServiceServiceOutput values. You can construct a concrete instance of `GetCatalogServiceServiceInput` via:
GetCatalogServiceServiceArgs{...}
type GetCatalogServiceServiceOutput ¶
type GetCatalogServiceServiceOutput struct{ *pulumi.OutputState }
func (GetCatalogServiceServiceOutput) Address ¶
func (o GetCatalogServiceServiceOutput) Address() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) CreateIndex ¶
func (o GetCatalogServiceServiceOutput) CreateIndex() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) ElementType ¶
func (GetCatalogServiceServiceOutput) ElementType() reflect.Type
func (GetCatalogServiceServiceOutput) EnableTagOverride ¶
func (o GetCatalogServiceServiceOutput) EnableTagOverride() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) Id ¶
func (o GetCatalogServiceServiceOutput) Id() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) Meta ¶
func (o GetCatalogServiceServiceOutput) Meta() pulumi.StringMapOutput
func (GetCatalogServiceServiceOutput) ModifyIndex ¶
func (o GetCatalogServiceServiceOutput) ModifyIndex() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) Name ¶
func (o GetCatalogServiceServiceOutput) Name() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) NodeAddress ¶
func (o GetCatalogServiceServiceOutput) NodeAddress() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) NodeId ¶
func (o GetCatalogServiceServiceOutput) NodeId() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) NodeMeta ¶
func (o GetCatalogServiceServiceOutput) NodeMeta() pulumi.StringMapOutput
func (GetCatalogServiceServiceOutput) NodeName ¶
func (o GetCatalogServiceServiceOutput) NodeName() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) Port ¶
func (o GetCatalogServiceServiceOutput) Port() pulumi.StringOutput
func (GetCatalogServiceServiceOutput) TaggedAddresses ¶
func (o GetCatalogServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput
func (GetCatalogServiceServiceOutput) Tags ¶
func (o GetCatalogServiceServiceOutput) Tags() pulumi.StringArrayOutput
func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput ¶
func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput
func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext ¶
func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput
type GetCatalogServicesArgs ¶
type GetCatalogServicesArgs struct {
QueryOptions []GetCatalogServicesQueryOption `pulumi:"queryOptions"`
}
A collection of arguments for invoking getCatalogServices.
type GetCatalogServicesQueryOption ¶
type GetCatalogServicesQueryOption struct { AllowStale *bool `pulumi:"allowStale"` Datacenter *string `pulumi:"datacenter"` Namespace *string `pulumi:"namespace"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` RequireConsistent *bool `pulumi:"requireConsistent"` Token *string `pulumi:"token"` WaitIndex *int `pulumi:"waitIndex"` WaitTime *string `pulumi:"waitTime"` }
type GetCatalogServicesQueryOptionArgs ¶
type GetCatalogServicesQueryOptionArgs struct { AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` Namespace pulumi.StringPtrInput `pulumi:"namespace"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` Token pulumi.StringPtrInput `pulumi:"token"` WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetCatalogServicesQueryOptionArgs) ElementType ¶
func (GetCatalogServicesQueryOptionArgs) ElementType() reflect.Type
func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput ¶
func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput
func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext ¶
func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput
type GetCatalogServicesQueryOptionArray ¶
type GetCatalogServicesQueryOptionArray []GetCatalogServicesQueryOptionInput
func (GetCatalogServicesQueryOptionArray) ElementType ¶
func (GetCatalogServicesQueryOptionArray) ElementType() reflect.Type
func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput ¶
func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput
func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext ¶
func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput
type GetCatalogServicesQueryOptionArrayInput ¶
type GetCatalogServicesQueryOptionArrayInput interface { pulumi.Input ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput ToGetCatalogServicesQueryOptionArrayOutputWithContext(context.Context) GetCatalogServicesQueryOptionArrayOutput }
GetCatalogServicesQueryOptionArrayInput is an input type that accepts GetCatalogServicesQueryOptionArray and GetCatalogServicesQueryOptionArrayOutput values. You can construct a concrete instance of `GetCatalogServicesQueryOptionArrayInput` via:
GetCatalogServicesQueryOptionArray{ GetCatalogServicesQueryOptionArgs{...} }
type GetCatalogServicesQueryOptionArrayOutput ¶
type GetCatalogServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetCatalogServicesQueryOptionArrayOutput) ElementType ¶
func (GetCatalogServicesQueryOptionArrayOutput) ElementType() reflect.Type
func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput ¶
func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput
func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext ¶
func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput
type GetCatalogServicesQueryOptionInput ¶
type GetCatalogServicesQueryOptionInput interface { pulumi.Input ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput ToGetCatalogServicesQueryOptionOutputWithContext(context.Context) GetCatalogServicesQueryOptionOutput }
GetCatalogServicesQueryOptionInput is an input type that accepts GetCatalogServicesQueryOptionArgs and GetCatalogServicesQueryOptionOutput values. You can construct a concrete instance of `GetCatalogServicesQueryOptionInput` via:
GetCatalogServicesQueryOptionArgs{...}
type GetCatalogServicesQueryOptionOutput ¶
type GetCatalogServicesQueryOptionOutput struct{ *pulumi.OutputState }
func (GetCatalogServicesQueryOptionOutput) AllowStale ¶
func (o GetCatalogServicesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
func (GetCatalogServicesQueryOptionOutput) Datacenter ¶
func (o GetCatalogServicesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
func (GetCatalogServicesQueryOptionOutput) ElementType ¶
func (GetCatalogServicesQueryOptionOutput) ElementType() reflect.Type
func (GetCatalogServicesQueryOptionOutput) Namespace ¶
func (o GetCatalogServicesQueryOptionOutput) Namespace() pulumi.StringPtrOutput
func (GetCatalogServicesQueryOptionOutput) Near ¶
func (o GetCatalogServicesQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetCatalogServicesQueryOptionOutput) NodeMeta ¶
func (o GetCatalogServicesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetCatalogServicesQueryOptionOutput) RequireConsistent ¶
func (o GetCatalogServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput ¶
func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput
func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext ¶
func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput
func (GetCatalogServicesQueryOptionOutput) Token ¶
func (o GetCatalogServicesQueryOptionOutput) Token() pulumi.StringPtrOutput
func (GetCatalogServicesQueryOptionOutput) WaitIndex ¶
func (o GetCatalogServicesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
func (GetCatalogServicesQueryOptionOutput) WaitTime ¶
func (o GetCatalogServicesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
type GetCatalogServicesResult ¶
type GetCatalogServicesResult struct { Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Names []string `pulumi:"names"` QueryOptions []GetCatalogServicesQueryOption `pulumi:"queryOptions"` Services map[string]string `pulumi:"services"` }
A collection of values returned by getCatalogServices.
func GetCatalogServices ¶
func GetCatalogServices(ctx *pulumi.Context, args *GetCatalogServicesArgs, opts ...pulumi.InvokeOption) (*GetCatalogServicesResult, error)
type GetKeyPrefixSubkeyCollection ¶
type GetKeyPrefixSubkeyCollection struct { // This is the default value to set for `var.<name>` // if the key does not exist in Consul. Defaults to an empty string. Default *string `pulumi:"default"` // This is the name of the key. This value of the // key is exposed as `var.<name>`. This is not the path of the subkey // in Consul. Name string `pulumi:"name"` // This is the subkey path in Consul (which will be appended // to the given `pathPrefix`) to construct the full key that will be used // to read the value. Path string `pulumi:"path"` }
type GetKeyPrefixSubkeyCollectionArgs ¶
type GetKeyPrefixSubkeyCollectionArgs struct { // This is the default value to set for `var.<name>` // if the key does not exist in Consul. Defaults to an empty string. Default pulumi.StringPtrInput `pulumi:"default"` // This is the name of the key. This value of the // key is exposed as `var.<name>`. This is not the path of the subkey // in Consul. Name pulumi.StringInput `pulumi:"name"` // This is the subkey path in Consul (which will be appended // to the given `pathPrefix`) to construct the full key that will be used // to read the value. Path pulumi.StringInput `pulumi:"path"` }
func (GetKeyPrefixSubkeyCollectionArgs) ElementType ¶
func (GetKeyPrefixSubkeyCollectionArgs) ElementType() reflect.Type
func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput ¶
func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput
func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext ¶
func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput
type GetKeyPrefixSubkeyCollectionArray ¶
type GetKeyPrefixSubkeyCollectionArray []GetKeyPrefixSubkeyCollectionInput
func (GetKeyPrefixSubkeyCollectionArray) ElementType ¶
func (GetKeyPrefixSubkeyCollectionArray) ElementType() reflect.Type
func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput ¶
func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput
func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext ¶
func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput
type GetKeyPrefixSubkeyCollectionArrayInput ¶
type GetKeyPrefixSubkeyCollectionArrayInput interface { pulumi.Input ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(context.Context) GetKeyPrefixSubkeyCollectionArrayOutput }
GetKeyPrefixSubkeyCollectionArrayInput is an input type that accepts GetKeyPrefixSubkeyCollectionArray and GetKeyPrefixSubkeyCollectionArrayOutput values. You can construct a concrete instance of `GetKeyPrefixSubkeyCollectionArrayInput` via:
GetKeyPrefixSubkeyCollectionArray{ GetKeyPrefixSubkeyCollectionArgs{...} }
type GetKeyPrefixSubkeyCollectionArrayOutput ¶
type GetKeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }
func (GetKeyPrefixSubkeyCollectionArrayOutput) ElementType ¶
func (GetKeyPrefixSubkeyCollectionArrayOutput) ElementType() reflect.Type
func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput ¶
func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput
func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext ¶
func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput
type GetKeyPrefixSubkeyCollectionInput ¶
type GetKeyPrefixSubkeyCollectionInput interface { pulumi.Input ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput ToGetKeyPrefixSubkeyCollectionOutputWithContext(context.Context) GetKeyPrefixSubkeyCollectionOutput }
GetKeyPrefixSubkeyCollectionInput is an input type that accepts GetKeyPrefixSubkeyCollectionArgs and GetKeyPrefixSubkeyCollectionOutput values. You can construct a concrete instance of `GetKeyPrefixSubkeyCollectionInput` via:
GetKeyPrefixSubkeyCollectionArgs{...}
type GetKeyPrefixSubkeyCollectionOutput ¶
type GetKeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }
func (GetKeyPrefixSubkeyCollectionOutput) Default ¶
func (o GetKeyPrefixSubkeyCollectionOutput) Default() pulumi.StringPtrOutput
This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.
func (GetKeyPrefixSubkeyCollectionOutput) ElementType ¶
func (GetKeyPrefixSubkeyCollectionOutput) ElementType() reflect.Type
func (GetKeyPrefixSubkeyCollectionOutput) Name ¶
func (o GetKeyPrefixSubkeyCollectionOutput) Name() pulumi.StringOutput
This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the subkey in Consul.
func (GetKeyPrefixSubkeyCollectionOutput) Path ¶
func (o GetKeyPrefixSubkeyCollectionOutput) Path() pulumi.StringOutput
This is the subkey path in Consul (which will be appended to the given `pathPrefix`) to construct the full key that will be used to read the value.
func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput ¶
func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput
func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext ¶
func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput
type GetKeysKey ¶
type GetKeysKey struct { // This is the default value to set for `var.<name>` // if the key does not exist in Consul. Defaults to an empty string. Default *string `pulumi:"default"` // This is the name of the key. This value of the // key is exposed as `var.<name>`. This is not the path of the key // in Consul. Name string `pulumi:"name"` // This is the path in Consul that should be read // or written to. Path string `pulumi:"path"` }
type GetKeysKeyArgs ¶
type GetKeysKeyArgs struct { // This is the default value to set for `var.<name>` // if the key does not exist in Consul. Defaults to an empty string. Default pulumi.StringPtrInput `pulumi:"default"` // This is the name of the key. This value of the // key is exposed as `var.<name>`. This is not the path of the key // in Consul. Name pulumi.StringInput `pulumi:"name"` // This is the path in Consul that should be read // or written to. Path pulumi.StringInput `pulumi:"path"` }
func (GetKeysKeyArgs) ElementType ¶
func (GetKeysKeyArgs) ElementType() reflect.Type
func (GetKeysKeyArgs) ToGetKeysKeyOutput ¶
func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput
func (GetKeysKeyArgs) ToGetKeysKeyOutputWithContext ¶
func (i GetKeysKeyArgs) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
type GetKeysKeyArray ¶
type GetKeysKeyArray []GetKeysKeyInput
func (GetKeysKeyArray) ElementType ¶
func (GetKeysKeyArray) ElementType() reflect.Type
func (GetKeysKeyArray) ToGetKeysKeyArrayOutput ¶
func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
func (GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext ¶
func (i GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
type GetKeysKeyArrayInput ¶
type GetKeysKeyArrayInput interface { pulumi.Input ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput ToGetKeysKeyArrayOutputWithContext(context.Context) GetKeysKeyArrayOutput }
GetKeysKeyArrayInput is an input type that accepts GetKeysKeyArray and GetKeysKeyArrayOutput values. You can construct a concrete instance of `GetKeysKeyArrayInput` via:
GetKeysKeyArray{ GetKeysKeyArgs{...} }
type GetKeysKeyArrayOutput ¶
type GetKeysKeyArrayOutput struct{ *pulumi.OutputState }
func (GetKeysKeyArrayOutput) ElementType ¶
func (GetKeysKeyArrayOutput) ElementType() reflect.Type
func (GetKeysKeyArrayOutput) Index ¶
func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput
func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput ¶
func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext ¶
func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput
type GetKeysKeyInput ¶
type GetKeysKeyInput interface { pulumi.Input ToGetKeysKeyOutput() GetKeysKeyOutput ToGetKeysKeyOutputWithContext(context.Context) GetKeysKeyOutput }
GetKeysKeyInput is an input type that accepts GetKeysKeyArgs and GetKeysKeyOutput values. You can construct a concrete instance of `GetKeysKeyInput` via:
GetKeysKeyArgs{...}
type GetKeysKeyOutput ¶
type GetKeysKeyOutput struct{ *pulumi.OutputState }
func (GetKeysKeyOutput) Default ¶
func (o GetKeysKeyOutput) Default() pulumi.StringPtrOutput
This is the default value to set for `var.<name>` if the key does not exist in Consul. Defaults to an empty string.
func (GetKeysKeyOutput) ElementType ¶
func (GetKeysKeyOutput) ElementType() reflect.Type
func (GetKeysKeyOutput) Name ¶
func (o GetKeysKeyOutput) Name() pulumi.StringOutput
This is the name of the key. This value of the key is exposed as `var.<name>`. This is not the path of the key in Consul.
func (GetKeysKeyOutput) Path ¶
func (o GetKeysKeyOutput) Path() pulumi.StringOutput
This is the path in Consul that should be read or written to.
func (GetKeysKeyOutput) ToGetKeysKeyOutput ¶
func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput
func (GetKeysKeyOutput) ToGetKeysKeyOutputWithContext ¶
func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput
type GetNodesArgs ¶
type GetNodesArgs struct { // See below. QueryOptions []GetNodesQueryOption `pulumi:"queryOptions"` }
A collection of arguments for invoking getNodes.
type GetNodesNode ¶
type GetNodesNode struct { Address string `pulumi:"address"` // The Node ID of the Consul agent. // * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta // data tag information, if any. // * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name // of the Consul node. // * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The // IP address the node is advertising to the Consul cluster. // * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - // List of explicit LAN and WAN IP addresses for the agent. Id string `pulumi:"id"` Meta map[string]string `pulumi:"meta"` Name string `pulumi:"name"` TaggedAddresses map[string]string `pulumi:"taggedAddresses"` }
type GetNodesNodeArgs ¶
type GetNodesNodeArgs struct { Address pulumi.StringInput `pulumi:"address"` // The Node ID of the Consul agent. // * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta // data tag information, if any. // * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name // of the Consul node. // * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The // IP address the node is advertising to the Consul cluster. // * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - // List of explicit LAN and WAN IP addresses for the agent. Id pulumi.StringInput `pulumi:"id"` Meta pulumi.StringMapInput `pulumi:"meta"` Name pulumi.StringInput `pulumi:"name"` TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"` }
func (GetNodesNodeArgs) ElementType ¶
func (GetNodesNodeArgs) ElementType() reflect.Type
func (GetNodesNodeArgs) ToGetNodesNodeOutput ¶
func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext ¶
func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesNodeArray ¶
type GetNodesNodeArray []GetNodesNodeInput
func (GetNodesNodeArray) ElementType ¶
func (GetNodesNodeArray) ElementType() reflect.Type
func (GetNodesNodeArray) ToGetNodesNodeArrayOutput ¶
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext ¶
func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeArrayInput ¶
type GetNodesNodeArrayInput interface { pulumi.Input ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput }
GetNodesNodeArrayInput is an input type that accepts GetNodesNodeArray and GetNodesNodeArrayOutput values. You can construct a concrete instance of `GetNodesNodeArrayInput` via:
GetNodesNodeArray{ GetNodesNodeArgs{...} }
type GetNodesNodeArrayOutput ¶
type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }
func (GetNodesNodeArrayOutput) ElementType ¶
func (GetNodesNodeArrayOutput) ElementType() reflect.Type
func (GetNodesNodeArrayOutput) Index ¶
func (o GetNodesNodeArrayOutput) Index(i pulumi.IntInput) GetNodesNodeOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput ¶
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext ¶
func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput
type GetNodesNodeInput ¶
type GetNodesNodeInput interface { pulumi.Input ToGetNodesNodeOutput() GetNodesNodeOutput ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput }
GetNodesNodeInput is an input type that accepts GetNodesNodeArgs and GetNodesNodeOutput values. You can construct a concrete instance of `GetNodesNodeInput` via:
GetNodesNodeArgs{...}
type GetNodesNodeOutput ¶
type GetNodesNodeOutput struct{ *pulumi.OutputState }
func (GetNodesNodeOutput) Address ¶
func (o GetNodesNodeOutput) Address() pulumi.StringOutput
func (GetNodesNodeOutput) ElementType ¶
func (GetNodesNodeOutput) ElementType() reflect.Type
func (GetNodesNodeOutput) Id ¶
func (o GetNodesNodeOutput) Id() pulumi.StringOutput
The Node ID of the Consul agent. * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta data tag information, if any. * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name of the Consul node. * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The IP address the node is advertising to the Consul cluster. * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - List of explicit LAN and WAN IP addresses for the agent.
func (GetNodesNodeOutput) Meta ¶
func (o GetNodesNodeOutput) Meta() pulumi.StringMapOutput
func (GetNodesNodeOutput) Name ¶
func (o GetNodesNodeOutput) Name() pulumi.StringOutput
func (GetNodesNodeOutput) TaggedAddresses ¶
func (o GetNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutput ¶
func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput
func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext ¶
func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput
type GetNodesQueryOption ¶
type GetNodesQueryOption struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale *bool `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to then the datacenter in the provider setup. Datacenter *string `pulumi:"datacenter"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent *bool `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token *string `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex *int `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime *string `pulumi:"waitTime"` }
type GetNodesQueryOptionArgs ¶
type GetNodesQueryOptionArgs struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to then the datacenter in the provider setup. Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token pulumi.StringPtrInput `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetNodesQueryOptionArgs) ElementType ¶
func (GetNodesQueryOptionArgs) ElementType() reflect.Type
func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput ¶
func (i GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput
func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutputWithContext ¶
func (i GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutputWithContext(ctx context.Context) GetNodesQueryOptionOutput
type GetNodesQueryOptionArray ¶
type GetNodesQueryOptionArray []GetNodesQueryOptionInput
func (GetNodesQueryOptionArray) ElementType ¶
func (GetNodesQueryOptionArray) ElementType() reflect.Type
func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput ¶
func (i GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput
func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutputWithContext ¶
func (i GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetNodesQueryOptionArrayOutput
type GetNodesQueryOptionArrayInput ¶
type GetNodesQueryOptionArrayInput interface { pulumi.Input ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput ToGetNodesQueryOptionArrayOutputWithContext(context.Context) GetNodesQueryOptionArrayOutput }
GetNodesQueryOptionArrayInput is an input type that accepts GetNodesQueryOptionArray and GetNodesQueryOptionArrayOutput values. You can construct a concrete instance of `GetNodesQueryOptionArrayInput` via:
GetNodesQueryOptionArray{ GetNodesQueryOptionArgs{...} }
type GetNodesQueryOptionArrayOutput ¶
type GetNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetNodesQueryOptionArrayOutput) ElementType ¶
func (GetNodesQueryOptionArrayOutput) ElementType() reflect.Type
func (GetNodesQueryOptionArrayOutput) Index ¶
func (o GetNodesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetNodesQueryOptionOutput
func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput ¶
func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput
func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext ¶
func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetNodesQueryOptionArrayOutput
type GetNodesQueryOptionInput ¶
type GetNodesQueryOptionInput interface { pulumi.Input ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput ToGetNodesQueryOptionOutputWithContext(context.Context) GetNodesQueryOptionOutput }
GetNodesQueryOptionInput is an input type that accepts GetNodesQueryOptionArgs and GetNodesQueryOptionOutput values. You can construct a concrete instance of `GetNodesQueryOptionInput` via:
GetNodesQueryOptionArgs{...}
type GetNodesQueryOptionOutput ¶
type GetNodesQueryOptionOutput struct{ *pulumi.OutputState }
func (GetNodesQueryOptionOutput) AllowStale ¶
func (o GetNodesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
When `true`, the default, allow responses from Consul servers that are followers.
func (GetNodesQueryOptionOutput) Datacenter ¶
func (o GetNodesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to then the datacenter in the provider setup.
func (GetNodesQueryOptionOutput) ElementType ¶
func (GetNodesQueryOptionOutput) ElementType() reflect.Type
func (GetNodesQueryOptionOutput) Near ¶
func (o GetNodesQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetNodesQueryOptionOutput) NodeMeta ¶
func (o GetNodesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetNodesQueryOptionOutput) RequireConsistent ¶
func (o GetNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.
func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput ¶
func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput
func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext ¶
func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext(ctx context.Context) GetNodesQueryOptionOutput
func (GetNodesQueryOptionOutput) Token ¶
func (o GetNodesQueryOptionOutput) Token() pulumi.StringPtrOutput
Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overriden if necessary.
func (GetNodesQueryOptionOutput) WaitIndex ¶
func (o GetNodesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
Index number used to enable blocking quereis.
func (GetNodesQueryOptionOutput) WaitTime ¶
func (o GetNodesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
Max time the client should wait for a blocking query to return.
type GetNodesResult ¶
type GetNodesResult struct { // The datacenter the keys are being read from to. Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of the Consul node IDs. NodeIds []string `pulumi:"nodeIds"` // A list of the Consul node names. NodeNames []string `pulumi:"nodeNames"` // A list of nodes and details about each Consul agent. The list of // per-node attributes is detailed below. Nodes []GetNodesNode `pulumi:"nodes"` QueryOptions []GetNodesQueryOption `pulumi:"queryOptions"` }
A collection of values returned by getNodes.
func GetNodes ¶
func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)
The `.getNodes` data source returns a list of Consul nodes that have been registered with the Consul cluster in a given datacenter. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of nodes from a different WAN-attached Consul datacenter.
type GetServiceHealthArgs ¶
type GetServiceHealthArgs struct { // The Consul datacenter to query. Datacenter *string `pulumi:"datacenter"` // The service name to select. Name string `pulumi:"name"` // Specifies a node name to sort the node list in ascending order // based on the estimated round trip time from that node. Near *string `pulumi:"near"` // Filter the results to nodes with the specified key/value // pairs. NodeMeta map[string]string `pulumi:"nodeMeta"` // Whether to return only nodes with all checks in the // passing state. Defaults to `true`. Passing *bool `pulumi:"passing"` // A single tag that can be used to filter the list to return // based on a single matching tag. Tag *string `pulumi:"tag"` WaitFor *string `pulumi:"waitFor"` }
A collection of arguments for invoking getServiceHealth.
type GetServiceHealthResult ¶
type GetServiceHealthResult struct { // The datacenter in which the node is running. // * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - // List of explicit LAN and WAN IP addresses for the agent. Datacenter *string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of this health-check. Name string `pulumi:"name"` // The node to which the result must be sorted to. Near *string `pulumi:"near"` // The list of metadata to filter the nodes. NodeMeta map[string]string `pulumi:"nodeMeta"` // Whether to return only nodes with all checks in the // passing state. Passing *bool `pulumi:"passing"` // A list of entries and details about each endpoint advertising a // service. Each element in the list has three attributes: `node`, `service` and // `checks`. The list of the attributes of each one is detailed below. Results []GetServiceHealthResultType `pulumi:"results"` // The name of the tag used to filter the list. Tag *string `pulumi:"tag"` WaitFor *string `pulumi:"waitFor"` }
A collection of values returned by getServiceHealth.
func GetServiceHealth ¶
func GetServiceHealth(ctx *pulumi.Context, args *GetServiceHealthArgs, opts ...pulumi.InvokeOption) (*GetServiceHealthResult, error)
`.getServiceHealth` can be used to get the list of the instances that are currently healthy, according to their associated health-checks. The result includes the list of service instances, the node associated to each instance and its health-checks.
This resource is likely to change as frequently as the health-checks are being updated, you should expect different results in a frequent basis.
type GetServiceHealthResultCheck ¶
type GetServiceHealthResultCheck struct { // The ID of this health-check. Id string `pulumi:"id"` // The service name to select. Name string `pulumi:"name"` // The name of the node associated with this health-check. Node string `pulumi:"node"` // A human readable description of the current state of the health-check. Notes string `pulumi:"notes"` // The output of the health-check. Output string `pulumi:"output"` // The ID of the service associated to this health-check. ServiceId string `pulumi:"serviceId"` // The name of the service associated with this health-check. ServiceName string `pulumi:"serviceName"` // The list of tags associated with this health-check. ServiceTags []string `pulumi:"serviceTags"` // The status of this health-check. Status string `pulumi:"status"` }
type GetServiceHealthResultCheckArgs ¶
type GetServiceHealthResultCheckArgs struct { // The ID of this health-check. Id pulumi.StringInput `pulumi:"id"` // The service name to select. Name pulumi.StringInput `pulumi:"name"` // The name of the node associated with this health-check. Node pulumi.StringInput `pulumi:"node"` // A human readable description of the current state of the health-check. Notes pulumi.StringInput `pulumi:"notes"` // The output of the health-check. Output pulumi.StringInput `pulumi:"output"` // The ID of the service associated to this health-check. ServiceId pulumi.StringInput `pulumi:"serviceId"` // The name of the service associated with this health-check. ServiceName pulumi.StringInput `pulumi:"serviceName"` // The list of tags associated with this health-check. ServiceTags pulumi.StringArrayInput `pulumi:"serviceTags"` // The status of this health-check. Status pulumi.StringInput `pulumi:"status"` }
func (GetServiceHealthResultCheckArgs) ElementType ¶
func (GetServiceHealthResultCheckArgs) ElementType() reflect.Type
func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput ¶
func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput
func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext ¶
func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput
type GetServiceHealthResultCheckArray ¶
type GetServiceHealthResultCheckArray []GetServiceHealthResultCheckInput
func (GetServiceHealthResultCheckArray) ElementType ¶
func (GetServiceHealthResultCheckArray) ElementType() reflect.Type
func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput ¶
func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput
func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext ¶
func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput
type GetServiceHealthResultCheckArrayInput ¶
type GetServiceHealthResultCheckArrayInput interface { pulumi.Input ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput ToGetServiceHealthResultCheckArrayOutputWithContext(context.Context) GetServiceHealthResultCheckArrayOutput }
GetServiceHealthResultCheckArrayInput is an input type that accepts GetServiceHealthResultCheckArray and GetServiceHealthResultCheckArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultCheckArrayInput` via:
GetServiceHealthResultCheckArray{ GetServiceHealthResultCheckArgs{...} }
type GetServiceHealthResultCheckArrayOutput ¶
type GetServiceHealthResultCheckArrayOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultCheckArrayOutput) ElementType ¶
func (GetServiceHealthResultCheckArrayOutput) ElementType() reflect.Type
func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput ¶
func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput
func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext ¶
func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput
type GetServiceHealthResultCheckInput ¶
type GetServiceHealthResultCheckInput interface { pulumi.Input ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput ToGetServiceHealthResultCheckOutputWithContext(context.Context) GetServiceHealthResultCheckOutput }
GetServiceHealthResultCheckInput is an input type that accepts GetServiceHealthResultCheckArgs and GetServiceHealthResultCheckOutput values. You can construct a concrete instance of `GetServiceHealthResultCheckInput` via:
GetServiceHealthResultCheckArgs{...}
type GetServiceHealthResultCheckOutput ¶
type GetServiceHealthResultCheckOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultCheckOutput) ElementType ¶
func (GetServiceHealthResultCheckOutput) ElementType() reflect.Type
func (GetServiceHealthResultCheckOutput) Id ¶
func (o GetServiceHealthResultCheckOutput) Id() pulumi.StringOutput
The ID of this health-check.
func (GetServiceHealthResultCheckOutput) Name ¶
func (o GetServiceHealthResultCheckOutput) Name() pulumi.StringOutput
The service name to select.
func (GetServiceHealthResultCheckOutput) Node ¶
func (o GetServiceHealthResultCheckOutput) Node() pulumi.StringOutput
The name of the node associated with this health-check.
func (GetServiceHealthResultCheckOutput) Notes ¶
func (o GetServiceHealthResultCheckOutput) Notes() pulumi.StringOutput
A human readable description of the current state of the health-check.
func (GetServiceHealthResultCheckOutput) Output ¶
func (o GetServiceHealthResultCheckOutput) Output() pulumi.StringOutput
The output of the health-check.
func (GetServiceHealthResultCheckOutput) ServiceId ¶
func (o GetServiceHealthResultCheckOutput) ServiceId() pulumi.StringOutput
The ID of the service associated to this health-check.
func (GetServiceHealthResultCheckOutput) ServiceName ¶
func (o GetServiceHealthResultCheckOutput) ServiceName() pulumi.StringOutput
The name of the service associated with this health-check.
func (GetServiceHealthResultCheckOutput) ServiceTags ¶
func (o GetServiceHealthResultCheckOutput) ServiceTags() pulumi.StringArrayOutput
The list of tags associated with this health-check.
func (GetServiceHealthResultCheckOutput) Status ¶
func (o GetServiceHealthResultCheckOutput) Status() pulumi.StringOutput
The status of this health-check.
func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput ¶
func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput
func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext ¶
func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput
type GetServiceHealthResultNode ¶
type GetServiceHealthResultNode struct { // The address of this instance. Address string `pulumi:"address"` // The Consul datacenter to query. Datacenter string `pulumi:"datacenter"` // The ID of this health-check. Id string `pulumi:"id"` // Service metadata tag information, if any. Meta map[string]string `pulumi:"meta"` // The service name to select. Name string `pulumi:"name"` TaggedAddresses map[string]string `pulumi:"taggedAddresses"` }
type GetServiceHealthResultNodeArgs ¶
type GetServiceHealthResultNodeArgs struct { // The address of this instance. Address pulumi.StringInput `pulumi:"address"` // The Consul datacenter to query. Datacenter pulumi.StringInput `pulumi:"datacenter"` // The ID of this health-check. Id pulumi.StringInput `pulumi:"id"` // Service metadata tag information, if any. Meta pulumi.StringMapInput `pulumi:"meta"` // The service name to select. Name pulumi.StringInput `pulumi:"name"` TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"` }
func (GetServiceHealthResultNodeArgs) ElementType ¶
func (GetServiceHealthResultNodeArgs) ElementType() reflect.Type
func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput ¶
func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput
func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext ¶
func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput
type GetServiceHealthResultNodeInput ¶
type GetServiceHealthResultNodeInput interface { pulumi.Input ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput ToGetServiceHealthResultNodeOutputWithContext(context.Context) GetServiceHealthResultNodeOutput }
GetServiceHealthResultNodeInput is an input type that accepts GetServiceHealthResultNodeArgs and GetServiceHealthResultNodeOutput values. You can construct a concrete instance of `GetServiceHealthResultNodeInput` via:
GetServiceHealthResultNodeArgs{...}
type GetServiceHealthResultNodeOutput ¶
type GetServiceHealthResultNodeOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultNodeOutput) Address ¶
func (o GetServiceHealthResultNodeOutput) Address() pulumi.StringOutput
The address of this instance.
func (GetServiceHealthResultNodeOutput) Datacenter ¶
func (o GetServiceHealthResultNodeOutput) Datacenter() pulumi.StringOutput
The Consul datacenter to query.
func (GetServiceHealthResultNodeOutput) ElementType ¶
func (GetServiceHealthResultNodeOutput) ElementType() reflect.Type
func (GetServiceHealthResultNodeOutput) Id ¶
func (o GetServiceHealthResultNodeOutput) Id() pulumi.StringOutput
The ID of this health-check.
func (GetServiceHealthResultNodeOutput) Meta ¶
func (o GetServiceHealthResultNodeOutput) Meta() pulumi.StringMapOutput
Service metadata tag information, if any.
func (GetServiceHealthResultNodeOutput) Name ¶
func (o GetServiceHealthResultNodeOutput) Name() pulumi.StringOutput
The service name to select.
func (GetServiceHealthResultNodeOutput) TaggedAddresses ¶
func (o GetServiceHealthResultNodeOutput) TaggedAddresses() pulumi.StringMapOutput
func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput ¶
func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput
func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext ¶
func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput
type GetServiceHealthResultService ¶
type GetServiceHealthResultService struct { // The address of this instance. Address string `pulumi:"address"` // The ID of this health-check. Id string `pulumi:"id"` // Service metadata tag information, if any. Meta map[string]string `pulumi:"meta"` // The service name to select. Name string `pulumi:"name"` // The port of this instance. Port int `pulumi:"port"` // The list of tags associated with this instance. Tags []string `pulumi:"tags"` }
type GetServiceHealthResultServiceArgs ¶
type GetServiceHealthResultServiceArgs struct { // The address of this instance. Address pulumi.StringInput `pulumi:"address"` // The ID of this health-check. Id pulumi.StringInput `pulumi:"id"` // Service metadata tag information, if any. Meta pulumi.StringMapInput `pulumi:"meta"` // The service name to select. Name pulumi.StringInput `pulumi:"name"` // The port of this instance. Port pulumi.IntInput `pulumi:"port"` // The list of tags associated with this instance. Tags pulumi.StringArrayInput `pulumi:"tags"` }
func (GetServiceHealthResultServiceArgs) ElementType ¶
func (GetServiceHealthResultServiceArgs) ElementType() reflect.Type
func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput ¶
func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput
func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext ¶
func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput
type GetServiceHealthResultServiceInput ¶
type GetServiceHealthResultServiceInput interface { pulumi.Input ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput ToGetServiceHealthResultServiceOutputWithContext(context.Context) GetServiceHealthResultServiceOutput }
GetServiceHealthResultServiceInput is an input type that accepts GetServiceHealthResultServiceArgs and GetServiceHealthResultServiceOutput values. You can construct a concrete instance of `GetServiceHealthResultServiceInput` via:
GetServiceHealthResultServiceArgs{...}
type GetServiceHealthResultServiceOutput ¶
type GetServiceHealthResultServiceOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultServiceOutput) Address ¶
func (o GetServiceHealthResultServiceOutput) Address() pulumi.StringOutput
The address of this instance.
func (GetServiceHealthResultServiceOutput) ElementType ¶
func (GetServiceHealthResultServiceOutput) ElementType() reflect.Type
func (GetServiceHealthResultServiceOutput) Id ¶
func (o GetServiceHealthResultServiceOutput) Id() pulumi.StringOutput
The ID of this health-check.
func (GetServiceHealthResultServiceOutput) Meta ¶
func (o GetServiceHealthResultServiceOutput) Meta() pulumi.StringMapOutput
Service metadata tag information, if any.
func (GetServiceHealthResultServiceOutput) Name ¶
func (o GetServiceHealthResultServiceOutput) Name() pulumi.StringOutput
The service name to select.
func (GetServiceHealthResultServiceOutput) Port ¶
func (o GetServiceHealthResultServiceOutput) Port() pulumi.IntOutput
The port of this instance.
func (GetServiceHealthResultServiceOutput) Tags ¶
func (o GetServiceHealthResultServiceOutput) Tags() pulumi.StringArrayOutput
The list of tags associated with this instance.
func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput ¶
func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput
func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext ¶
func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput
type GetServiceHealthResultType ¶
type GetServiceHealthResultType struct { Checks []GetServiceHealthResultCheck `pulumi:"checks"` // The name of the node associated with this health-check. Node GetServiceHealthResultNode `pulumi:"node"` Service GetServiceHealthResultService `pulumi:"service"` }
type GetServiceHealthResultTypeArgs ¶
type GetServiceHealthResultTypeArgs struct { Checks GetServiceHealthResultCheckArrayInput `pulumi:"checks"` // The name of the node associated with this health-check. Node GetServiceHealthResultNodeInput `pulumi:"node"` Service GetServiceHealthResultServiceInput `pulumi:"service"` }
func (GetServiceHealthResultTypeArgs) ElementType ¶
func (GetServiceHealthResultTypeArgs) ElementType() reflect.Type
func (GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutput ¶
func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput
func (GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutputWithContext ¶
func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput
type GetServiceHealthResultTypeArray ¶
type GetServiceHealthResultTypeArray []GetServiceHealthResultTypeInput
func (GetServiceHealthResultTypeArray) ElementType ¶
func (GetServiceHealthResultTypeArray) ElementType() reflect.Type
func (GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutput ¶
func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput
func (GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutputWithContext ¶
func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput
type GetServiceHealthResultTypeArrayInput ¶
type GetServiceHealthResultTypeArrayInput interface { pulumi.Input ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput ToGetServiceHealthResultTypeArrayOutputWithContext(context.Context) GetServiceHealthResultTypeArrayOutput }
GetServiceHealthResultTypeArrayInput is an input type that accepts GetServiceHealthResultTypeArray and GetServiceHealthResultTypeArrayOutput values. You can construct a concrete instance of `GetServiceHealthResultTypeArrayInput` via:
GetServiceHealthResultTypeArray{ GetServiceHealthResultTypeArgs{...} }
type GetServiceHealthResultTypeArrayOutput ¶
type GetServiceHealthResultTypeArrayOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultTypeArrayOutput) ElementType ¶
func (GetServiceHealthResultTypeArrayOutput) ElementType() reflect.Type
func (GetServiceHealthResultTypeArrayOutput) Index ¶
func (o GetServiceHealthResultTypeArrayOutput) Index(i pulumi.IntInput) GetServiceHealthResultTypeOutput
func (GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutput ¶
func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput
func (GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutputWithContext ¶
func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput
type GetServiceHealthResultTypeInput ¶
type GetServiceHealthResultTypeInput interface { pulumi.Input ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput ToGetServiceHealthResultTypeOutputWithContext(context.Context) GetServiceHealthResultTypeOutput }
GetServiceHealthResultTypeInput is an input type that accepts GetServiceHealthResultTypeArgs and GetServiceHealthResultTypeOutput values. You can construct a concrete instance of `GetServiceHealthResultTypeInput` via:
GetServiceHealthResultTypeArgs{...}
type GetServiceHealthResultTypeOutput ¶
type GetServiceHealthResultTypeOutput struct{ *pulumi.OutputState }
func (GetServiceHealthResultTypeOutput) Checks ¶
func (o GetServiceHealthResultTypeOutput) Checks() GetServiceHealthResultCheckArrayOutput
func (GetServiceHealthResultTypeOutput) ElementType ¶
func (GetServiceHealthResultTypeOutput) ElementType() reflect.Type
func (GetServiceHealthResultTypeOutput) Node ¶
func (o GetServiceHealthResultTypeOutput) Node() GetServiceHealthResultNodeOutput
The name of the node associated with this health-check.
func (GetServiceHealthResultTypeOutput) Service ¶
func (o GetServiceHealthResultTypeOutput) Service() GetServiceHealthResultServiceOutput
func (GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutput ¶
func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput
func (GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutputWithContext ¶
func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput
type GetServiceQueryOption ¶
type GetServiceQueryOption struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale *bool `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to. Datacenter *string `pulumi:"datacenter"` // The namespace to lookup the service. Namespace *string `pulumi:"namespace"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent *bool `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token *string `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex *int `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime *string `pulumi:"waitTime"` }
type GetServiceQueryOptionArgs ¶
type GetServiceQueryOptionArgs struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to. Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` // The namespace to lookup the service. Namespace pulumi.StringPtrInput `pulumi:"namespace"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token pulumi.StringPtrInput `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetServiceQueryOptionArgs) ElementType ¶
func (GetServiceQueryOptionArgs) ElementType() reflect.Type
func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput ¶
func (i GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput
func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutputWithContext ¶
func (i GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutputWithContext(ctx context.Context) GetServiceQueryOptionOutput
type GetServiceQueryOptionArray ¶
type GetServiceQueryOptionArray []GetServiceQueryOptionInput
func (GetServiceQueryOptionArray) ElementType ¶
func (GetServiceQueryOptionArray) ElementType() reflect.Type
func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput ¶
func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput
func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext ¶
func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput
type GetServiceQueryOptionArrayInput ¶
type GetServiceQueryOptionArrayInput interface { pulumi.Input ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput ToGetServiceQueryOptionArrayOutputWithContext(context.Context) GetServiceQueryOptionArrayOutput }
GetServiceQueryOptionArrayInput is an input type that accepts GetServiceQueryOptionArray and GetServiceQueryOptionArrayOutput values. You can construct a concrete instance of `GetServiceQueryOptionArrayInput` via:
GetServiceQueryOptionArray{ GetServiceQueryOptionArgs{...} }
type GetServiceQueryOptionArrayOutput ¶
type GetServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetServiceQueryOptionArrayOutput) ElementType ¶
func (GetServiceQueryOptionArrayOutput) ElementType() reflect.Type
func (GetServiceQueryOptionArrayOutput) Index ¶
func (o GetServiceQueryOptionArrayOutput) Index(i pulumi.IntInput) GetServiceQueryOptionOutput
func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput ¶
func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput
func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext ¶
func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput
type GetServiceQueryOptionInput ¶
type GetServiceQueryOptionInput interface { pulumi.Input ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput ToGetServiceQueryOptionOutputWithContext(context.Context) GetServiceQueryOptionOutput }
GetServiceQueryOptionInput is an input type that accepts GetServiceQueryOptionArgs and GetServiceQueryOptionOutput values. You can construct a concrete instance of `GetServiceQueryOptionInput` via:
GetServiceQueryOptionArgs{...}
type GetServiceQueryOptionOutput ¶
type GetServiceQueryOptionOutput struct{ *pulumi.OutputState }
func (GetServiceQueryOptionOutput) AllowStale ¶
func (o GetServiceQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
When `true`, the default, allow responses from Consul servers that are followers.
func (GetServiceQueryOptionOutput) Datacenter ¶
func (o GetServiceQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to.
func (GetServiceQueryOptionOutput) ElementType ¶
func (GetServiceQueryOptionOutput) ElementType() reflect.Type
func (GetServiceQueryOptionOutput) Namespace ¶
func (o GetServiceQueryOptionOutput) Namespace() pulumi.StringPtrOutput
The namespace to lookup the service.
func (GetServiceQueryOptionOutput) Near ¶
func (o GetServiceQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetServiceQueryOptionOutput) NodeMeta ¶
func (o GetServiceQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetServiceQueryOptionOutput) RequireConsistent ¶
func (o GetServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.
func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput ¶
func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput
func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext ¶
func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext(ctx context.Context) GetServiceQueryOptionOutput
func (GetServiceQueryOptionOutput) Token ¶
func (o GetServiceQueryOptionOutput) Token() pulumi.StringPtrOutput
Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overriden if necessary.
func (GetServiceQueryOptionOutput) WaitIndex ¶
func (o GetServiceQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
Index number used to enable blocking quereis.
func (GetServiceQueryOptionOutput) WaitTime ¶
func (o GetServiceQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
Max time the client should wait for a blocking query to return.
type GetServiceService ¶
type GetServiceService struct { Address string `pulumi:"address"` CreateIndex string `pulumi:"createIndex"` EnableTagOverride string `pulumi:"enableTagOverride"` Id string `pulumi:"id"` Meta map[string]string `pulumi:"meta"` ModifyIndex string `pulumi:"modifyIndex"` // The service name to select. Name string `pulumi:"name"` NodeAddress string `pulumi:"nodeAddress"` // The Node ID of the Consul agent advertising the service. // * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node // meta data tag information, if any. // * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The // name of the Consul node. // * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) - // The IP address of the service. If the `ServiceAddress` in the Consul catalog // is empty, this value is automatically populated with the `nodeAddress` (the // `Address` in the Consul Catalog). // * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) - // Whether service tags can be overridden on this service. // * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A // unique service instance identifier. // * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The // name of the service. // * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) - // Port number of the service. // * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - // List of explicit LAN and WAN IP addresses for the agent. // * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) - // List of tags for the service. // * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta // data tag information, if any. NodeId string `pulumi:"nodeId"` NodeMeta map[string]string `pulumi:"nodeMeta"` NodeName string `pulumi:"nodeName"` Port string `pulumi:"port"` TaggedAddresses map[string]string `pulumi:"taggedAddresses"` Tags []string `pulumi:"tags"` }
type GetServiceServiceArgs ¶
type GetServiceServiceArgs struct { Address pulumi.StringInput `pulumi:"address"` CreateIndex pulumi.StringInput `pulumi:"createIndex"` EnableTagOverride pulumi.StringInput `pulumi:"enableTagOverride"` Id pulumi.StringInput `pulumi:"id"` Meta pulumi.StringMapInput `pulumi:"meta"` ModifyIndex pulumi.StringInput `pulumi:"modifyIndex"` // The service name to select. Name pulumi.StringInput `pulumi:"name"` NodeAddress pulumi.StringInput `pulumi:"nodeAddress"` // The Node ID of the Consul agent advertising the service. // * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node // meta data tag information, if any. // * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The // name of the Consul node. // * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) - // The IP address of the service. If the `ServiceAddress` in the Consul catalog // is empty, this value is automatically populated with the `nodeAddress` (the // `Address` in the Consul Catalog). // * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) - // Whether service tags can be overridden on this service. // * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A // unique service instance identifier. // * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The // name of the service. // * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) - // Port number of the service. // * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - // List of explicit LAN and WAN IP addresses for the agent. // * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) - // List of tags for the service. // * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta // data tag information, if any. NodeId pulumi.StringInput `pulumi:"nodeId"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` NodeName pulumi.StringInput `pulumi:"nodeName"` Port pulumi.StringInput `pulumi:"port"` TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"` Tags pulumi.StringArrayInput `pulumi:"tags"` }
func (GetServiceServiceArgs) ElementType ¶
func (GetServiceServiceArgs) ElementType() reflect.Type
func (GetServiceServiceArgs) ToGetServiceServiceOutput ¶
func (i GetServiceServiceArgs) ToGetServiceServiceOutput() GetServiceServiceOutput
func (GetServiceServiceArgs) ToGetServiceServiceOutputWithContext ¶
func (i GetServiceServiceArgs) ToGetServiceServiceOutputWithContext(ctx context.Context) GetServiceServiceOutput
type GetServiceServiceArray ¶
type GetServiceServiceArray []GetServiceServiceInput
func (GetServiceServiceArray) ElementType ¶
func (GetServiceServiceArray) ElementType() reflect.Type
func (GetServiceServiceArray) ToGetServiceServiceArrayOutput ¶
func (i GetServiceServiceArray) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput
func (GetServiceServiceArray) ToGetServiceServiceArrayOutputWithContext ¶
func (i GetServiceServiceArray) ToGetServiceServiceArrayOutputWithContext(ctx context.Context) GetServiceServiceArrayOutput
type GetServiceServiceArrayInput ¶
type GetServiceServiceArrayInput interface { pulumi.Input ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput ToGetServiceServiceArrayOutputWithContext(context.Context) GetServiceServiceArrayOutput }
GetServiceServiceArrayInput is an input type that accepts GetServiceServiceArray and GetServiceServiceArrayOutput values. You can construct a concrete instance of `GetServiceServiceArrayInput` via:
GetServiceServiceArray{ GetServiceServiceArgs{...} }
type GetServiceServiceArrayOutput ¶
type GetServiceServiceArrayOutput struct{ *pulumi.OutputState }
func (GetServiceServiceArrayOutput) ElementType ¶
func (GetServiceServiceArrayOutput) ElementType() reflect.Type
func (GetServiceServiceArrayOutput) Index ¶
func (o GetServiceServiceArrayOutput) Index(i pulumi.IntInput) GetServiceServiceOutput
func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput ¶
func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput
func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext ¶
func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext(ctx context.Context) GetServiceServiceArrayOutput
type GetServiceServiceInput ¶
type GetServiceServiceInput interface { pulumi.Input ToGetServiceServiceOutput() GetServiceServiceOutput ToGetServiceServiceOutputWithContext(context.Context) GetServiceServiceOutput }
GetServiceServiceInput is an input type that accepts GetServiceServiceArgs and GetServiceServiceOutput values. You can construct a concrete instance of `GetServiceServiceInput` via:
GetServiceServiceArgs{...}
type GetServiceServiceOutput ¶
type GetServiceServiceOutput struct{ *pulumi.OutputState }
func (GetServiceServiceOutput) Address ¶
func (o GetServiceServiceOutput) Address() pulumi.StringOutput
func (GetServiceServiceOutput) CreateIndex ¶
func (o GetServiceServiceOutput) CreateIndex() pulumi.StringOutput
func (GetServiceServiceOutput) ElementType ¶
func (GetServiceServiceOutput) ElementType() reflect.Type
func (GetServiceServiceOutput) EnableTagOverride ¶
func (o GetServiceServiceOutput) EnableTagOverride() pulumi.StringOutput
func (GetServiceServiceOutput) Id ¶
func (o GetServiceServiceOutput) Id() pulumi.StringOutput
func (GetServiceServiceOutput) Meta ¶
func (o GetServiceServiceOutput) Meta() pulumi.StringMapOutput
func (GetServiceServiceOutput) ModifyIndex ¶
func (o GetServiceServiceOutput) ModifyIndex() pulumi.StringOutput
func (GetServiceServiceOutput) Name ¶
func (o GetServiceServiceOutput) Name() pulumi.StringOutput
The service name to select.
func (GetServiceServiceOutput) NodeAddress ¶
func (o GetServiceServiceOutput) NodeAddress() pulumi.StringOutput
func (GetServiceServiceOutput) NodeId ¶
func (o GetServiceServiceOutput) NodeId() pulumi.StringOutput
The Node ID of the Consul agent advertising the service. * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta data tag information, if any. * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name of the Consul node. * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) - The IP address of the service. If the `ServiceAddress` in the Consul catalog is empty, this value is automatically populated with the `nodeAddress` (the `Address` in the Consul Catalog). * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) - Whether service tags can be overridden on this service. * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A unique service instance identifier. * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The name of the service. * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) - Port number of the service. * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - List of explicit LAN and WAN IP addresses for the agent. * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) - List of tags for the service. * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta data tag information, if any.
func (GetServiceServiceOutput) NodeMeta ¶
func (o GetServiceServiceOutput) NodeMeta() pulumi.StringMapOutput
func (GetServiceServiceOutput) NodeName ¶
func (o GetServiceServiceOutput) NodeName() pulumi.StringOutput
func (GetServiceServiceOutput) Port ¶
func (o GetServiceServiceOutput) Port() pulumi.StringOutput
func (GetServiceServiceOutput) TaggedAddresses ¶
func (o GetServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput
func (GetServiceServiceOutput) Tags ¶
func (o GetServiceServiceOutput) Tags() pulumi.StringArrayOutput
func (GetServiceServiceOutput) ToGetServiceServiceOutput ¶
func (o GetServiceServiceOutput) ToGetServiceServiceOutput() GetServiceServiceOutput
func (GetServiceServiceOutput) ToGetServiceServiceOutputWithContext ¶
func (o GetServiceServiceOutput) ToGetServiceServiceOutputWithContext(ctx context.Context) GetServiceServiceOutput
type GetServicesArgs ¶
type GetServicesArgs struct { // See below. QueryOptions []GetServicesQueryOption `pulumi:"queryOptions"` }
A collection of arguments for invoking getServices.
type GetServicesQueryOption ¶
type GetServicesQueryOption struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale *bool `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to. Datacenter *string `pulumi:"datacenter"` // The namespace to lookup the services. Namespace *string `pulumi:"namespace"` Near *string `pulumi:"near"` NodeMeta map[string]string `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent *bool `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token *string `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex *int `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime *string `pulumi:"waitTime"` }
type GetServicesQueryOptionArgs ¶
type GetServicesQueryOptionArgs struct { // When `true`, the default, allow responses from // Consul servers that are followers. AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"` // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to. Datacenter pulumi.StringPtrInput `pulumi:"datacenter"` // The namespace to lookup the services. Namespace pulumi.StringPtrInput `pulumi:"namespace"` Near pulumi.StringPtrInput `pulumi:"near"` NodeMeta pulumi.StringMapInput `pulumi:"nodeMeta"` // When `true` force the client to perform a // read on at least quorum servers and verify the result is the same. Defaults // to `false`. RequireConsistent pulumi.BoolPtrInput `pulumi:"requireConsistent"` // Specify the Consul ACL token to use when performing the // request. This defaults to the same API token configured by the `consul` // provider but may be overriden if necessary. Token pulumi.StringPtrInput `pulumi:"token"` // Index number used to enable blocking quereis. WaitIndex pulumi.IntPtrInput `pulumi:"waitIndex"` // Max time the client should wait for a blocking query // to return. WaitTime pulumi.StringPtrInput `pulumi:"waitTime"` }
func (GetServicesQueryOptionArgs) ElementType ¶
func (GetServicesQueryOptionArgs) ElementType() reflect.Type
func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput ¶
func (i GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput
func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutputWithContext ¶
func (i GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutputWithContext(ctx context.Context) GetServicesQueryOptionOutput
type GetServicesQueryOptionArray ¶
type GetServicesQueryOptionArray []GetServicesQueryOptionInput
func (GetServicesQueryOptionArray) ElementType ¶
func (GetServicesQueryOptionArray) ElementType() reflect.Type
func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput ¶
func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput
func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext ¶
func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput
type GetServicesQueryOptionArrayInput ¶
type GetServicesQueryOptionArrayInput interface { pulumi.Input ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput ToGetServicesQueryOptionArrayOutputWithContext(context.Context) GetServicesQueryOptionArrayOutput }
GetServicesQueryOptionArrayInput is an input type that accepts GetServicesQueryOptionArray and GetServicesQueryOptionArrayOutput values. You can construct a concrete instance of `GetServicesQueryOptionArrayInput` via:
GetServicesQueryOptionArray{ GetServicesQueryOptionArgs{...} }
type GetServicesQueryOptionArrayOutput ¶
type GetServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }
func (GetServicesQueryOptionArrayOutput) ElementType ¶
func (GetServicesQueryOptionArrayOutput) ElementType() reflect.Type
func (GetServicesQueryOptionArrayOutput) Index ¶
func (o GetServicesQueryOptionArrayOutput) Index(i pulumi.IntInput) GetServicesQueryOptionOutput
func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput ¶
func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput
func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext ¶
func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput
type GetServicesQueryOptionInput ¶
type GetServicesQueryOptionInput interface { pulumi.Input ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput ToGetServicesQueryOptionOutputWithContext(context.Context) GetServicesQueryOptionOutput }
GetServicesQueryOptionInput is an input type that accepts GetServicesQueryOptionArgs and GetServicesQueryOptionOutput values. You can construct a concrete instance of `GetServicesQueryOptionInput` via:
GetServicesQueryOptionArgs{...}
type GetServicesQueryOptionOutput ¶
type GetServicesQueryOptionOutput struct{ *pulumi.OutputState }
func (GetServicesQueryOptionOutput) AllowStale ¶
func (o GetServicesQueryOptionOutput) AllowStale() pulumi.BoolPtrOutput
When `true`, the default, allow responses from Consul servers that are followers.
func (GetServicesQueryOptionOutput) Datacenter ¶
func (o GetServicesQueryOptionOutput) Datacenter() pulumi.StringPtrOutput
The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to.
func (GetServicesQueryOptionOutput) ElementType ¶
func (GetServicesQueryOptionOutput) ElementType() reflect.Type
func (GetServicesQueryOptionOutput) Namespace ¶
func (o GetServicesQueryOptionOutput) Namespace() pulumi.StringPtrOutput
The namespace to lookup the services.
func (GetServicesQueryOptionOutput) Near ¶
func (o GetServicesQueryOptionOutput) Near() pulumi.StringPtrOutput
func (GetServicesQueryOptionOutput) NodeMeta ¶
func (o GetServicesQueryOptionOutput) NodeMeta() pulumi.StringMapOutput
func (GetServicesQueryOptionOutput) RequireConsistent ¶
func (o GetServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput
When `true` force the client to perform a read on at least quorum servers and verify the result is the same. Defaults to `false`.
func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput ¶
func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput
func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext ¶
func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext(ctx context.Context) GetServicesQueryOptionOutput
func (GetServicesQueryOptionOutput) Token ¶
func (o GetServicesQueryOptionOutput) Token() pulumi.StringPtrOutput
Specify the Consul ACL token to use when performing the request. This defaults to the same API token configured by the `consul` provider but may be overriden if necessary.
func (GetServicesQueryOptionOutput) WaitIndex ¶
func (o GetServicesQueryOptionOutput) WaitIndex() pulumi.IntPtrOutput
Index number used to enable blocking quereis.
func (GetServicesQueryOptionOutput) WaitTime ¶
func (o GetServicesQueryOptionOutput) WaitTime() pulumi.StringPtrOutput
Max time the client should wait for a blocking query to return.
type GetServicesResult ¶
type GetServicesResult struct { // The datacenter the keys are being read from to. Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Names []string `pulumi:"names"` QueryOptions []GetServicesQueryOption `pulumi:"queryOptions"` Services map[string]string `pulumi:"services"` }
A collection of values returned by getServices.
func GetServices ¶
func GetServices(ctx *pulumi.Context, args *GetServicesArgs, opts ...pulumi.InvokeOption) (*GetServicesResult, error)
The `.getServices` data source returns a list of Consul services that have been registered with the Consul cluster in a given datacenter. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of services from a different WAN-attached Consul datacenter.
This data source is different from the `.Service` (singular) data source, which provides a detailed response about a specific Consul service.
type Intention ¶
type Intention struct { pulumi.CustomResourceState // The intention action. Must be one of `allow` or `deny`. Action pulumi.StringOutput `pulumi:"action"` // Optional description that can be used by Consul // tooling, but is not used internally. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the destination service for the intention. This // service does not have to exist. DestinationName pulumi.StringOutput `pulumi:"destinationName"` // The destination // namespace of the intention. DestinationNamespace pulumi.StringPtrOutput `pulumi:"destinationNamespace"` // Key/value pairs that are opaque to Consul and are associated // with the intention. Meta pulumi.StringMapOutput `pulumi:"meta"` // The name of the source service for the intention. This // service does not have to exist. SourceName pulumi.StringOutput `pulumi:"sourceName"` // The source namespace of the // intention. SourceNamespace pulumi.StringPtrOutput `pulumi:"sourceNamespace"` }
[Intentions](https://www.consul.io/docs/connect/intentions.html) are used to define rules for which services may connect to one another when using [Consul Connect](https://www.consul.io/docs/connect/index.html).
It is appropriate to either reference existing services or specify non-existent services that will be created in the future when creating intentions. This resource can be used in conjunction with the `.Service` datasource when referencing services registered on nodes that have a running Consul agent.
func GetIntention ¶
func GetIntention(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IntentionState, opts ...pulumi.ResourceOption) (*Intention, error)
GetIntention gets an existing Intention 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 NewIntention ¶
func NewIntention(ctx *pulumi.Context, name string, args *IntentionArgs, opts ...pulumi.ResourceOption) (*Intention, error)
NewIntention registers a new resource with the given unique name, arguments, and options.
type IntentionArgs ¶
type IntentionArgs struct { // The intention action. Must be one of `allow` or `deny`. Action pulumi.StringInput // Optional description that can be used by Consul // tooling, but is not used internally. Description pulumi.StringPtrInput // The name of the destination service for the intention. This // service does not have to exist. DestinationName pulumi.StringInput // The destination // namespace of the intention. DestinationNamespace pulumi.StringPtrInput // Key/value pairs that are opaque to Consul and are associated // with the intention. Meta pulumi.StringMapInput // The name of the source service for the intention. This // service does not have to exist. SourceName pulumi.StringInput // The source namespace of the // intention. SourceNamespace pulumi.StringPtrInput }
The set of arguments for constructing a Intention resource.
func (IntentionArgs) ElementType ¶
func (IntentionArgs) ElementType() reflect.Type
type IntentionState ¶
type IntentionState struct { // The intention action. Must be one of `allow` or `deny`. Action pulumi.StringPtrInput // Optional description that can be used by Consul // tooling, but is not used internally. Description pulumi.StringPtrInput // The name of the destination service for the intention. This // service does not have to exist. DestinationName pulumi.StringPtrInput // The destination // namespace of the intention. DestinationNamespace pulumi.StringPtrInput // Key/value pairs that are opaque to Consul and are associated // with the intention. Meta pulumi.StringMapInput // The name of the source service for the intention. This // service does not have to exist. SourceName pulumi.StringPtrInput // The source namespace of the // intention. SourceNamespace pulumi.StringPtrInput }
func (IntentionState) ElementType ¶
func (IntentionState) ElementType() reflect.Type
type KeyPrefix ¶
type KeyPrefix struct { pulumi.CustomResourceState // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // The namespace to create the keys within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // Specifies the common prefix shared by all keys // that will be managed by this resource instance. In most cases this will // end with a slash, to manage a "folder" of keys. PathPrefix pulumi.StringOutput `pulumi:"pathPrefix"` // A subkey to add. Supported values documented below. // Multiple blocks supported. SubkeyCollection KeyPrefixSubkeyCollectionArrayOutput `pulumi:"subkeyCollection"` // A mapping from subkey name (which will be appended // to the given `pathPrefix`) to the value that should be stored at that key. // Use slashes, as shown in the above example, to create "sub-folders" under // the given path prefix. Subkeys pulumi.StringMapOutput `pulumi:"subkeys"` // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrOutput `pulumi:"token"` }
func GetKeyPrefix ¶
func GetKeyPrefix(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyPrefixState, opts ...pulumi.ResourceOption) (*KeyPrefix, error)
GetKeyPrefix gets an existing KeyPrefix 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 NewKeyPrefix ¶
func NewKeyPrefix(ctx *pulumi.Context, name string, args *KeyPrefixArgs, opts ...pulumi.ResourceOption) (*KeyPrefix, error)
NewKeyPrefix registers a new resource with the given unique name, arguments, and options.
type KeyPrefixArgs ¶
type KeyPrefixArgs struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // The namespace to create the keys within. Namespace pulumi.StringPtrInput // Specifies the common prefix shared by all keys // that will be managed by this resource instance. In most cases this will // end with a slash, to manage a "folder" of keys. PathPrefix pulumi.StringInput // A subkey to add. Supported values documented below. // Multiple blocks supported. SubkeyCollection KeyPrefixSubkeyCollectionArrayInput // A mapping from subkey name (which will be appended // to the given `pathPrefix`) to the value that should be stored at that key. // Use slashes, as shown in the above example, to create "sub-folders" under // the given path prefix. Subkeys pulumi.StringMapInput // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrInput }
The set of arguments for constructing a KeyPrefix resource.
func (KeyPrefixArgs) ElementType ¶
func (KeyPrefixArgs) ElementType() reflect.Type
type KeyPrefixState ¶
type KeyPrefixState struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // The namespace to create the keys within. Namespace pulumi.StringPtrInput // Specifies the common prefix shared by all keys // that will be managed by this resource instance. In most cases this will // end with a slash, to manage a "folder" of keys. PathPrefix pulumi.StringPtrInput // A subkey to add. Supported values documented below. // Multiple blocks supported. SubkeyCollection KeyPrefixSubkeyCollectionArrayInput // A mapping from subkey name (which will be appended // to the given `pathPrefix`) to the value that should be stored at that key. // Use slashes, as shown in the above example, to create "sub-folders" under // the given path prefix. Subkeys pulumi.StringMapInput // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrInput }
func (KeyPrefixState) ElementType ¶
func (KeyPrefixState) ElementType() reflect.Type
type KeyPrefixSubkeyCollection ¶
type KeyPrefixSubkeyCollection struct { // An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) // to attach to the key (defaults to 0). Flags *int `pulumi:"flags"` // This is the path (which will be appended to the given // `pathPrefix`) in Consul that should be written to. Path string `pulumi:"path"` // The value to write to the given path. Value string `pulumi:"value"` }
type KeyPrefixSubkeyCollectionArgs ¶
type KeyPrefixSubkeyCollectionArgs struct { // An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) // to attach to the key (defaults to 0). Flags pulumi.IntPtrInput `pulumi:"flags"` // This is the path (which will be appended to the given // `pathPrefix`) in Consul that should be written to. Path pulumi.StringInput `pulumi:"path"` // The value to write to the given path. Value pulumi.StringInput `pulumi:"value"` }
func (KeyPrefixSubkeyCollectionArgs) ElementType ¶
func (KeyPrefixSubkeyCollectionArgs) ElementType() reflect.Type
func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput ¶
func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput
func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext ¶
func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput
type KeyPrefixSubkeyCollectionArray ¶
type KeyPrefixSubkeyCollectionArray []KeyPrefixSubkeyCollectionInput
func (KeyPrefixSubkeyCollectionArray) ElementType ¶
func (KeyPrefixSubkeyCollectionArray) ElementType() reflect.Type
func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput ¶
func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput
func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext ¶
func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput
type KeyPrefixSubkeyCollectionArrayInput ¶
type KeyPrefixSubkeyCollectionArrayInput interface { pulumi.Input ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput ToKeyPrefixSubkeyCollectionArrayOutputWithContext(context.Context) KeyPrefixSubkeyCollectionArrayOutput }
KeyPrefixSubkeyCollectionArrayInput is an input type that accepts KeyPrefixSubkeyCollectionArray and KeyPrefixSubkeyCollectionArrayOutput values. You can construct a concrete instance of `KeyPrefixSubkeyCollectionArrayInput` via:
KeyPrefixSubkeyCollectionArray{ KeyPrefixSubkeyCollectionArgs{...} }
type KeyPrefixSubkeyCollectionArrayOutput ¶
type KeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }
func (KeyPrefixSubkeyCollectionArrayOutput) ElementType ¶
func (KeyPrefixSubkeyCollectionArrayOutput) ElementType() reflect.Type
func (KeyPrefixSubkeyCollectionArrayOutput) Index ¶
func (o KeyPrefixSubkeyCollectionArrayOutput) Index(i pulumi.IntInput) KeyPrefixSubkeyCollectionOutput
func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput ¶
func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput
func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext ¶
func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput
type KeyPrefixSubkeyCollectionInput ¶
type KeyPrefixSubkeyCollectionInput interface { pulumi.Input ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput ToKeyPrefixSubkeyCollectionOutputWithContext(context.Context) KeyPrefixSubkeyCollectionOutput }
KeyPrefixSubkeyCollectionInput is an input type that accepts KeyPrefixSubkeyCollectionArgs and KeyPrefixSubkeyCollectionOutput values. You can construct a concrete instance of `KeyPrefixSubkeyCollectionInput` via:
KeyPrefixSubkeyCollectionArgs{...}
type KeyPrefixSubkeyCollectionOutput ¶
type KeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }
func (KeyPrefixSubkeyCollectionOutput) ElementType ¶
func (KeyPrefixSubkeyCollectionOutput) ElementType() reflect.Type
func (KeyPrefixSubkeyCollectionOutput) Flags ¶
func (o KeyPrefixSubkeyCollectionOutput) Flags() pulumi.IntPtrOutput
An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) to attach to the key (defaults to 0).
func (KeyPrefixSubkeyCollectionOutput) Path ¶
func (o KeyPrefixSubkeyCollectionOutput) Path() pulumi.StringOutput
This is the path (which will be appended to the given `pathPrefix`) in Consul that should be written to.
func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput ¶
func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput
func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext ¶
func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput
func (KeyPrefixSubkeyCollectionOutput) Value ¶
func (o KeyPrefixSubkeyCollectionOutput) Value() pulumi.StringOutput
The value to write to the given path.
type Keys ¶
type Keys struct { pulumi.CustomResourceState // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // Specifies a key in Consul to be written. // Supported values documented below. Keys KeysKeyArrayOutput `pulumi:"keys"` // The namespace to create the keys within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrOutput `pulumi:"token"` Var pulumi.StringMapOutput `pulumi:"var"` }
func GetKeys ¶
func GetKeys(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeysState, opts ...pulumi.ResourceOption) (*Keys, error)
GetKeys gets an existing Keys resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type KeysArgs ¶
type KeysArgs struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Specifies a key in Consul to be written. // Supported values documented below. Keys KeysKeyArrayInput // The namespace to create the keys within. Namespace pulumi.StringPtrInput // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrInput }
The set of arguments for constructing a Keys resource.
func (KeysArgs) ElementType ¶
type KeysKey ¶
type KeysKey struct { Default *string `pulumi:"default"` // If true, then the key will be deleted when // either its configuration block is removed from the configuration or // the entire resource is destroyed. Otherwise, it will be left in Consul. // Defaults to false. Delete *bool `pulumi:"delete"` // An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) // to attach to the key (defaults to 0). Flags *int `pulumi:"flags"` Name *string `pulumi:"name"` // This is the path in Consul that should be written to. Path string `pulumi:"path"` // The value to write to the given path. Value *string `pulumi:"value"` }
type KeysKeyArgs ¶
type KeysKeyArgs struct { Default pulumi.StringPtrInput `pulumi:"default"` // If true, then the key will be deleted when // either its configuration block is removed from the configuration or // the entire resource is destroyed. Otherwise, it will be left in Consul. // Defaults to false. Delete pulumi.BoolPtrInput `pulumi:"delete"` // An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) // to attach to the key (defaults to 0). Flags pulumi.IntPtrInput `pulumi:"flags"` Name pulumi.StringPtrInput `pulumi:"name"` // This is the path in Consul that should be written to. Path pulumi.StringInput `pulumi:"path"` // The value to write to the given path. Value pulumi.StringPtrInput `pulumi:"value"` }
func (KeysKeyArgs) ElementType ¶
func (KeysKeyArgs) ElementType() reflect.Type
func (KeysKeyArgs) ToKeysKeyOutput ¶
func (i KeysKeyArgs) ToKeysKeyOutput() KeysKeyOutput
func (KeysKeyArgs) ToKeysKeyOutputWithContext ¶
func (i KeysKeyArgs) ToKeysKeyOutputWithContext(ctx context.Context) KeysKeyOutput
type KeysKeyArray ¶
type KeysKeyArray []KeysKeyInput
func (KeysKeyArray) ElementType ¶
func (KeysKeyArray) ElementType() reflect.Type
func (KeysKeyArray) ToKeysKeyArrayOutput ¶
func (i KeysKeyArray) ToKeysKeyArrayOutput() KeysKeyArrayOutput
func (KeysKeyArray) ToKeysKeyArrayOutputWithContext ¶
func (i KeysKeyArray) ToKeysKeyArrayOutputWithContext(ctx context.Context) KeysKeyArrayOutput
type KeysKeyArrayInput ¶
type KeysKeyArrayInput interface { pulumi.Input ToKeysKeyArrayOutput() KeysKeyArrayOutput ToKeysKeyArrayOutputWithContext(context.Context) KeysKeyArrayOutput }
KeysKeyArrayInput is an input type that accepts KeysKeyArray and KeysKeyArrayOutput values. You can construct a concrete instance of `KeysKeyArrayInput` via:
KeysKeyArray{ KeysKeyArgs{...} }
type KeysKeyArrayOutput ¶
type KeysKeyArrayOutput struct{ *pulumi.OutputState }
func (KeysKeyArrayOutput) ElementType ¶
func (KeysKeyArrayOutput) ElementType() reflect.Type
func (KeysKeyArrayOutput) Index ¶
func (o KeysKeyArrayOutput) Index(i pulumi.IntInput) KeysKeyOutput
func (KeysKeyArrayOutput) ToKeysKeyArrayOutput ¶
func (o KeysKeyArrayOutput) ToKeysKeyArrayOutput() KeysKeyArrayOutput
func (KeysKeyArrayOutput) ToKeysKeyArrayOutputWithContext ¶
func (o KeysKeyArrayOutput) ToKeysKeyArrayOutputWithContext(ctx context.Context) KeysKeyArrayOutput
type KeysKeyInput ¶
type KeysKeyInput interface { pulumi.Input ToKeysKeyOutput() KeysKeyOutput ToKeysKeyOutputWithContext(context.Context) KeysKeyOutput }
KeysKeyInput is an input type that accepts KeysKeyArgs and KeysKeyOutput values. You can construct a concrete instance of `KeysKeyInput` via:
KeysKeyArgs{...}
type KeysKeyOutput ¶
type KeysKeyOutput struct{ *pulumi.OutputState }
func (KeysKeyOutput) Default ¶
func (o KeysKeyOutput) Default() pulumi.StringPtrOutput
func (KeysKeyOutput) Delete ¶
func (o KeysKeyOutput) Delete() pulumi.BoolPtrOutput
If true, then the key will be deleted when either its configuration block is removed from the configuration or the entire resource is destroyed. Otherwise, it will be left in Consul. Defaults to false.
func (KeysKeyOutput) ElementType ¶
func (KeysKeyOutput) ElementType() reflect.Type
func (KeysKeyOutput) Flags ¶
func (o KeysKeyOutput) Flags() pulumi.IntPtrOutput
An [unsigned integer value](https://www.consul.io/api/kv.html#flags-1) to attach to the key (defaults to 0).
func (KeysKeyOutput) Name ¶
func (o KeysKeyOutput) Name() pulumi.StringPtrOutput
func (KeysKeyOutput) Path ¶
func (o KeysKeyOutput) Path() pulumi.StringOutput
This is the path in Consul that should be written to.
func (KeysKeyOutput) ToKeysKeyOutput ¶
func (o KeysKeyOutput) ToKeysKeyOutput() KeysKeyOutput
func (KeysKeyOutput) ToKeysKeyOutputWithContext ¶
func (o KeysKeyOutput) ToKeysKeyOutputWithContext(ctx context.Context) KeysKeyOutput
func (KeysKeyOutput) Value ¶
func (o KeysKeyOutput) Value() pulumi.StringPtrOutput
The value to write to the given path.
type KeysState ¶
type KeysState struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Specifies a key in Consul to be written. // Supported values documented below. Keys KeysKeyArrayInput // The namespace to create the keys within. Namespace pulumi.StringPtrInput // The ACL token to use. This overrides the // token that the agent provides by default. Token pulumi.StringPtrInput Var pulumi.StringMapInput }
func (KeysState) ElementType ¶
type LookupAclAuthMethodArgs ¶
type LookupAclAuthMethodArgs struct { // The configuration options of the ACL Auth Method. Config map[string]string `pulumi:"config"` // The description of the ACL Auth Method. Description *string `pulumi:"description"` // The name of the ACL Auth Method. Name string `pulumi:"name"` // The namespace to lookup the auth method. Namespace *string `pulumi:"namespace"` // The type of the ACL Auth Method. Type *string `pulumi:"type"` }
A collection of arguments for invoking getAclAuthMethod.
type LookupAclAuthMethodResult ¶
type LookupAclAuthMethodResult struct { // The configuration options of the ACL Auth Method. Config map[string]string `pulumi:"config"` // The description of the ACL Auth Method. Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Namespace *string `pulumi:"namespace"` // The type of the ACL Auth Method. Type *string `pulumi:"type"` }
A collection of values returned by getAclAuthMethod.
func LookupAclAuthMethod ¶
func LookupAclAuthMethod(ctx *pulumi.Context, args *LookupAclAuthMethodArgs, opts ...pulumi.InvokeOption) (*LookupAclAuthMethodResult, error)
The `.AclAuthMethod` data source returns the information related to a [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).
type LookupAclPolicyArgs ¶
type LookupAclPolicyArgs struct { // The datacenters associated with the ACL Policy. Datacenters []string `pulumi:"datacenters"` // The description of the ACL Policy. Description *string `pulumi:"description"` // The name of the ACL Policy. Name string `pulumi:"name"` // The namespace to lookup the policy. Namespace *string `pulumi:"namespace"` // The rules associated with the ACL Policy. Rules *string `pulumi:"rules"` }
A collection of arguments for invoking getAclPolicy.
type LookupAclPolicyResult ¶
type LookupAclPolicyResult struct { // The datacenters associated with the ACL Policy. Datacenters []string `pulumi:"datacenters"` // The description of the ACL Policy. Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Namespace *string `pulumi:"namespace"` // The rules associated with the ACL Policy. Rules *string `pulumi:"rules"` }
A collection of values returned by getAclPolicy.
func LookupAclPolicy ¶
func LookupAclPolicy(ctx *pulumi.Context, args *LookupAclPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAclPolicyResult, error)
The `.AclPolicy` data source returns the information related to a [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).
type LookupAclRoleArgs ¶
type LookupAclRoleArgs struct { // The description of the ACL Role. Description *string `pulumi:"description"` // The name of the ACL Role. Name string `pulumi:"name"` // The namespace to lookup the role. Namespace *string `pulumi:"namespace"` // The list of policies associated with the ACL Role. Each entry has // an `id` and a `name` attribute. Policies []GetAclRolePolicy `pulumi:"policies"` // The list of service identities associated with the ACL // Role. Each entry has a `serviceName` attribute and a list of `datacenters`. ServiceIdentities []GetAclRoleServiceIdentity `pulumi:"serviceIdentities"` }
A collection of arguments for invoking getAclRole.
type LookupAclRoleResult ¶
type LookupAclRoleResult struct { // The description of the ACL Role. Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` Namespace *string `pulumi:"namespace"` // The list of policies associated with the ACL Role. Each entry has // an `id` and a `name` attribute. Policies []GetAclRolePolicy `pulumi:"policies"` // The list of service identities associated with the ACL // Role. Each entry has a `serviceName` attribute and a list of `datacenters`. ServiceIdentities []GetAclRoleServiceIdentity `pulumi:"serviceIdentities"` }
A collection of values returned by getAclRole.
func LookupAclRole ¶
func LookupAclRole(ctx *pulumi.Context, args *LookupAclRoleArgs, opts ...pulumi.InvokeOption) (*LookupAclRoleResult, error)
The `.AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).
type LookupAclTokenArgs ¶
type LookupAclTokenArgs struct { // The accessor ID of the ACL token. AccessorId string `pulumi:"accessorId"` // The description of the ACL token. Description *string `pulumi:"description"` // Whether the ACL token is local to the datacenter it was created within. Local *bool `pulumi:"local"` // The namespace to lookup the ACL token. Namespace *string `pulumi:"namespace"` // A list of policies associated with the ACL token. Each entry has // an `id` and a `name` attribute. Policies []GetAclTokenPolicy `pulumi:"policies"` }
A collection of arguments for invoking getAclToken.
type LookupAclTokenResult ¶
type LookupAclTokenResult struct { AccessorId string `pulumi:"accessorId"` // The description of the ACL token. Description *string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Whether the ACL token is local to the datacenter it was created within. Local *bool `pulumi:"local"` Namespace *string `pulumi:"namespace"` // A list of policies associated with the ACL token. Each entry has // an `id` and a `name` attribute. Policies []GetAclTokenPolicy `pulumi:"policies"` }
A collection of values returned by getAclToken.
func LookupAclToken ¶
func LookupAclToken(ctx *pulumi.Context, args *LookupAclTokenArgs, opts ...pulumi.InvokeOption) (*LookupAclTokenResult, error)
The `.AclToken` data source returns the information related to the `.AclToken` resource with the exception of its secret ID.
If you want to get the secret ID associated with a token, use the [`.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).
type LookupKeyPrefixArgs ¶
type LookupKeyPrefixArgs struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter *string `pulumi:"datacenter"` // The namespace to create the keys within. Namespace *string `pulumi:"namespace"` // Specifies the common prefix shared by all keys // that will be read by this data source instance. In most cases, this will // end with a slash to read a "folder" of subkeys. PathPrefix string `pulumi:"pathPrefix"` // Specifies a subkey in Consul to be read. Supported // values documented below. Multiple blocks supported. SubkeyCollection []GetKeyPrefixSubkeyCollection `pulumi:"subkeyCollection"` // The ACL token to use. This overrides the // token that the agent provides by default. Token *string `pulumi:"token"` }
A collection of arguments for invoking getKeyPrefix.
type LookupKeyPrefixResult ¶
type LookupKeyPrefixResult struct { // The datacenter the keys are being read from. Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Namespace *string `pulumi:"namespace"` // the common prefix shared by all keys being read. // * `var.<name>` - For each name given, the corresponding attribute // has the value of the key. PathPrefix string `pulumi:"pathPrefix"` SubkeyCollection []GetKeyPrefixSubkeyCollection `pulumi:"subkeyCollection"` // A map of the subkeys and values is set if no `subkey` // block is provided. Subkeys map[string]string `pulumi:"subkeys"` Token *string `pulumi:"token"` Var map[string]string `pulumi:"var"` }
A collection of values returned by getKeyPrefix.
func LookupKeyPrefix ¶
func LookupKeyPrefix(ctx *pulumi.Context, args *LookupKeyPrefixArgs, opts ...pulumi.InvokeOption) (*LookupKeyPrefixResult, error)
type LookupKeysArgs ¶
type LookupKeysArgs struct { // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter *string `pulumi:"datacenter"` // Specifies a key in Consul to be read. Supported // values documented below. Multiple blocks supported. Keys []GetKeysKey `pulumi:"keys"` // The namespace to lookup the keys. Namespace *string `pulumi:"namespace"` // The ACL token to use. This overrides the // token that the agent provides by default. Token *string `pulumi:"token"` }
A collection of arguments for invoking getKeys.
type LookupKeysResult ¶
type LookupKeysResult struct { // The datacenter the keys are being read from. // * `var.<name>` - For each name given, the corresponding attribute // has the value of the key. Datacenter string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Keys []GetKeysKey `pulumi:"keys"` Namespace *string `pulumi:"namespace"` Token *string `pulumi:"token"` Var map[string]string `pulumi:"var"` }
A collection of values returned by getKeys.
func LookupKeys ¶
func LookupKeys(ctx *pulumi.Context, args *LookupKeysArgs, opts ...pulumi.InvokeOption) (*LookupKeysResult, error)
The `.Keys` resource reads values from the Consul key/value store. This is a powerful way dynamically set values in templates.
type LookupServiceArgs ¶
type LookupServiceArgs struct { // The Consul datacenter to query. Defaults to the // same value found in `queryOptions` parameter specified below, or if that is // empty, the `datacenter` value found in the Consul agent that this provider is // configured to talk to. Datacenter *string `pulumi:"datacenter"` // The service name to select. Name string `pulumi:"name"` // See below. QueryOptions []GetServiceQueryOption `pulumi:"queryOptions"` // A single tag that can be used to filter the list of nodes // to return based on a single matching tag.. Tag *string `pulumi:"tag"` }
A collection of arguments for invoking getService.
type LookupServiceResult ¶
type LookupServiceResult struct { // The datacenter the keys are being read from to. Datacenter *string `pulumi:"datacenter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the service Name string `pulumi:"name"` QueryOptions []GetServiceQueryOption `pulumi:"queryOptions"` // A list of nodes and details about each endpoint advertising a // service. Each element in the list is a map of attributes that correspond to // each individual node. The list of per-node attributes is detailed below. Services []GetServiceService `pulumi:"services"` // The name of the tag used to filter the list of nodes in `service`. Tag *string `pulumi:"tag"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
`.Service` provides details about a specific Consul service in a given datacenter. The results include a list of nodes advertising the specified service, the node's IP address, port number, node ID, etc. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of services from a different WAN-attached Consul datacenter.
This data source is different from the `.getServices` (plural) data source, which provides a summary of the current Consul services.
type Node ¶
type Node struct { pulumi.CustomResourceState // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringOutput `pulumi:"address"` // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringOutput `pulumi:"datacenter"` // Key/value pairs that are associated with the node. Meta pulumi.StringMapOutput `pulumi:"meta"` // The name of the node being added to, or // referenced in the catalog. Name pulumi.StringOutput `pulumi:"name"` Token pulumi.StringPtrOutput `pulumi:"token"` }
Provides access to Node data in Consul. This can be used to define a node. Currently, defining health checks is not supported.
func GetNode ¶
func GetNode(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NodeState, opts ...pulumi.ResourceOption) (*Node, error)
GetNode gets an existing Node resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type NodeArgs ¶
type NodeArgs struct { // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringInput // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Key/value pairs that are associated with the node. Meta pulumi.StringMapInput // The name of the node being added to, or // referenced in the catalog. Name pulumi.StringPtrInput Token pulumi.StringPtrInput }
The set of arguments for constructing a Node resource.
func (NodeArgs) ElementType ¶
type NodeState ¶
type NodeState struct { // The address of the node being added to, // or referenced in the catalog. Address pulumi.StringPtrInput // The datacenter to use. This overrides the agent's // default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Key/value pairs that are associated with the node. Meta pulumi.StringMapInput // The name of the node being added to, or // referenced in the catalog. Name pulumi.StringPtrInput Token pulumi.StringPtrInput }
func (NodeState) ElementType ¶
type PreparedQuery ¶
type PreparedQuery struct { pulumi.CustomResourceState // When `true` the prepared query will return connect // proxy services for a queried service. Conditions such as `tags` in the // prepared query will be matched against the proxy service. Defaults to false. Connect pulumi.BoolPtrOutput `pulumi:"connect"` // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"` // Settings for controlling the DNS response details. Dns PreparedQueryDnsPtrOutput `pulumi:"dns"` // Options for controlling behavior when no healthy // nodes are available in the local DC. Failover PreparedQueryFailoverPtrOutput `pulumi:"failover"` // The name of the prepared query. Used to identify // the prepared query during requests. Can be specified as an empty string // to configure the query as a catch-all. Name pulumi.StringOutput `pulumi:"name"` // Allows specifying the name of a node to sort results // near using Consul's distance sorting and network coordinates. The magic // `_agent` value can be used to always sort nearest the node servicing the // request. Near pulumi.StringPtrOutput `pulumi:"near"` // When `true`, the prepared query will only // return nodes with passing health checks in the result. OnlyPassing pulumi.BoolPtrOutput `pulumi:"onlyPassing"` // The name of the service to query. Service pulumi.StringOutput `pulumi:"service"` // The name of the Consul session to tie this query's // lifetime to. This is an advanced parameter that should not be used without a // complete understanding of Consul sessions and the implications of their use // (it is recommended to leave this blank in nearly all cases). If this // parameter is omitted the query will not expire. Session pulumi.StringPtrOutput `pulumi:"session"` // The ACL token to store with the prepared // query. This token will be used by default whenever the query is executed. StoredToken pulumi.StringPtrOutput `pulumi:"storedToken"` // The list of required and/or disallowed tags. If a tag is // in this list it must be present. If the tag is preceded with a "!" then it is // disallowed. Tags pulumi.StringArrayOutput `pulumi:"tags"` // Query templating options. This is used to make a // single prepared query respond to many different requests. Template PreparedQueryTemplatePtrOutput `pulumi:"template"` // The ACL token to use when saving the prepared query. // This overrides the token that the agent provides by default. Token pulumi.StringPtrOutput `pulumi:"token"` }
func GetPreparedQuery ¶
func GetPreparedQuery(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PreparedQueryState, opts ...pulumi.ResourceOption) (*PreparedQuery, error)
GetPreparedQuery gets an existing PreparedQuery 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 NewPreparedQuery ¶
func NewPreparedQuery(ctx *pulumi.Context, name string, args *PreparedQueryArgs, opts ...pulumi.ResourceOption) (*PreparedQuery, error)
NewPreparedQuery registers a new resource with the given unique name, arguments, and options.
type PreparedQueryArgs ¶
type PreparedQueryArgs struct { // When `true` the prepared query will return connect // proxy services for a queried service. Conditions such as `tags` in the // prepared query will be matched against the proxy service. Defaults to false. Connect pulumi.BoolPtrInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Settings for controlling the DNS response details. Dns PreparedQueryDnsPtrInput // Options for controlling behavior when no healthy // nodes are available in the local DC. Failover PreparedQueryFailoverPtrInput // The name of the prepared query. Used to identify // the prepared query during requests. Can be specified as an empty string // to configure the query as a catch-all. Name pulumi.StringPtrInput // Allows specifying the name of a node to sort results // near using Consul's distance sorting and network coordinates. The magic // `_agent` value can be used to always sort nearest the node servicing the // request. Near pulumi.StringPtrInput // When `true`, the prepared query will only // return nodes with passing health checks in the result. OnlyPassing pulumi.BoolPtrInput // The name of the service to query. Service pulumi.StringInput // The name of the Consul session to tie this query's // lifetime to. This is an advanced parameter that should not be used without a // complete understanding of Consul sessions and the implications of their use // (it is recommended to leave this blank in nearly all cases). If this // parameter is omitted the query will not expire. Session pulumi.StringPtrInput // The ACL token to store with the prepared // query. This token will be used by default whenever the query is executed. StoredToken pulumi.StringPtrInput // The list of required and/or disallowed tags. If a tag is // in this list it must be present. If the tag is preceded with a "!" then it is // disallowed. Tags pulumi.StringArrayInput // Query templating options. This is used to make a // single prepared query respond to many different requests. Template PreparedQueryTemplatePtrInput // The ACL token to use when saving the prepared query. // This overrides the token that the agent provides by default. Token pulumi.StringPtrInput }
The set of arguments for constructing a PreparedQuery resource.
func (PreparedQueryArgs) ElementType ¶
func (PreparedQueryArgs) ElementType() reflect.Type
type PreparedQueryDns ¶
type PreparedQueryDns struct { // The TTL to send when returning DNS results. Ttl *string `pulumi:"ttl"` }
type PreparedQueryDnsArgs ¶
type PreparedQueryDnsArgs struct { // The TTL to send when returning DNS results. Ttl pulumi.StringPtrInput `pulumi:"ttl"` }
func (PreparedQueryDnsArgs) ElementType ¶
func (PreparedQueryDnsArgs) ElementType() reflect.Type
func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutput ¶
func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput
func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext ¶
func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput
func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput ¶
func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext ¶
func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
type PreparedQueryDnsInput ¶
type PreparedQueryDnsInput interface { pulumi.Input ToPreparedQueryDnsOutput() PreparedQueryDnsOutput ToPreparedQueryDnsOutputWithContext(context.Context) PreparedQueryDnsOutput }
PreparedQueryDnsInput is an input type that accepts PreparedQueryDnsArgs and PreparedQueryDnsOutput values. You can construct a concrete instance of `PreparedQueryDnsInput` via:
PreparedQueryDnsArgs{...}
type PreparedQueryDnsOutput ¶
type PreparedQueryDnsOutput struct{ *pulumi.OutputState }
func (PreparedQueryDnsOutput) ElementType ¶
func (PreparedQueryDnsOutput) ElementType() reflect.Type
func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutput ¶
func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput
func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext ¶
func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput
func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput ¶
func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext ¶
func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
func (PreparedQueryDnsOutput) Ttl ¶
func (o PreparedQueryDnsOutput) Ttl() pulumi.StringPtrOutput
The TTL to send when returning DNS results.
type PreparedQueryDnsPtrInput ¶
type PreparedQueryDnsPtrInput interface { pulumi.Input ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput ToPreparedQueryDnsPtrOutputWithContext(context.Context) PreparedQueryDnsPtrOutput }
PreparedQueryDnsPtrInput is an input type that accepts PreparedQueryDnsArgs, PreparedQueryDnsPtr and PreparedQueryDnsPtrOutput values. You can construct a concrete instance of `PreparedQueryDnsPtrInput` via:
PreparedQueryDnsArgs{...} or: nil
func PreparedQueryDnsPtr ¶
func PreparedQueryDnsPtr(v *PreparedQueryDnsArgs) PreparedQueryDnsPtrInput
type PreparedQueryDnsPtrOutput ¶
type PreparedQueryDnsPtrOutput struct{ *pulumi.OutputState }
func (PreparedQueryDnsPtrOutput) Elem ¶
func (o PreparedQueryDnsPtrOutput) Elem() PreparedQueryDnsOutput
func (PreparedQueryDnsPtrOutput) ElementType ¶
func (PreparedQueryDnsPtrOutput) ElementType() reflect.Type
func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput ¶
func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext ¶
func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput
func (PreparedQueryDnsPtrOutput) Ttl ¶
func (o PreparedQueryDnsPtrOutput) Ttl() pulumi.StringPtrOutput
The TTL to send when returning DNS results.
type PreparedQueryFailover ¶
type PreparedQueryFailoverArgs ¶
type PreparedQueryFailoverArgs struct { // Remote datacenters to return results from. Datacenters pulumi.StringArrayInput `pulumi:"datacenters"` // Return results from this many datacenters, // sorted in ascending order of estimated RTT. NearestN pulumi.IntPtrInput `pulumi:"nearestN"` }
func (PreparedQueryFailoverArgs) ElementType ¶
func (PreparedQueryFailoverArgs) ElementType() reflect.Type
func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput ¶
func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput
func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext ¶
func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput
func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput ¶
func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext ¶
func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
type PreparedQueryFailoverInput ¶
type PreparedQueryFailoverInput interface { pulumi.Input ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput ToPreparedQueryFailoverOutputWithContext(context.Context) PreparedQueryFailoverOutput }
PreparedQueryFailoverInput is an input type that accepts PreparedQueryFailoverArgs and PreparedQueryFailoverOutput values. You can construct a concrete instance of `PreparedQueryFailoverInput` via:
PreparedQueryFailoverArgs{...}
type PreparedQueryFailoverOutput ¶
type PreparedQueryFailoverOutput struct{ *pulumi.OutputState }
func (PreparedQueryFailoverOutput) Datacenters ¶
func (o PreparedQueryFailoverOutput) Datacenters() pulumi.StringArrayOutput
Remote datacenters to return results from.
func (PreparedQueryFailoverOutput) ElementType ¶
func (PreparedQueryFailoverOutput) ElementType() reflect.Type
func (PreparedQueryFailoverOutput) NearestN ¶
func (o PreparedQueryFailoverOutput) NearestN() pulumi.IntPtrOutput
Return results from this many datacenters, sorted in ascending order of estimated RTT.
func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput ¶
func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput
func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext ¶
func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput
func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput ¶
func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext ¶
func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
type PreparedQueryFailoverPtrInput ¶
type PreparedQueryFailoverPtrInput interface { pulumi.Input ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput ToPreparedQueryFailoverPtrOutputWithContext(context.Context) PreparedQueryFailoverPtrOutput }
PreparedQueryFailoverPtrInput is an input type that accepts PreparedQueryFailoverArgs, PreparedQueryFailoverPtr and PreparedQueryFailoverPtrOutput values. You can construct a concrete instance of `PreparedQueryFailoverPtrInput` via:
PreparedQueryFailoverArgs{...} or: nil
func PreparedQueryFailoverPtr ¶
func PreparedQueryFailoverPtr(v *PreparedQueryFailoverArgs) PreparedQueryFailoverPtrInput
type PreparedQueryFailoverPtrOutput ¶
type PreparedQueryFailoverPtrOutput struct{ *pulumi.OutputState }
func (PreparedQueryFailoverPtrOutput) Datacenters ¶
func (o PreparedQueryFailoverPtrOutput) Datacenters() pulumi.StringArrayOutput
Remote datacenters to return results from.
func (PreparedQueryFailoverPtrOutput) Elem ¶
func (o PreparedQueryFailoverPtrOutput) Elem() PreparedQueryFailoverOutput
func (PreparedQueryFailoverPtrOutput) ElementType ¶
func (PreparedQueryFailoverPtrOutput) ElementType() reflect.Type
func (PreparedQueryFailoverPtrOutput) NearestN ¶
func (o PreparedQueryFailoverPtrOutput) NearestN() pulumi.IntPtrOutput
Return results from this many datacenters, sorted in ascending order of estimated RTT.
func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput ¶
func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext ¶
func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput
type PreparedQueryState ¶
type PreparedQueryState struct { // When `true` the prepared query will return connect // proxy services for a queried service. Conditions such as `tags` in the // prepared query will be matched against the proxy service. Defaults to false. Connect pulumi.BoolPtrInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput // Settings for controlling the DNS response details. Dns PreparedQueryDnsPtrInput // Options for controlling behavior when no healthy // nodes are available in the local DC. Failover PreparedQueryFailoverPtrInput // The name of the prepared query. Used to identify // the prepared query during requests. Can be specified as an empty string // to configure the query as a catch-all. Name pulumi.StringPtrInput // Allows specifying the name of a node to sort results // near using Consul's distance sorting and network coordinates. The magic // `_agent` value can be used to always sort nearest the node servicing the // request. Near pulumi.StringPtrInput // When `true`, the prepared query will only // return nodes with passing health checks in the result. OnlyPassing pulumi.BoolPtrInput // The name of the service to query. Service pulumi.StringPtrInput // The name of the Consul session to tie this query's // lifetime to. This is an advanced parameter that should not be used without a // complete understanding of Consul sessions and the implications of their use // (it is recommended to leave this blank in nearly all cases). If this // parameter is omitted the query will not expire. Session pulumi.StringPtrInput // The ACL token to store with the prepared // query. This token will be used by default whenever the query is executed. StoredToken pulumi.StringPtrInput // The list of required and/or disallowed tags. If a tag is // in this list it must be present. If the tag is preceded with a "!" then it is // disallowed. Tags pulumi.StringArrayInput // Query templating options. This is used to make a // single prepared query respond to many different requests. Template PreparedQueryTemplatePtrInput // The ACL token to use when saving the prepared query. // This overrides the token that the agent provides by default. Token pulumi.StringPtrInput }
func (PreparedQueryState) ElementType ¶
func (PreparedQueryState) ElementType() reflect.Type
type PreparedQueryTemplate ¶
type PreparedQueryTemplate struct { // The regular expression to match with. When using // `namePrefixMatch`, this regex is applied against the query name. Regexp string `pulumi:"regexp"` // The type of template matching to perform. Currently // only `namePrefixMatch` is supported. Type string `pulumi:"type"` }
type PreparedQueryTemplateArgs ¶
type PreparedQueryTemplateArgs struct { // The regular expression to match with. When using // `namePrefixMatch`, this regex is applied against the query name. Regexp pulumi.StringInput `pulumi:"regexp"` // The type of template matching to perform. Currently // only `namePrefixMatch` is supported. Type pulumi.StringInput `pulumi:"type"` }
func (PreparedQueryTemplateArgs) ElementType ¶
func (PreparedQueryTemplateArgs) ElementType() reflect.Type
func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput ¶
func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput
func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext ¶
func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput
func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput ¶
func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext ¶
func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
type PreparedQueryTemplateInput ¶
type PreparedQueryTemplateInput interface { pulumi.Input ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput ToPreparedQueryTemplateOutputWithContext(context.Context) PreparedQueryTemplateOutput }
PreparedQueryTemplateInput is an input type that accepts PreparedQueryTemplateArgs and PreparedQueryTemplateOutput values. You can construct a concrete instance of `PreparedQueryTemplateInput` via:
PreparedQueryTemplateArgs{...}
type PreparedQueryTemplateOutput ¶
type PreparedQueryTemplateOutput struct{ *pulumi.OutputState }
func (PreparedQueryTemplateOutput) ElementType ¶
func (PreparedQueryTemplateOutput) ElementType() reflect.Type
func (PreparedQueryTemplateOutput) Regexp ¶
func (o PreparedQueryTemplateOutput) Regexp() pulumi.StringOutput
The regular expression to match with. When using `namePrefixMatch`, this regex is applied against the query name.
func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput ¶
func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput
func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext ¶
func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput
func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput ¶
func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext ¶
func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
func (PreparedQueryTemplateOutput) Type ¶
func (o PreparedQueryTemplateOutput) Type() pulumi.StringOutput
The type of template matching to perform. Currently only `namePrefixMatch` is supported.
type PreparedQueryTemplatePtrInput ¶
type PreparedQueryTemplatePtrInput interface { pulumi.Input ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput ToPreparedQueryTemplatePtrOutputWithContext(context.Context) PreparedQueryTemplatePtrOutput }
PreparedQueryTemplatePtrInput is an input type that accepts PreparedQueryTemplateArgs, PreparedQueryTemplatePtr and PreparedQueryTemplatePtrOutput values. You can construct a concrete instance of `PreparedQueryTemplatePtrInput` via:
PreparedQueryTemplateArgs{...} or: nil
func PreparedQueryTemplatePtr ¶
func PreparedQueryTemplatePtr(v *PreparedQueryTemplateArgs) PreparedQueryTemplatePtrInput
type PreparedQueryTemplatePtrOutput ¶
type PreparedQueryTemplatePtrOutput struct{ *pulumi.OutputState }
func (PreparedQueryTemplatePtrOutput) Elem ¶
func (o PreparedQueryTemplatePtrOutput) Elem() PreparedQueryTemplateOutput
func (PreparedQueryTemplatePtrOutput) ElementType ¶
func (PreparedQueryTemplatePtrOutput) ElementType() reflect.Type
func (PreparedQueryTemplatePtrOutput) Regexp ¶
func (o PreparedQueryTemplatePtrOutput) Regexp() pulumi.StringPtrOutput
The regular expression to match with. When using `namePrefixMatch`, this regex is applied against the query name.
func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput ¶
func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext ¶
func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput
func (PreparedQueryTemplatePtrOutput) Type ¶
func (o PreparedQueryTemplatePtrOutput) Type() pulumi.StringPtrOutput
The type of template matching to perform. Currently only `namePrefixMatch` is supported.
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the consul package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
type ProviderArgs ¶
type ProviderArgs struct { Address pulumi.StringPtrInput CaFile pulumi.StringPtrInput CaPath pulumi.StringPtrInput CertFile pulumi.StringPtrInput Datacenter pulumi.StringPtrInput HttpAuth pulumi.StringPtrInput InsecureHttps pulumi.BoolPtrInput KeyFile pulumi.StringPtrInput Namespace pulumi.StringPtrInput Scheme pulumi.StringPtrInput Token pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type Service ¶
type Service struct { pulumi.CustomResourceState // The address of the service. Defaults to the // address of the node. Address pulumi.StringOutput `pulumi:"address"` Checks ServiceCheckArrayOutput `pulumi:"checks"` // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringOutput `pulumi:"datacenter"` External pulumi.BoolPtrOutput `pulumi:"external"` // A map of arbitrary KV metadata linked to the service // instance. Meta pulumi.StringMapOutput `pulumi:"meta"` // The name of the health-check. Name pulumi.StringOutput `pulumi:"name"` // The namespace to create the service within. Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The name of the node the to register the service on. Node pulumi.StringOutput `pulumi:"node"` // The port of the service. Port pulumi.IntPtrOutput `pulumi:"port"` // - If the service ID is not provided, it will be defaulted to the value // of the `name` attribute. ServiceId pulumi.StringOutput `pulumi:"serviceId"` // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayOutput `pulumi:"tags"` }
A high-level resource for creating a Service in Consul in the Consul catalog. This is appropriate for registering [external services](https://www.consul.io/docs/guides/external.html) and can be used to create services addressable by Consul that cannot be registered with a [local agent](https://www.consul.io/docs/agent/basics.html).
If the Consul agent is running on the node where this service is registered, it is not recommended to use this resource.
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
type ServiceArgs ¶
type ServiceArgs struct { // The address of the service. Defaults to the // address of the node. Address pulumi.StringPtrInput Checks ServiceCheckArrayInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput External pulumi.BoolPtrInput // A map of arbitrary KV metadata linked to the service // instance. Meta pulumi.StringMapInput // The name of the health-check. Name pulumi.StringPtrInput // The namespace to create the service within. Namespace pulumi.StringPtrInput // The name of the node the to register the service on. Node pulumi.StringInput // The port of the service. Port pulumi.IntPtrInput // - If the service ID is not provided, it will be defaulted to the value // of the `name` attribute. ServiceId pulumi.StringPtrInput // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceCheck ¶
type ServiceCheck struct { // An ID, *unique per agent*. Will default to *name* // if not set. CheckId string `pulumi:"checkId"` // The time after which // the service is automatically deregistered when in the `critical` state. // Defaults to `30s`. DeregisterCriticalServiceAfter *string `pulumi:"deregisterCriticalServiceAfter"` // The headers to send for an HTTP check. // The attributes of each header is given below. Headers []ServiceCheckHeader `pulumi:"headers"` // The HTTP endpoint to call for an HTTP check. Http *string `pulumi:"http"` // The interval to wait between each health-check // invocation. Interval string `pulumi:"interval"` // The method to use for HTTP health-checks. Defaults // to `GET`. Method *string `pulumi:"method"` // The name of the health-check. Name string `pulumi:"name"` // An opaque field meant to hold human readable text. Notes *string `pulumi:"notes"` // The initial health-check status. Status *string `pulumi:"status"` // The TCP address and port to connect to for a TCP check. Tcp *string `pulumi:"tcp"` // The timeout value for HTTP checks. Timeout string `pulumi:"timeout"` // Whether to deactivate certificate // verification for HTTP health-checks. Defaults to `false`. TlsSkipVerify *bool `pulumi:"tlsSkipVerify"` }
type ServiceCheckArgs ¶
type ServiceCheckArgs struct { // An ID, *unique per agent*. Will default to *name* // if not set. CheckId pulumi.StringInput `pulumi:"checkId"` // The time after which // the service is automatically deregistered when in the `critical` state. // Defaults to `30s`. DeregisterCriticalServiceAfter pulumi.StringPtrInput `pulumi:"deregisterCriticalServiceAfter"` // The headers to send for an HTTP check. // The attributes of each header is given below. Headers ServiceCheckHeaderArrayInput `pulumi:"headers"` // The HTTP endpoint to call for an HTTP check. Http pulumi.StringPtrInput `pulumi:"http"` // The interval to wait between each health-check // invocation. Interval pulumi.StringInput `pulumi:"interval"` // The method to use for HTTP health-checks. Defaults // to `GET`. Method pulumi.StringPtrInput `pulumi:"method"` // The name of the health-check. Name pulumi.StringInput `pulumi:"name"` // An opaque field meant to hold human readable text. Notes pulumi.StringPtrInput `pulumi:"notes"` // The initial health-check status. Status pulumi.StringPtrInput `pulumi:"status"` // The TCP address and port to connect to for a TCP check. Tcp pulumi.StringPtrInput `pulumi:"tcp"` // The timeout value for HTTP checks. Timeout pulumi.StringInput `pulumi:"timeout"` // Whether to deactivate certificate // verification for HTTP health-checks. Defaults to `false`. TlsSkipVerify pulumi.BoolPtrInput `pulumi:"tlsSkipVerify"` }
func (ServiceCheckArgs) ElementType ¶
func (ServiceCheckArgs) ElementType() reflect.Type
func (ServiceCheckArgs) ToServiceCheckOutput ¶
func (i ServiceCheckArgs) ToServiceCheckOutput() ServiceCheckOutput
func (ServiceCheckArgs) ToServiceCheckOutputWithContext ¶
func (i ServiceCheckArgs) ToServiceCheckOutputWithContext(ctx context.Context) ServiceCheckOutput
type ServiceCheckArray ¶
type ServiceCheckArray []ServiceCheckInput
func (ServiceCheckArray) ElementType ¶
func (ServiceCheckArray) ElementType() reflect.Type
func (ServiceCheckArray) ToServiceCheckArrayOutput ¶
func (i ServiceCheckArray) ToServiceCheckArrayOutput() ServiceCheckArrayOutput
func (ServiceCheckArray) ToServiceCheckArrayOutputWithContext ¶
func (i ServiceCheckArray) ToServiceCheckArrayOutputWithContext(ctx context.Context) ServiceCheckArrayOutput
type ServiceCheckArrayInput ¶
type ServiceCheckArrayInput interface { pulumi.Input ToServiceCheckArrayOutput() ServiceCheckArrayOutput ToServiceCheckArrayOutputWithContext(context.Context) ServiceCheckArrayOutput }
ServiceCheckArrayInput is an input type that accepts ServiceCheckArray and ServiceCheckArrayOutput values. You can construct a concrete instance of `ServiceCheckArrayInput` via:
ServiceCheckArray{ ServiceCheckArgs{...} }
type ServiceCheckArrayOutput ¶
type ServiceCheckArrayOutput struct{ *pulumi.OutputState }
func (ServiceCheckArrayOutput) ElementType ¶
func (ServiceCheckArrayOutput) ElementType() reflect.Type
func (ServiceCheckArrayOutput) Index ¶
func (o ServiceCheckArrayOutput) Index(i pulumi.IntInput) ServiceCheckOutput
func (ServiceCheckArrayOutput) ToServiceCheckArrayOutput ¶
func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutput() ServiceCheckArrayOutput
func (ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext ¶
func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext(ctx context.Context) ServiceCheckArrayOutput
type ServiceCheckHeader ¶
type ServiceCheckHeaderArgs ¶
type ServiceCheckHeaderArgs struct { // The name of the header. Name pulumi.StringInput `pulumi:"name"` // The header's list of values. Values pulumi.StringArrayInput `pulumi:"values"` }
func (ServiceCheckHeaderArgs) ElementType ¶
func (ServiceCheckHeaderArgs) ElementType() reflect.Type
func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput ¶
func (i ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput
func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutputWithContext ¶
func (i ServiceCheckHeaderArgs) ToServiceCheckHeaderOutputWithContext(ctx context.Context) ServiceCheckHeaderOutput
type ServiceCheckHeaderArray ¶
type ServiceCheckHeaderArray []ServiceCheckHeaderInput
func (ServiceCheckHeaderArray) ElementType ¶
func (ServiceCheckHeaderArray) ElementType() reflect.Type
func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput ¶
func (i ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput
func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutputWithContext ¶
func (i ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutputWithContext(ctx context.Context) ServiceCheckHeaderArrayOutput
type ServiceCheckHeaderArrayInput ¶
type ServiceCheckHeaderArrayInput interface { pulumi.Input ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput ToServiceCheckHeaderArrayOutputWithContext(context.Context) ServiceCheckHeaderArrayOutput }
ServiceCheckHeaderArrayInput is an input type that accepts ServiceCheckHeaderArray and ServiceCheckHeaderArrayOutput values. You can construct a concrete instance of `ServiceCheckHeaderArrayInput` via:
ServiceCheckHeaderArray{ ServiceCheckHeaderArgs{...} }
type ServiceCheckHeaderArrayOutput ¶
type ServiceCheckHeaderArrayOutput struct{ *pulumi.OutputState }
func (ServiceCheckHeaderArrayOutput) ElementType ¶
func (ServiceCheckHeaderArrayOutput) ElementType() reflect.Type
func (ServiceCheckHeaderArrayOutput) Index ¶
func (o ServiceCheckHeaderArrayOutput) Index(i pulumi.IntInput) ServiceCheckHeaderOutput
func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput ¶
func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput
func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext ¶
func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext(ctx context.Context) ServiceCheckHeaderArrayOutput
type ServiceCheckHeaderInput ¶
type ServiceCheckHeaderInput interface { pulumi.Input ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput ToServiceCheckHeaderOutputWithContext(context.Context) ServiceCheckHeaderOutput }
ServiceCheckHeaderInput is an input type that accepts ServiceCheckHeaderArgs and ServiceCheckHeaderOutput values. You can construct a concrete instance of `ServiceCheckHeaderInput` via:
ServiceCheckHeaderArgs{...}
type ServiceCheckHeaderOutput ¶
type ServiceCheckHeaderOutput struct{ *pulumi.OutputState }
func (ServiceCheckHeaderOutput) ElementType ¶
func (ServiceCheckHeaderOutput) ElementType() reflect.Type
func (ServiceCheckHeaderOutput) Name ¶
func (o ServiceCheckHeaderOutput) Name() pulumi.StringOutput
The name of the header.
func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput ¶
func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput
func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext ¶
func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext(ctx context.Context) ServiceCheckHeaderOutput
func (ServiceCheckHeaderOutput) Values ¶
func (o ServiceCheckHeaderOutput) Values() pulumi.StringArrayOutput
The header's list of values.
type ServiceCheckInput ¶
type ServiceCheckInput interface { pulumi.Input ToServiceCheckOutput() ServiceCheckOutput ToServiceCheckOutputWithContext(context.Context) ServiceCheckOutput }
ServiceCheckInput is an input type that accepts ServiceCheckArgs and ServiceCheckOutput values. You can construct a concrete instance of `ServiceCheckInput` via:
ServiceCheckArgs{...}
type ServiceCheckOutput ¶
type ServiceCheckOutput struct{ *pulumi.OutputState }
func (ServiceCheckOutput) CheckId ¶
func (o ServiceCheckOutput) CheckId() pulumi.StringOutput
An ID, *unique per agent*. Will default to *name* if not set.
func (ServiceCheckOutput) DeregisterCriticalServiceAfter ¶
func (o ServiceCheckOutput) DeregisterCriticalServiceAfter() pulumi.StringPtrOutput
The time after which the service is automatically deregistered when in the `critical` state. Defaults to `30s`.
func (ServiceCheckOutput) ElementType ¶
func (ServiceCheckOutput) ElementType() reflect.Type
func (ServiceCheckOutput) Headers ¶
func (o ServiceCheckOutput) Headers() ServiceCheckHeaderArrayOutput
The headers to send for an HTTP check. The attributes of each header is given below.
func (ServiceCheckOutput) Http ¶
func (o ServiceCheckOutput) Http() pulumi.StringPtrOutput
The HTTP endpoint to call for an HTTP check.
func (ServiceCheckOutput) Interval ¶
func (o ServiceCheckOutput) Interval() pulumi.StringOutput
The interval to wait between each health-check invocation.
func (ServiceCheckOutput) Method ¶
func (o ServiceCheckOutput) Method() pulumi.StringPtrOutput
The method to use for HTTP health-checks. Defaults to `GET`.
func (ServiceCheckOutput) Name ¶
func (o ServiceCheckOutput) Name() pulumi.StringOutput
The name of the health-check.
func (ServiceCheckOutput) Notes ¶
func (o ServiceCheckOutput) Notes() pulumi.StringPtrOutput
An opaque field meant to hold human readable text.
func (ServiceCheckOutput) Status ¶
func (o ServiceCheckOutput) Status() pulumi.StringPtrOutput
The initial health-check status.
func (ServiceCheckOutput) Tcp ¶
func (o ServiceCheckOutput) Tcp() pulumi.StringPtrOutput
The TCP address and port to connect to for a TCP check.
func (ServiceCheckOutput) Timeout ¶
func (o ServiceCheckOutput) Timeout() pulumi.StringOutput
The timeout value for HTTP checks.
func (ServiceCheckOutput) TlsSkipVerify ¶
func (o ServiceCheckOutput) TlsSkipVerify() pulumi.BoolPtrOutput
Whether to deactivate certificate verification for HTTP health-checks. Defaults to `false`.
func (ServiceCheckOutput) ToServiceCheckOutput ¶
func (o ServiceCheckOutput) ToServiceCheckOutput() ServiceCheckOutput
func (ServiceCheckOutput) ToServiceCheckOutputWithContext ¶
func (o ServiceCheckOutput) ToServiceCheckOutputWithContext(ctx context.Context) ServiceCheckOutput
type ServiceState ¶
type ServiceState struct { // The address of the service. Defaults to the // address of the node. Address pulumi.StringPtrInput Checks ServiceCheckArrayInput // The datacenter to use. This overrides the // agent's default datacenter and the datacenter in the provider setup. Datacenter pulumi.StringPtrInput External pulumi.BoolPtrInput // A map of arbitrary KV metadata linked to the service // instance. Meta pulumi.StringMapInput // The name of the health-check. Name pulumi.StringPtrInput // The namespace to create the service within. Namespace pulumi.StringPtrInput // The name of the node the to register the service on. Node pulumi.StringPtrInput // The port of the service. Port pulumi.IntPtrInput // - If the service ID is not provided, it will be defaulted to the value // of the `name` attribute. ServiceId pulumi.StringPtrInput // A list of values that are opaque to Consul, // but can be used to distinguish between services or nodes. Tags pulumi.StringArrayInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
Source Files
¶
- aclAuthMethod.go
- aclBindingRule.go
- aclPolicy.go
- aclRole.go
- aclToken.go
- aclTokenPolicyAttachment.go
- agentService.go
- autopilotConfig.go
- catalogEntry.go
- configEntry.go
- doc.go
- getAclAuthMethod.go
- getAclPolicy.go
- getAclRole.go
- getAclToken.go
- getAclTokenSecretId.go
- getAgentConfig.go
- getAgentSelf.go
- getAutopilotHealth.go
- getCatalogNodes.go
- getCatalogService.go
- getCatalogServices.go
- getKeyPrefix.go
- getKeys.go
- getNodes.go
- getService.go
- getServiceHealth.go
- getServices.go
- intention.go
- keyPrefix.go
- keys.go
- node.go
- preparedQuery.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- service.go