Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type AccessList
- type AccessListAddress
- type AccessListAddressArgs
- type AccessListAddressArray
- type AccessListAddressArrayInput
- type AccessListAddressArrayOutput
- func (AccessListAddressArrayOutput) ElementType() reflect.Type
- func (o AccessListAddressArrayOutput) Index(i pulumi.IntInput) AccessListAddressOutput
- func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutput() AccessListAddressArrayOutput
- func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutputWithContext(ctx context.Context) AccessListAddressArrayOutput
- type AccessListAddressInput
- type AccessListAddressOutput
- func (o AccessListAddressOutput) Address() pulumi.StringOutput
- func (o AccessListAddressOutput) Description() pulumi.StringPtrOutput
- func (AccessListAddressOutput) ElementType() reflect.Type
- func (o AccessListAddressOutput) Enabled() pulumi.BoolOutput
- func (o AccessListAddressOutput) ToAccessListAddressOutput() AccessListAddressOutput
- func (o AccessListAddressOutput) ToAccessListAddressOutputWithContext(ctx context.Context) AccessListAddressOutput
- type AccessListArgs
- type AccessListArray
- type AccessListArrayInput
- type AccessListArrayOutput
- func (AccessListArrayOutput) ElementType() reflect.Type
- func (o AccessListArrayOutput) Index(i pulumi.IntInput) AccessListOutput
- func (o AccessListArrayOutput) ToAccessListArrayOutput() AccessListArrayOutput
- func (o AccessListArrayOutput) ToAccessListArrayOutputWithContext(ctx context.Context) AccessListArrayOutput
- type AccessListInput
- type AccessListMap
- type AccessListMapInput
- type AccessListMapOutput
- func (AccessListMapOutput) ElementType() reflect.Type
- func (o AccessListMapOutput) MapIndex(k pulumi.StringInput) AccessListOutput
- func (o AccessListMapOutput) ToAccessListMapOutput() AccessListMapOutput
- func (o AccessListMapOutput) ToAccessListMapOutputWithContext(ctx context.Context) AccessListMapOutput
- type AccessListOutput
- func (o AccessListOutput) Addresses() AccessListAddressArrayOutput
- func (o AccessListOutput) DatabaseId() pulumi.StringOutput
- func (AccessListOutput) ElementType() reflect.Type
- func (o AccessListOutput) Enabled() pulumi.BoolPtrOutput
- func (o AccessListOutput) ToAccessListOutput() AccessListOutput
- func (o AccessListOutput) ToAccessListOutputWithContext(ctx context.Context) AccessListOutput
- type AccessListState
- type Cdc
- type CdcArgs
- type CdcArray
- type CdcArrayInput
- type CdcArrayOutput
- type CdcInput
- type CdcMap
- type CdcMapInput
- type CdcMapOutput
- type CdcOutput
- func (o CdcOutput) ConnectorStatus() pulumi.StringOutput
- func (o CdcOutput) DataTopic() pulumi.StringOutput
- func (o CdcOutput) DatabaseId() pulumi.StringOutput
- func (o CdcOutput) DatabaseName() pulumi.StringOutput
- func (CdcOutput) ElementType() reflect.Type
- func (o CdcOutput) Keyspace() pulumi.StringOutput
- func (o CdcOutput) Table() pulumi.StringOutput
- func (o CdcOutput) TenantName() pulumi.StringOutput
- func (o CdcOutput) ToCdcOutput() CdcOutput
- func (o CdcOutput) ToCdcOutputWithContext(ctx context.Context) CdcOutput
- func (o CdcOutput) TopicPartitions() pulumi.IntOutput
- type CdcState
- type Database
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (o DatabaseOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
- func (o DatabaseOutput) CloudProvider() pulumi.StringOutput
- func (o DatabaseOutput) CqlshUrl() pulumi.StringOutput
- func (o DatabaseOutput) DataEndpointUrl() pulumi.StringOutput
- func (o DatabaseOutput) Datacenters() pulumi.StringMapOutput
- func (o DatabaseOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) GrafanaUrl() pulumi.StringOutput
- func (o DatabaseOutput) GraphqlUrl() pulumi.StringOutput
- func (o DatabaseOutput) Keyspace() pulumi.StringOutput
- func (o DatabaseOutput) Name() pulumi.StringOutput
- func (o DatabaseOutput) NodeCount() pulumi.IntOutput
- func (o DatabaseOutput) OrganizationId() pulumi.StringOutput
- func (o DatabaseOutput) OwnerId() pulumi.StringOutput
- func (o DatabaseOutput) Regions() pulumi.StringArrayOutput
- func (o DatabaseOutput) ReplicationFactor() pulumi.IntOutput
- func (o DatabaseOutput) Status() pulumi.StringOutput
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) TotalStorage() pulumi.IntOutput
- type DatabaseState
- type GetAccessListAddress
- type GetAccessListAddressArgs
- type GetAccessListAddressArray
- type GetAccessListAddressArrayInput
- type GetAccessListAddressArrayOutput
- func (GetAccessListAddressArrayOutput) ElementType() reflect.Type
- func (o GetAccessListAddressArrayOutput) Index(i pulumi.IntInput) GetAccessListAddressOutput
- func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput
- func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutputWithContext(ctx context.Context) GetAccessListAddressArrayOutput
- type GetAccessListAddressInput
- type GetAccessListAddressOutput
- func (o GetAccessListAddressOutput) Address() pulumi.StringOutput
- func (o GetAccessListAddressOutput) Description() pulumi.StringPtrOutput
- func (GetAccessListAddressOutput) ElementType() reflect.Type
- func (o GetAccessListAddressOutput) Enabled() pulumi.BoolOutput
- func (o GetAccessListAddressOutput) ToGetAccessListAddressOutput() GetAccessListAddressOutput
- func (o GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext(ctx context.Context) GetAccessListAddressOutput
- type GetAstraDatabaseArgs
- type GetAstraDatabaseOutputArgs
- type GetAstraDatabaseResult
- type GetAstraDatabaseResultOutput
- func (o GetAstraDatabaseResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
- func (o GetAstraDatabaseResultOutput) CloudProvider() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) CqlshUrl() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) DataEndpointUrl() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) DatabaseId() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) Datacenters() pulumi.StringMapOutput
- func (GetAstraDatabaseResultOutput) ElementType() reflect.Type
- func (o GetAstraDatabaseResultOutput) GrafanaUrl() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) GraphqlUrl() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) Id() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) Keyspace() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) Name() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) NodeCount() pulumi.IntOutput
- func (o GetAstraDatabaseResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) OwnerId() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) Regions() pulumi.StringArrayOutput
- func (o GetAstraDatabaseResultOutput) ReplicationFactor() pulumi.IntOutput
- func (o GetAstraDatabaseResultOutput) Status() pulumi.StringOutput
- func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput() GetAstraDatabaseResultOutput
- func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext(ctx context.Context) GetAstraDatabaseResultOutput
- func (o GetAstraDatabaseResultOutput) TotalStorage() pulumi.IntOutput
- type GetAstraDatabasesResult
- type GetAstraDatabasesResultArgs
- type GetAstraDatabasesResultArray
- func (GetAstraDatabasesResultArray) ElementType() reflect.Type
- func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput
- func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput
- type GetAstraDatabasesResultArrayInput
- type GetAstraDatabasesResultArrayOutput
- func (GetAstraDatabasesResultArrayOutput) ElementType() reflect.Type
- func (o GetAstraDatabasesResultArrayOutput) Index(i pulumi.IntInput) GetAstraDatabasesResultOutput
- func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput
- func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput
- type GetAstraDatabasesResultInput
- type GetAstraDatabasesResultOutput
- func (o GetAstraDatabasesResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
- func (o GetAstraDatabasesResultOutput) CloudProvider() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) CqlshUrl() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) DataEndpointUrl() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) Datacenters() pulumi.StringMapOutput
- func (GetAstraDatabasesResultOutput) ElementType() reflect.Type
- func (o GetAstraDatabasesResultOutput) GrafanaUrl() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) GraphqlUrl() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) Id() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) Keyspace() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) Name() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) NodeCount() pulumi.IntOutput
- func (o GetAstraDatabasesResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) OwnerId() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) Regions() pulumi.StringArrayOutput
- func (o GetAstraDatabasesResultOutput) ReplicationFactor() pulumi.IntOutput
- func (o GetAstraDatabasesResultOutput) Status() pulumi.StringOutput
- func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput
- func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutputWithContext(ctx context.Context) GetAstraDatabasesResultOutput
- func (o GetAstraDatabasesResultOutput) TotalStorage() pulumi.IntOutput
- type GetAvailableRegionsResult
- type GetAvailableRegionsResultArgs
- func (GetAvailableRegionsResultArgs) ElementType() reflect.Type
- func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput
- func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput
- type GetAvailableRegionsResultArray
- func (GetAvailableRegionsResultArray) ElementType() reflect.Type
- func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput
- func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput
- type GetAvailableRegionsResultArrayInput
- type GetAvailableRegionsResultArrayOutput
- func (GetAvailableRegionsResultArrayOutput) ElementType() reflect.Type
- func (o GetAvailableRegionsResultArrayOutput) Index(i pulumi.IntInput) GetAvailableRegionsResultOutput
- func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput
- func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput
- type GetAvailableRegionsResultInput
- type GetAvailableRegionsResultOutput
- func (o GetAvailableRegionsResultOutput) CloudProvider() pulumi.StringOutput
- func (o GetAvailableRegionsResultOutput) DisplayName() pulumi.StringOutput
- func (GetAvailableRegionsResultOutput) ElementType() reflect.Type
- func (o GetAvailableRegionsResultOutput) Region() pulumi.StringOutput
- func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput
- func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput
- func (o GetAvailableRegionsResultOutput) Zone() pulumi.StringOutput
- type GetKeyspacesResult
- type GetKeyspacesResultArgs
- type GetKeyspacesResultArray
- type GetKeyspacesResultArrayInput
- type GetKeyspacesResultArrayOutput
- func (GetKeyspacesResultArrayOutput) ElementType() reflect.Type
- func (o GetKeyspacesResultArrayOutput) Index(i pulumi.IntInput) GetKeyspacesResultOutput
- func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput
- func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutputWithContext(ctx context.Context) GetKeyspacesResultArrayOutput
- type GetKeyspacesResultInput
- type GetKeyspacesResultOutput
- func (GetKeyspacesResultOutput) ElementType() reflect.Type
- func (o GetKeyspacesResultOutput) Name() pulumi.StringOutput
- func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutput() GetKeyspacesResultOutput
- func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutputWithContext(ctx context.Context) GetKeyspacesResultOutput
- type GetPrivateLinkEndpointsResult
- type GetPrivateLinkEndpointsResultArgs
- func (GetPrivateLinkEndpointsResultArgs) ElementType() reflect.Type
- func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput
- func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput
- type GetPrivateLinkEndpointsResultArray
- func (GetPrivateLinkEndpointsResultArray) ElementType() reflect.Type
- func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput
- func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput
- type GetPrivateLinkEndpointsResultArrayInput
- type GetPrivateLinkEndpointsResultArrayOutput
- func (GetPrivateLinkEndpointsResultArrayOutput) ElementType() reflect.Type
- func (o GetPrivateLinkEndpointsResultArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkEndpointsResultOutput
- func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput
- func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput
- type GetPrivateLinkEndpointsResultInput
- type GetPrivateLinkEndpointsResultOutput
- func (o GetPrivateLinkEndpointsResultOutput) CreateTime() pulumi.StringOutput
- func (o GetPrivateLinkEndpointsResultOutput) Description() pulumi.StringOutput
- func (GetPrivateLinkEndpointsResultOutput) ElementType() reflect.Type
- func (o GetPrivateLinkEndpointsResultOutput) EndpointId() pulumi.StringOutput
- func (o GetPrivateLinkEndpointsResultOutput) Status() pulumi.StringOutput
- func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput
- func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput
- type GetPrivateLinksResult
- type GetPrivateLinksResultArgs
- type GetPrivateLinksResultArray
- func (GetPrivateLinksResultArray) ElementType() reflect.Type
- func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput
- func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput
- type GetPrivateLinksResultArrayInput
- type GetPrivateLinksResultArrayOutput
- func (GetPrivateLinksResultArrayOutput) ElementType() reflect.Type
- func (o GetPrivateLinksResultArrayOutput) Index(i pulumi.IntInput) GetPrivateLinksResultOutput
- func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput
- func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput
- type GetPrivateLinksResultInput
- type GetPrivateLinksResultOutput
- func (o GetPrivateLinksResultOutput) AllowedPrincipals() pulumi.StringArrayOutput
- func (o GetPrivateLinksResultOutput) DatacenterId() pulumi.StringOutput
- func (GetPrivateLinksResultOutput) ElementType() reflect.Type
- func (o GetPrivateLinksResultOutput) Endpoints() pulumi.StringArrayOutput
- func (o GetPrivateLinksResultOutput) ServiceName() pulumi.StringOutput
- func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput
- func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutputWithContext(ctx context.Context) GetPrivateLinksResultOutput
- type GetRolesResult
- type GetRolesResultArgs
- type GetRolesResultArray
- type GetRolesResultArrayInput
- type GetRolesResultArrayOutput
- func (GetRolesResultArrayOutput) ElementType() reflect.Type
- func (o GetRolesResultArrayOutput) Index(i pulumi.IntInput) GetRolesResultOutput
- func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutput() GetRolesResultArrayOutput
- func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutputWithContext(ctx context.Context) GetRolesResultArrayOutput
- type GetRolesResultInput
- type GetRolesResultOutput
- func (o GetRolesResultOutput) Description() pulumi.StringOutput
- func (o GetRolesResultOutput) Effect() pulumi.StringOutput
- func (GetRolesResultOutput) ElementType() reflect.Type
- func (o GetRolesResultOutput) Policies() pulumi.StringArrayOutput
- func (o GetRolesResultOutput) Resources() pulumi.StringArrayOutput
- func (o GetRolesResultOutput) RoleId() pulumi.StringOutput
- func (o GetRolesResultOutput) RoleName() pulumi.StringOutput
- func (o GetRolesResultOutput) ToGetRolesResultOutput() GetRolesResultOutput
- func (o GetRolesResultOutput) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput
- type GetSecureConnectBundleUrlArgs
- type GetSecureConnectBundleUrlOutputArgs
- type GetSecureConnectBundleUrlResult
- type GetSecureConnectBundleUrlResultOutput
- func (o GetSecureConnectBundleUrlResultOutput) DatabaseId() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlResultOutput) DatacenterId() pulumi.StringPtrOutput
- func (GetSecureConnectBundleUrlResultOutput) ElementType() reflect.Type
- func (o GetSecureConnectBundleUrlResultOutput) Id() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlResultOutput) SecureBundles() GetSecureConnectBundleUrlSecureBundleArrayOutput
- func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput() GetSecureConnectBundleUrlResultOutput
- func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlResultOutput
- type GetSecureConnectBundleUrlSecureBundle
- type GetSecureConnectBundleUrlSecureBundleArgs
- func (GetSecureConnectBundleUrlSecureBundleArgs) ElementType() reflect.Type
- func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput
- func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput
- type GetSecureConnectBundleUrlSecureBundleArray
- func (GetSecureConnectBundleUrlSecureBundleArray) ElementType() reflect.Type
- func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput
- func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput
- type GetSecureConnectBundleUrlSecureBundleArrayInput
- type GetSecureConnectBundleUrlSecureBundleArrayOutput
- func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ElementType() reflect.Type
- func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) Index(i pulumi.IntInput) GetSecureConnectBundleUrlSecureBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput
- func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundle
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs
- func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ElementType() reflect.Type
- func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray
- func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ElementType() reflect.Type
- func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ElementType() reflect.Type
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) Index(i pulumi.IntInput) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput
- type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ApiFqdn() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) CqlFqdn() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) DashboardFqdn() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Domain() pulumi.StringOutput
- func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ElementType() reflect.Type
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Url() pulumi.StringOutput
- type GetSecureConnectBundleUrlSecureBundleInput
- type GetSecureConnectBundleUrlSecureBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) CustomDomainBundles() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) DatacenterId() pulumi.StringOutput
- func (GetSecureConnectBundleUrlSecureBundleOutput) ElementType() reflect.Type
- func (o GetSecureConnectBundleUrlSecureBundleOutput) InternalMigrationProxyUrl() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) InternalUrl() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) MigrationProxyUrl() pulumi.StringOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput
- func (o GetSecureConnectBundleUrlSecureBundleOutput) Url() pulumi.StringOutput
- type GetStreamingTenantTokensArgs
- type GetStreamingTenantTokensOutputArgs
- type GetStreamingTenantTokensResult
- type GetStreamingTenantTokensResultOutput
- func (o GetStreamingTenantTokensResultOutput) ClusterName() pulumi.StringOutput
- func (GetStreamingTenantTokensResultOutput) ElementType() reflect.Type
- func (o GetStreamingTenantTokensResultOutput) Id() pulumi.StringOutput
- func (o GetStreamingTenantTokensResultOutput) TenantName() pulumi.StringOutput
- func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutput() GetStreamingTenantTokensResultOutput
- func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutputWithContext(ctx context.Context) GetStreamingTenantTokensResultOutput
- func (o GetStreamingTenantTokensResultOutput) Tokens() GetStreamingTenantTokensTokenArrayOutput
- type GetStreamingTenantTokensToken
- type GetStreamingTenantTokensTokenArgs
- func (GetStreamingTenantTokensTokenArgs) ElementType() reflect.Type
- func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput
- func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput
- type GetStreamingTenantTokensTokenArray
- func (GetStreamingTenantTokensTokenArray) ElementType() reflect.Type
- func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput
- func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput
- type GetStreamingTenantTokensTokenArrayInput
- type GetStreamingTenantTokensTokenArrayOutput
- func (GetStreamingTenantTokensTokenArrayOutput) ElementType() reflect.Type
- func (o GetStreamingTenantTokensTokenArrayOutput) Index(i pulumi.IntInput) GetStreamingTenantTokensTokenOutput
- func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput
- func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput
- type GetStreamingTenantTokensTokenInput
- type GetStreamingTenantTokensTokenOutput
- func (GetStreamingTenantTokensTokenOutput) ElementType() reflect.Type
- func (o GetStreamingTenantTokensTokenOutput) Iat() pulumi.IntOutput
- func (o GetStreamingTenantTokensTokenOutput) Iss() pulumi.StringOutput
- func (o GetStreamingTenantTokensTokenOutput) Sub() pulumi.StringOutput
- func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput
- func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput
- func (o GetStreamingTenantTokensTokenOutput) Token() pulumi.StringOutput
- func (o GetStreamingTenantTokensTokenOutput) TokenId() pulumi.StringOutput
- type GetUsersArgs
- type GetUsersOutputArgs
- type GetUsersResult
- type GetUsersResultOutput
- func (GetUsersResultOutput) ElementType() reflect.Type
- func (o GetUsersResultOutput) Id() pulumi.StringOutput
- func (o GetUsersResultOutput) OrgId() pulumi.StringOutput
- func (o GetUsersResultOutput) OrgName() pulumi.StringPtrOutput
- func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput
- func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput
- func (o GetUsersResultOutput) Users() GetUsersUserArrayOutput
- type GetUsersUser
- type GetUsersUserArgs
- type GetUsersUserArray
- type GetUsersUserArrayInput
- type GetUsersUserArrayOutput
- func (GetUsersUserArrayOutput) ElementType() reflect.Type
- func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput
- func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
- func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput
- type GetUsersUserInput
- type GetUsersUserOutput
- func (GetUsersUserOutput) ElementType() reflect.Type
- func (o GetUsersUserOutput) Email() pulumi.StringOutput
- func (o GetUsersUserOutput) Roles() GetUsersUserRoleArrayOutput
- func (o GetUsersUserOutput) Status() pulumi.StringOutput
- func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput
- func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput
- func (o GetUsersUserOutput) UserId() pulumi.StringOutput
- type GetUsersUserRole
- type GetUsersUserRoleArgs
- type GetUsersUserRoleArray
- type GetUsersUserRoleArrayInput
- type GetUsersUserRoleArrayOutput
- func (GetUsersUserRoleArrayOutput) ElementType() reflect.Type
- func (o GetUsersUserRoleArrayOutput) Index(i pulumi.IntInput) GetUsersUserRoleOutput
- func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput
- func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutputWithContext(ctx context.Context) GetUsersUserRoleArrayOutput
- type GetUsersUserRoleInput
- type GetUsersUserRoleOutput
- func (GetUsersUserRoleOutput) ElementType() reflect.Type
- func (o GetUsersUserRoleOutput) RoleId() pulumi.StringOutput
- func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutput() GetUsersUserRoleOutput
- func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutputWithContext(ctx context.Context) GetUsersUserRoleOutput
- type Keyspace
- type KeyspaceArgs
- type KeyspaceArray
- type KeyspaceArrayInput
- type KeyspaceArrayOutput
- type KeyspaceInput
- type KeyspaceMap
- type KeyspaceMapInput
- type KeyspaceMapOutput
- type KeyspaceOutput
- func (o KeyspaceOutput) DatabaseId() pulumi.StringOutput
- func (KeyspaceOutput) ElementType() reflect.Type
- func (o KeyspaceOutput) Name() pulumi.StringOutput
- func (o KeyspaceOutput) ToKeyspaceOutput() KeyspaceOutput
- func (o KeyspaceOutput) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput
- type KeyspaceState
- type LookupAccessListArgs
- type LookupAccessListOutputArgs
- type LookupAccessListResult
- type LookupAccessListResultOutput
- func (o LookupAccessListResultOutput) Addresses() GetAccessListAddressArrayOutput
- func (o LookupAccessListResultOutput) DatabaseId() pulumi.StringOutput
- func (LookupAccessListResultOutput) ElementType() reflect.Type
- func (o LookupAccessListResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupAccessListResultOutput) Id() pulumi.StringOutput
- func (o LookupAccessListResultOutput) ToLookupAccessListResultOutput() LookupAccessListResultOutput
- func (o LookupAccessListResultOutput) ToLookupAccessListResultOutputWithContext(ctx context.Context) LookupAccessListResultOutput
- type LookupAstraDatabasesArgs
- type LookupAstraDatabasesOutputArgs
- type LookupAstraDatabasesResult
- type LookupAstraDatabasesResultOutput
- func (o LookupAstraDatabasesResultOutput) CloudProvider() pulumi.StringPtrOutput
- func (LookupAstraDatabasesResultOutput) ElementType() reflect.Type
- func (o LookupAstraDatabasesResultOutput) Id() pulumi.StringOutput
- func (o LookupAstraDatabasesResultOutput) Results() GetAstraDatabasesResultArrayOutput
- func (o LookupAstraDatabasesResultOutput) Status() pulumi.StringPtrOutput
- func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutput() LookupAstraDatabasesResultOutput
- func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutputWithContext(ctx context.Context) LookupAstraDatabasesResultOutput
- type LookupAvailableRegionsResult
- type LookupKeyspaceArgs
- type LookupKeyspaceOutputArgs
- type LookupKeyspaceResult
- type LookupKeyspaceResultOutput
- func (o LookupKeyspaceResultOutput) DatabaseId() pulumi.StringOutput
- func (LookupKeyspaceResultOutput) ElementType() reflect.Type
- func (o LookupKeyspaceResultOutput) Id() pulumi.StringOutput
- func (o LookupKeyspaceResultOutput) Name() pulumi.StringOutput
- func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutput() LookupKeyspaceResultOutput
- func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutputWithContext(ctx context.Context) LookupKeyspaceResultOutput
- type LookupKeyspacesArgs
- type LookupKeyspacesOutputArgs
- type LookupKeyspacesResult
- type LookupKeyspacesResultOutput
- func (o LookupKeyspacesResultOutput) DatabaseId() pulumi.StringOutput
- func (LookupKeyspacesResultOutput) ElementType() reflect.Type
- func (o LookupKeyspacesResultOutput) Id() pulumi.StringOutput
- func (o LookupKeyspacesResultOutput) Results() GetKeyspacesResultArrayOutput
- func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput() LookupKeyspacesResultOutput
- func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext(ctx context.Context) LookupKeyspacesResultOutput
- type LookupPrivateLinkEndpointsArgs
- type LookupPrivateLinkEndpointsOutputArgs
- type LookupPrivateLinkEndpointsResult
- type LookupPrivateLinkEndpointsResultOutput
- func (o LookupPrivateLinkEndpointsResultOutput) DatabaseId() pulumi.StringOutput
- func (o LookupPrivateLinkEndpointsResultOutput) DatacenterId() pulumi.StringOutput
- func (LookupPrivateLinkEndpointsResultOutput) ElementType() reflect.Type
- func (o LookupPrivateLinkEndpointsResultOutput) EndpointId() pulumi.StringOutput
- func (o LookupPrivateLinkEndpointsResultOutput) Id() pulumi.StringOutput
- func (o LookupPrivateLinkEndpointsResultOutput) Results() GetPrivateLinkEndpointsResultArrayOutput
- func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput() LookupPrivateLinkEndpointsResultOutput
- func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) LookupPrivateLinkEndpointsResultOutput
- type LookupPrivateLinksArgs
- type LookupPrivateLinksOutputArgs
- type LookupPrivateLinksResult
- type LookupPrivateLinksResultOutput
- func (o LookupPrivateLinksResultOutput) DatabaseId() pulumi.StringOutput
- func (o LookupPrivateLinksResultOutput) DatacenterId() pulumi.StringOutput
- func (LookupPrivateLinksResultOutput) ElementType() reflect.Type
- func (o LookupPrivateLinksResultOutput) Id() pulumi.StringOutput
- func (o LookupPrivateLinksResultOutput) Results() GetPrivateLinksResultArrayOutput
- func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput() LookupPrivateLinksResultOutput
- func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext(ctx context.Context) LookupPrivateLinksResultOutput
- type LookupRoleArgs
- type LookupRoleOutputArgs
- type LookupRoleResult
- type LookupRoleResultOutput
- func (o LookupRoleResultOutput) Description() pulumi.StringOutput
- func (o LookupRoleResultOutput) Effect() pulumi.StringOutput
- func (LookupRoleResultOutput) ElementType() reflect.Type
- func (o LookupRoleResultOutput) Id() pulumi.StringOutput
- func (o LookupRoleResultOutput) Policies() pulumi.StringArrayOutput
- func (o LookupRoleResultOutput) Resources() pulumi.StringArrayOutput
- func (o LookupRoleResultOutput) RoleId() pulumi.StringOutput
- func (o LookupRoleResultOutput) RoleName() pulumi.StringOutput
- func (o LookupRoleResultOutput) ToLookupRoleResultOutput() LookupRoleResultOutput
- func (o LookupRoleResultOutput) ToLookupRoleResultOutputWithContext(ctx context.Context) LookupRoleResultOutput
- type LookupRolesResult
- type PrivateLink
- type PrivateLinkArgs
- type PrivateLinkArray
- type PrivateLinkArrayInput
- type PrivateLinkArrayOutput
- func (PrivateLinkArrayOutput) ElementType() reflect.Type
- func (o PrivateLinkArrayOutput) Index(i pulumi.IntInput) PrivateLinkOutput
- func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
- func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
- type PrivateLinkEndpoint
- type PrivateLinkEndpointArgs
- type PrivateLinkEndpointArray
- type PrivateLinkEndpointArrayInput
- type PrivateLinkEndpointArrayOutput
- func (PrivateLinkEndpointArrayOutput) ElementType() reflect.Type
- func (o PrivateLinkEndpointArrayOutput) Index(i pulumi.IntInput) PrivateLinkEndpointOutput
- func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput
- func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput
- type PrivateLinkEndpointInput
- type PrivateLinkEndpointMap
- type PrivateLinkEndpointMapInput
- type PrivateLinkEndpointMapOutput
- func (PrivateLinkEndpointMapOutput) ElementType() reflect.Type
- func (o PrivateLinkEndpointMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkEndpointOutput
- func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput
- func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput
- type PrivateLinkEndpointOutput
- func (o PrivateLinkEndpointOutput) AstraEndpointId() pulumi.StringOutput
- func (o PrivateLinkEndpointOutput) DatabaseId() pulumi.StringOutput
- func (o PrivateLinkEndpointOutput) DatacenterId() pulumi.StringOutput
- func (PrivateLinkEndpointOutput) ElementType() reflect.Type
- func (o PrivateLinkEndpointOutput) EndpointId() pulumi.StringOutput
- func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
- func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
- type PrivateLinkEndpointState
- type PrivateLinkInput
- type PrivateLinkMap
- type PrivateLinkMapInput
- type PrivateLinkMapOutput
- func (PrivateLinkMapOutput) ElementType() reflect.Type
- func (o PrivateLinkMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkOutput
- func (o PrivateLinkMapOutput) ToPrivateLinkMapOutput() PrivateLinkMapOutput
- func (o PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
- type PrivateLinkOutput
- func (o PrivateLinkOutput) AllowedPrincipals() pulumi.StringArrayOutput
- func (o PrivateLinkOutput) DatabaseId() pulumi.StringOutput
- func (o PrivateLinkOutput) DatacenterId() pulumi.StringOutput
- func (PrivateLinkOutput) ElementType() reflect.Type
- func (o PrivateLinkOutput) ServiceName() pulumi.StringOutput
- func (o PrivateLinkOutput) ToPrivateLinkOutput() PrivateLinkOutput
- func (o PrivateLinkOutput) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
- type PrivateLinkState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type Role
- type RoleArgs
- type RoleArray
- type RoleArrayInput
- type RoleArrayOutput
- type RoleInput
- type RoleMap
- type RoleMapInput
- type RoleMapOutput
- type RoleOutput
- func (o RoleOutput) Description() pulumi.StringOutput
- func (o RoleOutput) Effect() pulumi.StringOutput
- func (RoleOutput) ElementType() reflect.Type
- func (o RoleOutput) Policies() pulumi.StringArrayOutput
- func (o RoleOutput) Resources() pulumi.StringArrayOutput
- func (o RoleOutput) RoleId() pulumi.StringOutput
- func (o RoleOutput) RoleName() pulumi.StringOutput
- func (o RoleOutput) ToRoleOutput() RoleOutput
- func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput
- type RoleState
- type StreamingSink
- type StreamingSinkArgs
- type StreamingSinkArray
- type StreamingSinkArrayInput
- type StreamingSinkArrayOutput
- func (StreamingSinkArrayOutput) ElementType() reflect.Type
- func (o StreamingSinkArrayOutput) Index(i pulumi.IntInput) StreamingSinkOutput
- func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutput() StreamingSinkArrayOutput
- func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutputWithContext(ctx context.Context) StreamingSinkArrayOutput
- type StreamingSinkInput
- type StreamingSinkMap
- type StreamingSinkMapInput
- type StreamingSinkMapOutput
- func (StreamingSinkMapOutput) ElementType() reflect.Type
- func (o StreamingSinkMapOutput) MapIndex(k pulumi.StringInput) StreamingSinkOutput
- func (o StreamingSinkMapOutput) ToStreamingSinkMapOutput() StreamingSinkMapOutput
- func (o StreamingSinkMapOutput) ToStreamingSinkMapOutputWithContext(ctx context.Context) StreamingSinkMapOutput
- type StreamingSinkOutput
- func (o StreamingSinkOutput) AutoAck() pulumi.BoolOutput
- func (o StreamingSinkOutput) CloudProvider() pulumi.StringOutput
- func (o StreamingSinkOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (StreamingSinkOutput) ElementType() reflect.Type
- func (o StreamingSinkOutput) Namespace() pulumi.StringOutput
- func (o StreamingSinkOutput) Parallelism() pulumi.IntOutput
- func (o StreamingSinkOutput) ProcessingGuarantees() pulumi.StringOutput
- func (o StreamingSinkOutput) Region() pulumi.StringOutput
- func (o StreamingSinkOutput) RetainOrdering() pulumi.BoolOutput
- func (o StreamingSinkOutput) SinkConfigs() pulumi.StringOutput
- func (o StreamingSinkOutput) SinkName() pulumi.StringOutput
- func (o StreamingSinkOutput) TenantName() pulumi.StringOutput
- func (o StreamingSinkOutput) ToStreamingSinkOutput() StreamingSinkOutput
- func (o StreamingSinkOutput) ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput
- func (o StreamingSinkOutput) Topic() pulumi.StringOutput
- type StreamingSinkState
- type StreamingTenant
- type StreamingTenantArgs
- type StreamingTenantArray
- type StreamingTenantArrayInput
- type StreamingTenantArrayOutput
- func (StreamingTenantArrayOutput) ElementType() reflect.Type
- func (o StreamingTenantArrayOutput) Index(i pulumi.IntInput) StreamingTenantOutput
- func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutput() StreamingTenantArrayOutput
- func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutputWithContext(ctx context.Context) StreamingTenantArrayOutput
- type StreamingTenantInput
- type StreamingTenantMap
- type StreamingTenantMapInput
- type StreamingTenantMapOutput
- func (StreamingTenantMapOutput) ElementType() reflect.Type
- func (o StreamingTenantMapOutput) MapIndex(k pulumi.StringInput) StreamingTenantOutput
- func (o StreamingTenantMapOutput) ToStreamingTenantMapOutput() StreamingTenantMapOutput
- func (o StreamingTenantMapOutput) ToStreamingTenantMapOutputWithContext(ctx context.Context) StreamingTenantMapOutput
- type StreamingTenantOutput
- func (o StreamingTenantOutput) BrokerServiceUrl() pulumi.StringOutput
- func (o StreamingTenantOutput) CloudProvider() pulumi.StringOutput
- func (o StreamingTenantOutput) ClusterName() pulumi.StringOutput
- func (o StreamingTenantOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (StreamingTenantOutput) ElementType() reflect.Type
- func (o StreamingTenantOutput) Region() pulumi.StringOutput
- func (o StreamingTenantOutput) TenantId() pulumi.StringOutput
- func (o StreamingTenantOutput) TenantName() pulumi.StringOutput
- func (o StreamingTenantOutput) ToStreamingTenantOutput() StreamingTenantOutput
- func (o StreamingTenantOutput) ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput
- func (o StreamingTenantOutput) Topic() pulumi.StringOutput
- func (o StreamingTenantOutput) UserEmail() pulumi.StringOutput
- func (o StreamingTenantOutput) UserMetricsUrl() pulumi.StringOutput
- func (o StreamingTenantOutput) WebServiceUrl() pulumi.StringOutput
- func (o StreamingTenantOutput) WebSocketQueryParamUrl() pulumi.StringOutput
- func (o StreamingTenantOutput) WebSocketUrl() pulumi.StringOutput
- type StreamingTenantState
- type StreamingTopic
- type StreamingTopicArgs
- type StreamingTopicArray
- type StreamingTopicArrayInput
- type StreamingTopicArrayOutput
- func (StreamingTopicArrayOutput) ElementType() reflect.Type
- func (o StreamingTopicArrayOutput) Index(i pulumi.IntInput) StreamingTopicOutput
- func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutput() StreamingTopicArrayOutput
- func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutputWithContext(ctx context.Context) StreamingTopicArrayOutput
- type StreamingTopicInput
- type StreamingTopicMap
- type StreamingTopicMapInput
- type StreamingTopicMapOutput
- func (StreamingTopicMapOutput) ElementType() reflect.Type
- func (o StreamingTopicMapOutput) MapIndex(k pulumi.StringInput) StreamingTopicOutput
- func (o StreamingTopicMapOutput) ToStreamingTopicMapOutput() StreamingTopicMapOutput
- func (o StreamingTopicMapOutput) ToStreamingTopicMapOutputWithContext(ctx context.Context) StreamingTopicMapOutput
- type StreamingTopicOutput
- func (o StreamingTopicOutput) CloudProvider() pulumi.StringOutput
- func (o StreamingTopicOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (StreamingTopicOutput) ElementType() reflect.Type
- func (o StreamingTopicOutput) Namespace() pulumi.StringOutput
- func (o StreamingTopicOutput) Region() pulumi.StringOutput
- func (o StreamingTopicOutput) TenantName() pulumi.StringOutput
- func (o StreamingTopicOutput) ToStreamingTopicOutput() StreamingTopicOutput
- func (o StreamingTopicOutput) ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput
- func (o StreamingTopicOutput) Topic() pulumi.StringOutput
- type StreamingTopicState
- type Table
- type TableArgs
- type TableArray
- type TableArrayInput
- type TableArrayOutput
- type TableInput
- type TableMap
- type TableMapInput
- type TableMapOutput
- type TableOutput
- func (o TableOutput) ClusteringColumns() pulumi.StringOutput
- func (o TableOutput) ColumnDefinitions() pulumi.StringMapArrayOutput
- func (o TableOutput) DatabaseId() pulumi.StringOutput
- func (TableOutput) ElementType() reflect.Type
- func (o TableOutput) Keyspace() pulumi.StringOutput
- func (o TableOutput) PartitionKeys() pulumi.StringOutput
- func (o TableOutput) Region() pulumi.StringOutput
- func (o TableOutput) Table() pulumi.StringOutput
- func (o TableOutput) ToTableOutput() TableOutput
- func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
- type TableState
- type Token
- type TokenArgs
- type TokenArray
- type TokenArrayInput
- type TokenArrayOutput
- type TokenInput
- type TokenMap
- type TokenMapInput
- type TokenMapOutput
- type TokenOutput
- func (o TokenOutput) ClientId() pulumi.StringOutput
- func (TokenOutput) ElementType() reflect.Type
- func (o TokenOutput) Roles() pulumi.StringArrayOutput
- func (o TokenOutput) Secret() pulumi.StringOutput
- func (o TokenOutput) ToTokenOutput() TokenOutput
- func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
- func (o TokenOutput) Token() pulumi.StringOutput
- type TokenState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type AccessList ¶
type AccessList struct { pulumi.CustomResourceState // List of address requests that should have access to database endpoints. Addresses AccessListAddressArrayOutput `pulumi:"addresses"` // The ID of the Astra database. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Public access restrictions enabled or disabled Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` }
`AccessList` resource represents a database access list, used to limit the ip's / CIDR groups that have access to a database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewAccessList(ctx, "example", &astra.AccessListArgs{ Addresses: AccessListAddressArray{ &AccessListAddressArgs{ Address: pulumi.String("0.0.0.1/0"), Enabled: pulumi.Bool(true), }, &AccessListAddressArgs{ Address: pulumi.String("0.0.0.2/0"), Enabled: pulumi.Bool(true), }, &AccessListAddressArgs{ Address: pulumi.String("0.0.0.3/0"), Enabled: pulumi.Bool(true), }, }, DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
the import id should be the database_id. ¶
```sh
$ pulumi import astra:index/accessList:AccessList example a6bc9c26-e7ce-424f-84c7-0a00afb12588
```
func GetAccessList ¶
func GetAccessList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccessListState, opts ...pulumi.ResourceOption) (*AccessList, error)
GetAccessList gets an existing AccessList 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 NewAccessList ¶
func NewAccessList(ctx *pulumi.Context, name string, args *AccessListArgs, opts ...pulumi.ResourceOption) (*AccessList, error)
NewAccessList registers a new resource with the given unique name, arguments, and options.
func (*AccessList) ElementType ¶
func (*AccessList) ElementType() reflect.Type
func (*AccessList) ToAccessListOutput ¶
func (i *AccessList) ToAccessListOutput() AccessListOutput
func (*AccessList) ToAccessListOutputWithContext ¶
func (i *AccessList) ToAccessListOutputWithContext(ctx context.Context) AccessListOutput
type AccessListAddress ¶
type AccessListAddressArgs ¶
type AccessListAddressArgs struct { // IP Address/CIDR group that should have access Address pulumi.StringInput `pulumi:"address"` // Description for the IP Address/CIDR group Description pulumi.StringPtrInput `pulumi:"description"` // Enable/disable this IP Address/CIDR group's access Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (AccessListAddressArgs) ElementType ¶
func (AccessListAddressArgs) ElementType() reflect.Type
func (AccessListAddressArgs) ToAccessListAddressOutput ¶
func (i AccessListAddressArgs) ToAccessListAddressOutput() AccessListAddressOutput
func (AccessListAddressArgs) ToAccessListAddressOutputWithContext ¶
func (i AccessListAddressArgs) ToAccessListAddressOutputWithContext(ctx context.Context) AccessListAddressOutput
type AccessListAddressArray ¶
type AccessListAddressArray []AccessListAddressInput
func (AccessListAddressArray) ElementType ¶
func (AccessListAddressArray) ElementType() reflect.Type
func (AccessListAddressArray) ToAccessListAddressArrayOutput ¶
func (i AccessListAddressArray) ToAccessListAddressArrayOutput() AccessListAddressArrayOutput
func (AccessListAddressArray) ToAccessListAddressArrayOutputWithContext ¶
func (i AccessListAddressArray) ToAccessListAddressArrayOutputWithContext(ctx context.Context) AccessListAddressArrayOutput
type AccessListAddressArrayInput ¶
type AccessListAddressArrayInput interface { pulumi.Input ToAccessListAddressArrayOutput() AccessListAddressArrayOutput ToAccessListAddressArrayOutputWithContext(context.Context) AccessListAddressArrayOutput }
AccessListAddressArrayInput is an input type that accepts AccessListAddressArray and AccessListAddressArrayOutput values. You can construct a concrete instance of `AccessListAddressArrayInput` via:
AccessListAddressArray{ AccessListAddressArgs{...} }
type AccessListAddressArrayOutput ¶
type AccessListAddressArrayOutput struct{ *pulumi.OutputState }
func (AccessListAddressArrayOutput) ElementType ¶
func (AccessListAddressArrayOutput) ElementType() reflect.Type
func (AccessListAddressArrayOutput) Index ¶
func (o AccessListAddressArrayOutput) Index(i pulumi.IntInput) AccessListAddressOutput
func (AccessListAddressArrayOutput) ToAccessListAddressArrayOutput ¶
func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutput() AccessListAddressArrayOutput
func (AccessListAddressArrayOutput) ToAccessListAddressArrayOutputWithContext ¶
func (o AccessListAddressArrayOutput) ToAccessListAddressArrayOutputWithContext(ctx context.Context) AccessListAddressArrayOutput
type AccessListAddressInput ¶
type AccessListAddressInput interface { pulumi.Input ToAccessListAddressOutput() AccessListAddressOutput ToAccessListAddressOutputWithContext(context.Context) AccessListAddressOutput }
AccessListAddressInput is an input type that accepts AccessListAddressArgs and AccessListAddressOutput values. You can construct a concrete instance of `AccessListAddressInput` via:
AccessListAddressArgs{...}
type AccessListAddressOutput ¶
type AccessListAddressOutput struct{ *pulumi.OutputState }
func (AccessListAddressOutput) Address ¶
func (o AccessListAddressOutput) Address() pulumi.StringOutput
IP Address/CIDR group that should have access
func (AccessListAddressOutput) Description ¶
func (o AccessListAddressOutput) Description() pulumi.StringPtrOutput
Description for the IP Address/CIDR group
func (AccessListAddressOutput) ElementType ¶
func (AccessListAddressOutput) ElementType() reflect.Type
func (AccessListAddressOutput) Enabled ¶
func (o AccessListAddressOutput) Enabled() pulumi.BoolOutput
Enable/disable this IP Address/CIDR group's access
func (AccessListAddressOutput) ToAccessListAddressOutput ¶
func (o AccessListAddressOutput) ToAccessListAddressOutput() AccessListAddressOutput
func (AccessListAddressOutput) ToAccessListAddressOutputWithContext ¶
func (o AccessListAddressOutput) ToAccessListAddressOutputWithContext(ctx context.Context) AccessListAddressOutput
type AccessListArgs ¶
type AccessListArgs struct { // List of address requests that should have access to database endpoints. Addresses AccessListAddressArrayInput // The ID of the Astra database. DatabaseId pulumi.StringInput // Public access restrictions enabled or disabled Enabled pulumi.BoolPtrInput }
The set of arguments for constructing a AccessList resource.
func (AccessListArgs) ElementType ¶
func (AccessListArgs) ElementType() reflect.Type
type AccessListArray ¶
type AccessListArray []AccessListInput
func (AccessListArray) ElementType ¶
func (AccessListArray) ElementType() reflect.Type
func (AccessListArray) ToAccessListArrayOutput ¶
func (i AccessListArray) ToAccessListArrayOutput() AccessListArrayOutput
func (AccessListArray) ToAccessListArrayOutputWithContext ¶
func (i AccessListArray) ToAccessListArrayOutputWithContext(ctx context.Context) AccessListArrayOutput
type AccessListArrayInput ¶
type AccessListArrayInput interface { pulumi.Input ToAccessListArrayOutput() AccessListArrayOutput ToAccessListArrayOutputWithContext(context.Context) AccessListArrayOutput }
AccessListArrayInput is an input type that accepts AccessListArray and AccessListArrayOutput values. You can construct a concrete instance of `AccessListArrayInput` via:
AccessListArray{ AccessListArgs{...} }
type AccessListArrayOutput ¶
type AccessListArrayOutput struct{ *pulumi.OutputState }
func (AccessListArrayOutput) ElementType ¶
func (AccessListArrayOutput) ElementType() reflect.Type
func (AccessListArrayOutput) Index ¶
func (o AccessListArrayOutput) Index(i pulumi.IntInput) AccessListOutput
func (AccessListArrayOutput) ToAccessListArrayOutput ¶
func (o AccessListArrayOutput) ToAccessListArrayOutput() AccessListArrayOutput
func (AccessListArrayOutput) ToAccessListArrayOutputWithContext ¶
func (o AccessListArrayOutput) ToAccessListArrayOutputWithContext(ctx context.Context) AccessListArrayOutput
type AccessListInput ¶
type AccessListInput interface { pulumi.Input ToAccessListOutput() AccessListOutput ToAccessListOutputWithContext(ctx context.Context) AccessListOutput }
type AccessListMap ¶
type AccessListMap map[string]AccessListInput
func (AccessListMap) ElementType ¶
func (AccessListMap) ElementType() reflect.Type
func (AccessListMap) ToAccessListMapOutput ¶
func (i AccessListMap) ToAccessListMapOutput() AccessListMapOutput
func (AccessListMap) ToAccessListMapOutputWithContext ¶
func (i AccessListMap) ToAccessListMapOutputWithContext(ctx context.Context) AccessListMapOutput
type AccessListMapInput ¶
type AccessListMapInput interface { pulumi.Input ToAccessListMapOutput() AccessListMapOutput ToAccessListMapOutputWithContext(context.Context) AccessListMapOutput }
AccessListMapInput is an input type that accepts AccessListMap and AccessListMapOutput values. You can construct a concrete instance of `AccessListMapInput` via:
AccessListMap{ "key": AccessListArgs{...} }
type AccessListMapOutput ¶
type AccessListMapOutput struct{ *pulumi.OutputState }
func (AccessListMapOutput) ElementType ¶
func (AccessListMapOutput) ElementType() reflect.Type
func (AccessListMapOutput) MapIndex ¶
func (o AccessListMapOutput) MapIndex(k pulumi.StringInput) AccessListOutput
func (AccessListMapOutput) ToAccessListMapOutput ¶
func (o AccessListMapOutput) ToAccessListMapOutput() AccessListMapOutput
func (AccessListMapOutput) ToAccessListMapOutputWithContext ¶
func (o AccessListMapOutput) ToAccessListMapOutputWithContext(ctx context.Context) AccessListMapOutput
type AccessListOutput ¶
type AccessListOutput struct{ *pulumi.OutputState }
func (AccessListOutput) Addresses ¶
func (o AccessListOutput) Addresses() AccessListAddressArrayOutput
List of address requests that should have access to database endpoints.
func (AccessListOutput) DatabaseId ¶
func (o AccessListOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (AccessListOutput) ElementType ¶
func (AccessListOutput) ElementType() reflect.Type
func (AccessListOutput) Enabled ¶
func (o AccessListOutput) Enabled() pulumi.BoolPtrOutput
Public access restrictions enabled or disabled
func (AccessListOutput) ToAccessListOutput ¶
func (o AccessListOutput) ToAccessListOutput() AccessListOutput
func (AccessListOutput) ToAccessListOutputWithContext ¶
func (o AccessListOutput) ToAccessListOutputWithContext(ctx context.Context) AccessListOutput
type AccessListState ¶
type AccessListState struct { // List of address requests that should have access to database endpoints. Addresses AccessListAddressArrayInput // The ID of the Astra database. DatabaseId pulumi.StringPtrInput // Public access restrictions enabled or disabled Enabled pulumi.BoolPtrInput }
func (AccessListState) ElementType ¶
func (AccessListState) ElementType() reflect.Type
type Cdc ¶
type Cdc struct { pulumi.CustomResourceState // Connector Status ConnectorStatus pulumi.StringOutput `pulumi:"connectorStatus"` // Data topic name DataTopic pulumi.StringOutput `pulumi:"dataTopic"` // Astra database to create the keyspace. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Astra database name. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringOutput `pulumi:"keyspace"` // Astra database table. Table pulumi.StringOutput `pulumi:"table"` // Streaming tenant name TenantName pulumi.StringOutput `pulumi:"tenantName"` // Number of partitions in cdc topic. TopicPartitions pulumi.IntOutput `pulumi:"topicPartitions"` }
`Cdc` enables cdc for an Astra Serverless table.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewStreamingTenant(ctx, "streamingTenant-1", &astra.StreamingTenantArgs{ TenantName: pulumi.String("terraformtest"), Topic: pulumi.String("terraformtest"), Region: pulumi.String("useast-4"), CloudProvider: pulumi.String("gcp"), UserEmail: pulumi.String("seb@datastax.com"), }) if err != nil { return err } _, err = astra.NewCdc(ctx, "cdc-1", &astra.CdcArgs{ DatabaseId: pulumi.String("5b70892f-e01a-4595-98e6-19ecc9985d50"), DatabaseName: pulumi.String("sai_test"), Table: pulumi.String("test"), Keyspace: pulumi.String("sai_test"), TopicPartitions: pulumi.Int(3), TenantName: streamingTenant_1.TenantName, }, pulumi.DependsOn([]pulumi.Resource{ streamingTenant_1, })) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/cdc:Cdc example databaseId/keyspace/table/tenantName
```
func GetCdc ¶
func GetCdc(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CdcState, opts ...pulumi.ResourceOption) (*Cdc, error)
GetCdc gets an existing Cdc 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 NewCdc ¶
func NewCdc(ctx *pulumi.Context, name string, args *CdcArgs, opts ...pulumi.ResourceOption) (*Cdc, error)
NewCdc registers a new resource with the given unique name, arguments, and options.
func (*Cdc) ElementType ¶
func (*Cdc) ToCdcOutput ¶
type CdcArgs ¶
type CdcArgs struct { // Astra database to create the keyspace. DatabaseId pulumi.StringInput // Astra database name. DatabaseName pulumi.StringInput // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringInput // Astra database table. Table pulumi.StringInput // Streaming tenant name TenantName pulumi.StringInput // Number of partitions in cdc topic. TopicPartitions pulumi.IntInput }
The set of arguments for constructing a Cdc resource.
func (CdcArgs) ElementType ¶
type CdcArray ¶
type CdcArray []CdcInput
func (CdcArray) ElementType ¶
func (CdcArray) ToCdcArrayOutput ¶
func (i CdcArray) ToCdcArrayOutput() CdcArrayOutput
func (CdcArray) ToCdcArrayOutputWithContext ¶
func (i CdcArray) ToCdcArrayOutputWithContext(ctx context.Context) CdcArrayOutput
type CdcArrayInput ¶
type CdcArrayInput interface { pulumi.Input ToCdcArrayOutput() CdcArrayOutput ToCdcArrayOutputWithContext(context.Context) CdcArrayOutput }
CdcArrayInput is an input type that accepts CdcArray and CdcArrayOutput values. You can construct a concrete instance of `CdcArrayInput` via:
CdcArray{ CdcArgs{...} }
type CdcArrayOutput ¶
type CdcArrayOutput struct{ *pulumi.OutputState }
func (CdcArrayOutput) ElementType ¶
func (CdcArrayOutput) ElementType() reflect.Type
func (CdcArrayOutput) ToCdcArrayOutput ¶
func (o CdcArrayOutput) ToCdcArrayOutput() CdcArrayOutput
func (CdcArrayOutput) ToCdcArrayOutputWithContext ¶
func (o CdcArrayOutput) ToCdcArrayOutputWithContext(ctx context.Context) CdcArrayOutput
type CdcMap ¶
func (CdcMap) ElementType ¶
func (CdcMap) ToCdcMapOutput ¶
func (i CdcMap) ToCdcMapOutput() CdcMapOutput
func (CdcMap) ToCdcMapOutputWithContext ¶
func (i CdcMap) ToCdcMapOutputWithContext(ctx context.Context) CdcMapOutput
type CdcMapInput ¶
type CdcMapInput interface { pulumi.Input ToCdcMapOutput() CdcMapOutput ToCdcMapOutputWithContext(context.Context) CdcMapOutput }
CdcMapInput is an input type that accepts CdcMap and CdcMapOutput values. You can construct a concrete instance of `CdcMapInput` via:
CdcMap{ "key": CdcArgs{...} }
type CdcMapOutput ¶
type CdcMapOutput struct{ *pulumi.OutputState }
func (CdcMapOutput) ElementType ¶
func (CdcMapOutput) ElementType() reflect.Type
func (CdcMapOutput) MapIndex ¶
func (o CdcMapOutput) MapIndex(k pulumi.StringInput) CdcOutput
func (CdcMapOutput) ToCdcMapOutput ¶
func (o CdcMapOutput) ToCdcMapOutput() CdcMapOutput
func (CdcMapOutput) ToCdcMapOutputWithContext ¶
func (o CdcMapOutput) ToCdcMapOutputWithContext(ctx context.Context) CdcMapOutput
type CdcOutput ¶
type CdcOutput struct{ *pulumi.OutputState }
func (CdcOutput) ConnectorStatus ¶
func (o CdcOutput) ConnectorStatus() pulumi.StringOutput
Connector Status
func (CdcOutput) DatabaseId ¶
func (o CdcOutput) DatabaseId() pulumi.StringOutput
Astra database to create the keyspace.
func (CdcOutput) DatabaseName ¶
func (o CdcOutput) DatabaseName() pulumi.StringOutput
Astra database name.
func (CdcOutput) ElementType ¶
func (CdcOutput) Keyspace ¶
func (o CdcOutput) Keyspace() pulumi.StringOutput
Initial keyspace name. For additional keyspaces, use the Keyspace resource.
func (CdcOutput) TenantName ¶
func (o CdcOutput) TenantName() pulumi.StringOutput
Streaming tenant name
func (CdcOutput) ToCdcOutput ¶
func (CdcOutput) ToCdcOutputWithContext ¶
func (CdcOutput) TopicPartitions ¶
Number of partitions in cdc topic.
type CdcState ¶
type CdcState struct { // Connector Status ConnectorStatus pulumi.StringPtrInput // Data topic name DataTopic pulumi.StringPtrInput // Astra database to create the keyspace. DatabaseId pulumi.StringPtrInput // Astra database name. DatabaseName pulumi.StringPtrInput // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringPtrInput // Astra database table. Table pulumi.StringPtrInput // Streaming tenant name TenantName pulumi.StringPtrInput // Number of partitions in cdc topic. TopicPartitions pulumi.IntPtrInput }
func (CdcState) ElementType ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // Additional keyspaces AdditionalKeyspaces pulumi.StringArrayOutput `pulumi:"additionalKeyspaces"` // The cloud provider to launch the database. (Currently supported: aws, azure, gcp) CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"` // The cqlsh_url CqlshUrl pulumi.StringOutput `pulumi:"cqlshUrl"` // The data*endpoint*url DataEndpointUrl pulumi.StringOutput `pulumi:"dataEndpointUrl"` // Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4". Datacenters pulumi.StringMapOutput `pulumi:"datacenters"` // Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // The grafana_url GrafanaUrl pulumi.StringOutput `pulumi:"grafanaUrl"` // The graphql_url GraphqlUrl pulumi.StringOutput `pulumi:"graphqlUrl"` // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringOutput `pulumi:"keyspace"` // Astra database name. Name pulumi.StringOutput `pulumi:"name"` // The node_count NodeCount pulumi.IntOutput `pulumi:"nodeCount"` // The org id. OrganizationId pulumi.StringOutput `pulumi:"organizationId"` // The owner id. OwnerId pulumi.StringOutput `pulumi:"ownerId"` // Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions) Regions pulumi.StringArrayOutput `pulumi:"regions"` // The replication_factor ReplicationFactor pulumi.IntOutput `pulumi:"replicationFactor"` // The status Status pulumi.StringOutput `pulumi:"status"` // The total_storage TotalStorage pulumi.IntOutput `pulumi:"totalStorage"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewDatabase(ctx, "example", &astra.DatabaseArgs{ CloudProvider: pulumi.String("gcp"), Keyspace: pulumi.String("keyspace"), Regions: pulumi.StringArray{ pulumi.String("us-east1"), }, }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/database:Database example 48bfc13b-c1a5-48db-b70f-b6ef9709872b
```
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database 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 NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) ElementType ¶
func (*Database) ToDatabaseOutput ¶
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
type DatabaseArgs ¶
type DatabaseArgs struct { // The cloud provider to launch the database. (Currently supported: aws, azure, gcp) CloudProvider pulumi.StringInput // Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringInput // Astra database name. Name pulumi.StringPtrInput // Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions) Regions pulumi.StringArrayInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseInput ¶
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶
type DatabaseOutput struct{ *pulumi.OutputState }
func (DatabaseOutput) AdditionalKeyspaces ¶
func (o DatabaseOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
Additional keyspaces
func (DatabaseOutput) CloudProvider ¶
func (o DatabaseOutput) CloudProvider() pulumi.StringOutput
The cloud provider to launch the database. (Currently supported: aws, azure, gcp)
func (DatabaseOutput) CqlshUrl ¶
func (o DatabaseOutput) CqlshUrl() pulumi.StringOutput
The cqlsh_url
func (DatabaseOutput) DataEndpointUrl ¶
func (o DatabaseOutput) DataEndpointUrl() pulumi.StringOutput
The data*endpoint*url
func (DatabaseOutput) Datacenters ¶
func (o DatabaseOutput) Datacenters() pulumi.StringMapOutput
Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
func (DatabaseOutput) DeletionProtection ¶
func (o DatabaseOutput) DeletionProtection() pulumi.BoolPtrOutput
Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
func (DatabaseOutput) ElementType ¶
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) GrafanaUrl ¶
func (o DatabaseOutput) GrafanaUrl() pulumi.StringOutput
The grafana_url
func (DatabaseOutput) GraphqlUrl ¶
func (o DatabaseOutput) GraphqlUrl() pulumi.StringOutput
The graphql_url
func (DatabaseOutput) Keyspace ¶
func (o DatabaseOutput) Keyspace() pulumi.StringOutput
Initial keyspace name. For additional keyspaces, use the Keyspace resource.
func (DatabaseOutput) Name ¶
func (o DatabaseOutput) Name() pulumi.StringOutput
Astra database name.
func (DatabaseOutput) NodeCount ¶
func (o DatabaseOutput) NodeCount() pulumi.IntOutput
The node_count
func (DatabaseOutput) OrganizationId ¶
func (o DatabaseOutput) OrganizationId() pulumi.StringOutput
The org id.
func (DatabaseOutput) Regions ¶
func (o DatabaseOutput) Regions() pulumi.StringArrayOutput
Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions)
func (DatabaseOutput) ReplicationFactor ¶
func (o DatabaseOutput) ReplicationFactor() pulumi.IntOutput
The replication_factor
func (DatabaseOutput) ToDatabaseOutput ¶
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) TotalStorage ¶
func (o DatabaseOutput) TotalStorage() pulumi.IntOutput
The total_storage
type DatabaseState ¶
type DatabaseState struct { // Additional keyspaces AdditionalKeyspaces pulumi.StringArrayInput // The cloud provider to launch the database. (Currently supported: aws, azure, gcp) CloudProvider pulumi.StringPtrInput // The cqlsh_url CqlshUrl pulumi.StringPtrInput // The data*endpoint*url DataEndpointUrl pulumi.StringPtrInput // Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4". Datacenters pulumi.StringMapInput // Whether or not to allow Terraform to destroy the instance. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // The grafana_url GrafanaUrl pulumi.StringPtrInput // The graphql_url GraphqlUrl pulumi.StringPtrInput // Initial keyspace name. For additional keyspaces, use the Keyspace resource. Keyspace pulumi.StringPtrInput // Astra database name. Name pulumi.StringPtrInput // The node_count NodeCount pulumi.IntPtrInput // The org id. OrganizationId pulumi.StringPtrInput // The owner id. OwnerId pulumi.StringPtrInput // Cloud regions to launch the database. (see https://docs.datastax.com/en/astra/docs/database-regions.html for supported regions) Regions pulumi.StringArrayInput // The replication_factor ReplicationFactor pulumi.IntPtrInput // The status Status pulumi.StringPtrInput // The total_storage TotalStorage pulumi.IntPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type GetAccessListAddress ¶
type GetAccessListAddressArgs ¶
type GetAccessListAddressArgs struct { Address pulumi.StringInput `pulumi:"address"` Description pulumi.StringPtrInput `pulumi:"description"` // The Access list is enabled or disabled. Enabled pulumi.BoolInput `pulumi:"enabled"` }
func (GetAccessListAddressArgs) ElementType ¶
func (GetAccessListAddressArgs) ElementType() reflect.Type
func (GetAccessListAddressArgs) ToGetAccessListAddressOutput ¶
func (i GetAccessListAddressArgs) ToGetAccessListAddressOutput() GetAccessListAddressOutput
func (GetAccessListAddressArgs) ToGetAccessListAddressOutputWithContext ¶
func (i GetAccessListAddressArgs) ToGetAccessListAddressOutputWithContext(ctx context.Context) GetAccessListAddressOutput
type GetAccessListAddressArray ¶
type GetAccessListAddressArray []GetAccessListAddressInput
func (GetAccessListAddressArray) ElementType ¶
func (GetAccessListAddressArray) ElementType() reflect.Type
func (GetAccessListAddressArray) ToGetAccessListAddressArrayOutput ¶
func (i GetAccessListAddressArray) ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput
func (GetAccessListAddressArray) ToGetAccessListAddressArrayOutputWithContext ¶
func (i GetAccessListAddressArray) ToGetAccessListAddressArrayOutputWithContext(ctx context.Context) GetAccessListAddressArrayOutput
type GetAccessListAddressArrayInput ¶
type GetAccessListAddressArrayInput interface { pulumi.Input ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput ToGetAccessListAddressArrayOutputWithContext(context.Context) GetAccessListAddressArrayOutput }
GetAccessListAddressArrayInput is an input type that accepts GetAccessListAddressArray and GetAccessListAddressArrayOutput values. You can construct a concrete instance of `GetAccessListAddressArrayInput` via:
GetAccessListAddressArray{ GetAccessListAddressArgs{...} }
type GetAccessListAddressArrayOutput ¶
type GetAccessListAddressArrayOutput struct{ *pulumi.OutputState }
func (GetAccessListAddressArrayOutput) ElementType ¶
func (GetAccessListAddressArrayOutput) ElementType() reflect.Type
func (GetAccessListAddressArrayOutput) Index ¶
func (o GetAccessListAddressArrayOutput) Index(i pulumi.IntInput) GetAccessListAddressOutput
func (GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutput ¶
func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutput() GetAccessListAddressArrayOutput
func (GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutputWithContext ¶
func (o GetAccessListAddressArrayOutput) ToGetAccessListAddressArrayOutputWithContext(ctx context.Context) GetAccessListAddressArrayOutput
type GetAccessListAddressInput ¶
type GetAccessListAddressInput interface { pulumi.Input ToGetAccessListAddressOutput() GetAccessListAddressOutput ToGetAccessListAddressOutputWithContext(context.Context) GetAccessListAddressOutput }
GetAccessListAddressInput is an input type that accepts GetAccessListAddressArgs and GetAccessListAddressOutput values. You can construct a concrete instance of `GetAccessListAddressInput` via:
GetAccessListAddressArgs{...}
type GetAccessListAddressOutput ¶
type GetAccessListAddressOutput struct{ *pulumi.OutputState }
func (GetAccessListAddressOutput) Address ¶
func (o GetAccessListAddressOutput) Address() pulumi.StringOutput
func (GetAccessListAddressOutput) Description ¶
func (o GetAccessListAddressOutput) Description() pulumi.StringPtrOutput
func (GetAccessListAddressOutput) ElementType ¶
func (GetAccessListAddressOutput) ElementType() reflect.Type
func (GetAccessListAddressOutput) Enabled ¶
func (o GetAccessListAddressOutput) Enabled() pulumi.BoolOutput
The Access list is enabled or disabled.
func (GetAccessListAddressOutput) ToGetAccessListAddressOutput ¶
func (o GetAccessListAddressOutput) ToGetAccessListAddressOutput() GetAccessListAddressOutput
func (GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext ¶
func (o GetAccessListAddressOutput) ToGetAccessListAddressOutputWithContext(ctx context.Context) GetAccessListAddressOutput
type GetAstraDatabaseArgs ¶
type GetAstraDatabaseArgs struct { // Astra Database ID (system generated) DatabaseId string `pulumi:"databaseId"` }
A collection of arguments for invoking getAstraDatabase.
type GetAstraDatabaseOutputArgs ¶
type GetAstraDatabaseOutputArgs struct { // Astra Database ID (system generated) DatabaseId pulumi.StringInput `pulumi:"databaseId"` }
A collection of arguments for invoking getAstraDatabase.
func (GetAstraDatabaseOutputArgs) ElementType ¶
func (GetAstraDatabaseOutputArgs) ElementType() reflect.Type
type GetAstraDatabaseResult ¶
type GetAstraDatabaseResult struct { // Additional keyspaces AdditionalKeyspaces []string `pulumi:"additionalKeyspaces"` // Cloud provider (AWS, GCP, AZURE) CloudProvider string `pulumi:"cloudProvider"` // URL for cqlsh web CqlshUrl string `pulumi:"cqlshUrl"` // REST API URL DataEndpointUrl string `pulumi:"dataEndpointUrl"` // Astra Database ID (system generated) DatabaseId string `pulumi:"databaseId"` // Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4". Datacenters map[string]string `pulumi:"datacenters"` // URL for the grafana dashboard for this database GrafanaUrl string `pulumi:"grafanaUrl"` // Graphql URL GraphqlUrl string `pulumi:"graphqlUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Initial keyspace Keyspace string `pulumi:"keyspace"` // Database name (user provided) Name string `pulumi:"name"` // Node count (not relevant for serverless databases) NodeCount int `pulumi:"nodeCount"` // Ordg id (system generated) OrganizationId string `pulumi:"organizationId"` // Owner id (system generated) OwnerId string `pulumi:"ownerId"` // Cloud provider region. Get list of supported regions from regions data-source Regions []string `pulumi:"regions"` // Replication Factor (not relevant for serverless databases) ReplicationFactor int `pulumi:"replicationFactor"` // Database status Status string `pulumi:"status"` // Storage Capacity (not relevant for serverelss databases) TotalStorage int `pulumi:"totalStorage"` }
A collection of values returned by getAstraDatabase.
func GetAstraDatabase ¶
func GetAstraDatabase(ctx *pulumi.Context, args *GetAstraDatabaseArgs, opts ...pulumi.InvokeOption) (*GetAstraDatabaseResult, error)
`Database` provides a datasource for Astra an Astra database. This can be used to select an existing database within your Astra Organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.GetAstraDatabase(ctx, &GetAstraDatabaseArgs{ DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb", }, nil) if err != nil { return err } return nil }) }
```
type GetAstraDatabaseResultOutput ¶
type GetAstraDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAstraDatabase.
func GetAstraDatabaseOutput ¶
func GetAstraDatabaseOutput(ctx *pulumi.Context, args GetAstraDatabaseOutputArgs, opts ...pulumi.InvokeOption) GetAstraDatabaseResultOutput
func (GetAstraDatabaseResultOutput) AdditionalKeyspaces ¶
func (o GetAstraDatabaseResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
Additional keyspaces
func (GetAstraDatabaseResultOutput) CloudProvider ¶
func (o GetAstraDatabaseResultOutput) CloudProvider() pulumi.StringOutput
Cloud provider (AWS, GCP, AZURE)
func (GetAstraDatabaseResultOutput) CqlshUrl ¶
func (o GetAstraDatabaseResultOutput) CqlshUrl() pulumi.StringOutput
URL for cqlsh web
func (GetAstraDatabaseResultOutput) DataEndpointUrl ¶
func (o GetAstraDatabaseResultOutput) DataEndpointUrl() pulumi.StringOutput
REST API URL
func (GetAstraDatabaseResultOutput) DatabaseId ¶
func (o GetAstraDatabaseResultOutput) DatabaseId() pulumi.StringOutput
Astra Database ID (system generated)
func (GetAstraDatabaseResultOutput) Datacenters ¶
func (o GetAstraDatabaseResultOutput) Datacenters() pulumi.StringMapOutput
Map of Datacenter IDs. The map key is "cloud_provider.region". Example: "GCP.us-east4".
func (GetAstraDatabaseResultOutput) ElementType ¶
func (GetAstraDatabaseResultOutput) ElementType() reflect.Type
func (GetAstraDatabaseResultOutput) GrafanaUrl ¶
func (o GetAstraDatabaseResultOutput) GrafanaUrl() pulumi.StringOutput
URL for the grafana dashboard for this database
func (GetAstraDatabaseResultOutput) GraphqlUrl ¶
func (o GetAstraDatabaseResultOutput) GraphqlUrl() pulumi.StringOutput
Graphql URL
func (GetAstraDatabaseResultOutput) Id ¶
func (o GetAstraDatabaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAstraDatabaseResultOutput) Keyspace ¶
func (o GetAstraDatabaseResultOutput) Keyspace() pulumi.StringOutput
Initial keyspace
func (GetAstraDatabaseResultOutput) Name ¶
func (o GetAstraDatabaseResultOutput) Name() pulumi.StringOutput
Database name (user provided)
func (GetAstraDatabaseResultOutput) NodeCount ¶
func (o GetAstraDatabaseResultOutput) NodeCount() pulumi.IntOutput
Node count (not relevant for serverless databases)
func (GetAstraDatabaseResultOutput) OrganizationId ¶
func (o GetAstraDatabaseResultOutput) OrganizationId() pulumi.StringOutput
Ordg id (system generated)
func (GetAstraDatabaseResultOutput) OwnerId ¶
func (o GetAstraDatabaseResultOutput) OwnerId() pulumi.StringOutput
Owner id (system generated)
func (GetAstraDatabaseResultOutput) Regions ¶
func (o GetAstraDatabaseResultOutput) Regions() pulumi.StringArrayOutput
Cloud provider region. Get list of supported regions from regions data-source
func (GetAstraDatabaseResultOutput) ReplicationFactor ¶
func (o GetAstraDatabaseResultOutput) ReplicationFactor() pulumi.IntOutput
Replication Factor (not relevant for serverless databases)
func (GetAstraDatabaseResultOutput) Status ¶
func (o GetAstraDatabaseResultOutput) Status() pulumi.StringOutput
Database status
func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput ¶
func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutput() GetAstraDatabaseResultOutput
func (GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext ¶
func (o GetAstraDatabaseResultOutput) ToGetAstraDatabaseResultOutputWithContext(ctx context.Context) GetAstraDatabaseResultOutput
func (GetAstraDatabaseResultOutput) TotalStorage ¶
func (o GetAstraDatabaseResultOutput) TotalStorage() pulumi.IntOutput
Storage Capacity (not relevant for serverelss databases)
type GetAstraDatabasesResult ¶
type GetAstraDatabasesResult struct { AdditionalKeyspaces []string `pulumi:"additionalKeyspaces"` // The cloud provider CloudProvider string `pulumi:"cloudProvider"` CqlshUrl string `pulumi:"cqlshUrl"` DataEndpointUrl string `pulumi:"dataEndpointUrl"` Datacenters map[string]string `pulumi:"datacenters"` GrafanaUrl string `pulumi:"grafanaUrl"` GraphqlUrl string `pulumi:"graphqlUrl"` // The ID of this resource. Id string `pulumi:"id"` Keyspace string `pulumi:"keyspace"` Name string `pulumi:"name"` NodeCount int `pulumi:"nodeCount"` OrganizationId string `pulumi:"organizationId"` OwnerId string `pulumi:"ownerId"` Regions []string `pulumi:"regions"` ReplicationFactor int `pulumi:"replicationFactor"` // Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements Status string `pulumi:"status"` TotalStorage int `pulumi:"totalStorage"` }
type GetAstraDatabasesResultArgs ¶
type GetAstraDatabasesResultArgs struct { AdditionalKeyspaces pulumi.StringArrayInput `pulumi:"additionalKeyspaces"` // The cloud provider CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` CqlshUrl pulumi.StringInput `pulumi:"cqlshUrl"` DataEndpointUrl pulumi.StringInput `pulumi:"dataEndpointUrl"` Datacenters pulumi.StringMapInput `pulumi:"datacenters"` GrafanaUrl pulumi.StringInput `pulumi:"grafanaUrl"` GraphqlUrl pulumi.StringInput `pulumi:"graphqlUrl"` // The ID of this resource. Id pulumi.StringInput `pulumi:"id"` Keyspace pulumi.StringInput `pulumi:"keyspace"` Name pulumi.StringInput `pulumi:"name"` NodeCount pulumi.IntInput `pulumi:"nodeCount"` OrganizationId pulumi.StringInput `pulumi:"organizationId"` OwnerId pulumi.StringInput `pulumi:"ownerId"` Regions pulumi.StringArrayInput `pulumi:"regions"` ReplicationFactor pulumi.IntInput `pulumi:"replicationFactor"` // Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements Status pulumi.StringInput `pulumi:"status"` TotalStorage pulumi.IntInput `pulumi:"totalStorage"` }
func (GetAstraDatabasesResultArgs) ElementType ¶
func (GetAstraDatabasesResultArgs) ElementType() reflect.Type
func (GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutput ¶
func (i GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput
func (GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutputWithContext ¶
func (i GetAstraDatabasesResultArgs) ToGetAstraDatabasesResultOutputWithContext(ctx context.Context) GetAstraDatabasesResultOutput
type GetAstraDatabasesResultArray ¶
type GetAstraDatabasesResultArray []GetAstraDatabasesResultInput
func (GetAstraDatabasesResultArray) ElementType ¶
func (GetAstraDatabasesResultArray) ElementType() reflect.Type
func (GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutput ¶
func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput
func (GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutputWithContext ¶
func (i GetAstraDatabasesResultArray) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput
type GetAstraDatabasesResultArrayInput ¶
type GetAstraDatabasesResultArrayInput interface { pulumi.Input ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput ToGetAstraDatabasesResultArrayOutputWithContext(context.Context) GetAstraDatabasesResultArrayOutput }
GetAstraDatabasesResultArrayInput is an input type that accepts GetAstraDatabasesResultArray and GetAstraDatabasesResultArrayOutput values. You can construct a concrete instance of `GetAstraDatabasesResultArrayInput` via:
GetAstraDatabasesResultArray{ GetAstraDatabasesResultArgs{...} }
type GetAstraDatabasesResultArrayOutput ¶
type GetAstraDatabasesResultArrayOutput struct{ *pulumi.OutputState }
func (GetAstraDatabasesResultArrayOutput) ElementType ¶
func (GetAstraDatabasesResultArrayOutput) ElementType() reflect.Type
func (GetAstraDatabasesResultArrayOutput) Index ¶
func (o GetAstraDatabasesResultArrayOutput) Index(i pulumi.IntInput) GetAstraDatabasesResultOutput
func (GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutput ¶
func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutput() GetAstraDatabasesResultArrayOutput
func (GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutputWithContext ¶
func (o GetAstraDatabasesResultArrayOutput) ToGetAstraDatabasesResultArrayOutputWithContext(ctx context.Context) GetAstraDatabasesResultArrayOutput
type GetAstraDatabasesResultInput ¶
type GetAstraDatabasesResultInput interface { pulumi.Input ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput ToGetAstraDatabasesResultOutputWithContext(context.Context) GetAstraDatabasesResultOutput }
GetAstraDatabasesResultInput is an input type that accepts GetAstraDatabasesResultArgs and GetAstraDatabasesResultOutput values. You can construct a concrete instance of `GetAstraDatabasesResultInput` via:
GetAstraDatabasesResultArgs{...}
type GetAstraDatabasesResultOutput ¶
type GetAstraDatabasesResultOutput struct{ *pulumi.OutputState }
func (GetAstraDatabasesResultOutput) AdditionalKeyspaces ¶
func (o GetAstraDatabasesResultOutput) AdditionalKeyspaces() pulumi.StringArrayOutput
func (GetAstraDatabasesResultOutput) CloudProvider ¶
func (o GetAstraDatabasesResultOutput) CloudProvider() pulumi.StringOutput
The cloud provider
func (GetAstraDatabasesResultOutput) CqlshUrl ¶
func (o GetAstraDatabasesResultOutput) CqlshUrl() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) DataEndpointUrl ¶
func (o GetAstraDatabasesResultOutput) DataEndpointUrl() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) Datacenters ¶
func (o GetAstraDatabasesResultOutput) Datacenters() pulumi.StringMapOutput
func (GetAstraDatabasesResultOutput) ElementType ¶
func (GetAstraDatabasesResultOutput) ElementType() reflect.Type
func (GetAstraDatabasesResultOutput) GrafanaUrl ¶
func (o GetAstraDatabasesResultOutput) GrafanaUrl() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) GraphqlUrl ¶
func (o GetAstraDatabasesResultOutput) GraphqlUrl() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) Id ¶
func (o GetAstraDatabasesResultOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetAstraDatabasesResultOutput) Keyspace ¶
func (o GetAstraDatabasesResultOutput) Keyspace() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) Name ¶
func (o GetAstraDatabasesResultOutput) Name() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) NodeCount ¶
func (o GetAstraDatabasesResultOutput) NodeCount() pulumi.IntOutput
func (GetAstraDatabasesResultOutput) OrganizationId ¶
func (o GetAstraDatabasesResultOutput) OrganizationId() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) OwnerId ¶
func (o GetAstraDatabasesResultOutput) OwnerId() pulumi.StringOutput
func (GetAstraDatabasesResultOutput) Regions ¶
func (o GetAstraDatabasesResultOutput) Regions() pulumi.StringArrayOutput
func (GetAstraDatabasesResultOutput) ReplicationFactor ¶
func (o GetAstraDatabasesResultOutput) ReplicationFactor() pulumi.IntOutput
func (GetAstraDatabasesResultOutput) Status ¶
func (o GetAstraDatabasesResultOutput) Status() pulumi.StringOutput
Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
func (GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutput ¶
func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutput() GetAstraDatabasesResultOutput
func (GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutputWithContext ¶
func (o GetAstraDatabasesResultOutput) ToGetAstraDatabasesResultOutputWithContext(ctx context.Context) GetAstraDatabasesResultOutput
func (GetAstraDatabasesResultOutput) TotalStorage ¶
func (o GetAstraDatabasesResultOutput) TotalStorage() pulumi.IntOutput
type GetAvailableRegionsResultArgs ¶
type GetAvailableRegionsResultArgs struct { CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` DisplayName pulumi.StringInput `pulumi:"displayName"` Region pulumi.StringInput `pulumi:"region"` Zone pulumi.StringInput `pulumi:"zone"` }
func (GetAvailableRegionsResultArgs) ElementType ¶
func (GetAvailableRegionsResultArgs) ElementType() reflect.Type
func (GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutput ¶
func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput
func (GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutputWithContext ¶
func (i GetAvailableRegionsResultArgs) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput
type GetAvailableRegionsResultArray ¶
type GetAvailableRegionsResultArray []GetAvailableRegionsResultInput
func (GetAvailableRegionsResultArray) ElementType ¶
func (GetAvailableRegionsResultArray) ElementType() reflect.Type
func (GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutput ¶
func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput
func (GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutputWithContext ¶
func (i GetAvailableRegionsResultArray) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput
type GetAvailableRegionsResultArrayInput ¶
type GetAvailableRegionsResultArrayInput interface { pulumi.Input ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput ToGetAvailableRegionsResultArrayOutputWithContext(context.Context) GetAvailableRegionsResultArrayOutput }
GetAvailableRegionsResultArrayInput is an input type that accepts GetAvailableRegionsResultArray and GetAvailableRegionsResultArrayOutput values. You can construct a concrete instance of `GetAvailableRegionsResultArrayInput` via:
GetAvailableRegionsResultArray{ GetAvailableRegionsResultArgs{...} }
type GetAvailableRegionsResultArrayOutput ¶
type GetAvailableRegionsResultArrayOutput struct{ *pulumi.OutputState }
func (GetAvailableRegionsResultArrayOutput) ElementType ¶
func (GetAvailableRegionsResultArrayOutput) ElementType() reflect.Type
func (GetAvailableRegionsResultArrayOutput) Index ¶
func (o GetAvailableRegionsResultArrayOutput) Index(i pulumi.IntInput) GetAvailableRegionsResultOutput
func (GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutput ¶
func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutput() GetAvailableRegionsResultArrayOutput
func (GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutputWithContext ¶
func (o GetAvailableRegionsResultArrayOutput) ToGetAvailableRegionsResultArrayOutputWithContext(ctx context.Context) GetAvailableRegionsResultArrayOutput
type GetAvailableRegionsResultInput ¶
type GetAvailableRegionsResultInput interface { pulumi.Input ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput ToGetAvailableRegionsResultOutputWithContext(context.Context) GetAvailableRegionsResultOutput }
GetAvailableRegionsResultInput is an input type that accepts GetAvailableRegionsResultArgs and GetAvailableRegionsResultOutput values. You can construct a concrete instance of `GetAvailableRegionsResultInput` via:
GetAvailableRegionsResultArgs{...}
type GetAvailableRegionsResultOutput ¶
type GetAvailableRegionsResultOutput struct{ *pulumi.OutputState }
func (GetAvailableRegionsResultOutput) CloudProvider ¶
func (o GetAvailableRegionsResultOutput) CloudProvider() pulumi.StringOutput
func (GetAvailableRegionsResultOutput) DisplayName ¶
func (o GetAvailableRegionsResultOutput) DisplayName() pulumi.StringOutput
func (GetAvailableRegionsResultOutput) ElementType ¶
func (GetAvailableRegionsResultOutput) ElementType() reflect.Type
func (GetAvailableRegionsResultOutput) Region ¶
func (o GetAvailableRegionsResultOutput) Region() pulumi.StringOutput
func (GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutput ¶
func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutput() GetAvailableRegionsResultOutput
func (GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutputWithContext ¶
func (o GetAvailableRegionsResultOutput) ToGetAvailableRegionsResultOutputWithContext(ctx context.Context) GetAvailableRegionsResultOutput
func (GetAvailableRegionsResultOutput) Zone ¶
func (o GetAvailableRegionsResultOutput) Zone() pulumi.StringOutput
type GetKeyspacesResult ¶
type GetKeyspacesResult struct {
Name string `pulumi:"name"`
}
type GetKeyspacesResultArgs ¶
type GetKeyspacesResultArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
func (GetKeyspacesResultArgs) ElementType ¶
func (GetKeyspacesResultArgs) ElementType() reflect.Type
func (GetKeyspacesResultArgs) ToGetKeyspacesResultOutput ¶
func (i GetKeyspacesResultArgs) ToGetKeyspacesResultOutput() GetKeyspacesResultOutput
func (GetKeyspacesResultArgs) ToGetKeyspacesResultOutputWithContext ¶
func (i GetKeyspacesResultArgs) ToGetKeyspacesResultOutputWithContext(ctx context.Context) GetKeyspacesResultOutput
type GetKeyspacesResultArray ¶
type GetKeyspacesResultArray []GetKeyspacesResultInput
func (GetKeyspacesResultArray) ElementType ¶
func (GetKeyspacesResultArray) ElementType() reflect.Type
func (GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutput ¶
func (i GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput
func (GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutputWithContext ¶
func (i GetKeyspacesResultArray) ToGetKeyspacesResultArrayOutputWithContext(ctx context.Context) GetKeyspacesResultArrayOutput
type GetKeyspacesResultArrayInput ¶
type GetKeyspacesResultArrayInput interface { pulumi.Input ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput ToGetKeyspacesResultArrayOutputWithContext(context.Context) GetKeyspacesResultArrayOutput }
GetKeyspacesResultArrayInput is an input type that accepts GetKeyspacesResultArray and GetKeyspacesResultArrayOutput values. You can construct a concrete instance of `GetKeyspacesResultArrayInput` via:
GetKeyspacesResultArray{ GetKeyspacesResultArgs{...} }
type GetKeyspacesResultArrayOutput ¶
type GetKeyspacesResultArrayOutput struct{ *pulumi.OutputState }
func (GetKeyspacesResultArrayOutput) ElementType ¶
func (GetKeyspacesResultArrayOutput) ElementType() reflect.Type
func (GetKeyspacesResultArrayOutput) Index ¶
func (o GetKeyspacesResultArrayOutput) Index(i pulumi.IntInput) GetKeyspacesResultOutput
func (GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutput ¶
func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutput() GetKeyspacesResultArrayOutput
func (GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutputWithContext ¶
func (o GetKeyspacesResultArrayOutput) ToGetKeyspacesResultArrayOutputWithContext(ctx context.Context) GetKeyspacesResultArrayOutput
type GetKeyspacesResultInput ¶
type GetKeyspacesResultInput interface { pulumi.Input ToGetKeyspacesResultOutput() GetKeyspacesResultOutput ToGetKeyspacesResultOutputWithContext(context.Context) GetKeyspacesResultOutput }
GetKeyspacesResultInput is an input type that accepts GetKeyspacesResultArgs and GetKeyspacesResultOutput values. You can construct a concrete instance of `GetKeyspacesResultInput` via:
GetKeyspacesResultArgs{...}
type GetKeyspacesResultOutput ¶
type GetKeyspacesResultOutput struct{ *pulumi.OutputState }
func (GetKeyspacesResultOutput) ElementType ¶
func (GetKeyspacesResultOutput) ElementType() reflect.Type
func (GetKeyspacesResultOutput) Name ¶
func (o GetKeyspacesResultOutput) Name() pulumi.StringOutput
func (GetKeyspacesResultOutput) ToGetKeyspacesResultOutput ¶
func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutput() GetKeyspacesResultOutput
func (GetKeyspacesResultOutput) ToGetKeyspacesResultOutputWithContext ¶
func (o GetKeyspacesResultOutput) ToGetKeyspacesResultOutputWithContext(ctx context.Context) GetKeyspacesResultOutput
type GetPrivateLinkEndpointsResultArgs ¶
type GetPrivateLinkEndpointsResultArgs struct { CreateTime pulumi.StringInput `pulumi:"createTime"` Description pulumi.StringInput `pulumi:"description"` // Endpoint ID. EndpointId pulumi.StringInput `pulumi:"endpointId"` Status pulumi.StringInput `pulumi:"status"` }
func (GetPrivateLinkEndpointsResultArgs) ElementType ¶
func (GetPrivateLinkEndpointsResultArgs) ElementType() reflect.Type
func (GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutput ¶
func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput
func (GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutputWithContext ¶
func (i GetPrivateLinkEndpointsResultArgs) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput
type GetPrivateLinkEndpointsResultArray ¶
type GetPrivateLinkEndpointsResultArray []GetPrivateLinkEndpointsResultInput
func (GetPrivateLinkEndpointsResultArray) ElementType ¶
func (GetPrivateLinkEndpointsResultArray) ElementType() reflect.Type
func (GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutput ¶
func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput
func (GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutputWithContext ¶
func (i GetPrivateLinkEndpointsResultArray) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput
type GetPrivateLinkEndpointsResultArrayInput ¶
type GetPrivateLinkEndpointsResultArrayInput interface { pulumi.Input ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput ToGetPrivateLinkEndpointsResultArrayOutputWithContext(context.Context) GetPrivateLinkEndpointsResultArrayOutput }
GetPrivateLinkEndpointsResultArrayInput is an input type that accepts GetPrivateLinkEndpointsResultArray and GetPrivateLinkEndpointsResultArrayOutput values. You can construct a concrete instance of `GetPrivateLinkEndpointsResultArrayInput` via:
GetPrivateLinkEndpointsResultArray{ GetPrivateLinkEndpointsResultArgs{...} }
type GetPrivateLinkEndpointsResultArrayOutput ¶
type GetPrivateLinkEndpointsResultArrayOutput struct{ *pulumi.OutputState }
func (GetPrivateLinkEndpointsResultArrayOutput) ElementType ¶
func (GetPrivateLinkEndpointsResultArrayOutput) ElementType() reflect.Type
func (GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutput ¶
func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutput() GetPrivateLinkEndpointsResultArrayOutput
func (GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutputWithContext ¶
func (o GetPrivateLinkEndpointsResultArrayOutput) ToGetPrivateLinkEndpointsResultArrayOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultArrayOutput
type GetPrivateLinkEndpointsResultInput ¶
type GetPrivateLinkEndpointsResultInput interface { pulumi.Input ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput ToGetPrivateLinkEndpointsResultOutputWithContext(context.Context) GetPrivateLinkEndpointsResultOutput }
GetPrivateLinkEndpointsResultInput is an input type that accepts GetPrivateLinkEndpointsResultArgs and GetPrivateLinkEndpointsResultOutput values. You can construct a concrete instance of `GetPrivateLinkEndpointsResultInput` via:
GetPrivateLinkEndpointsResultArgs{...}
type GetPrivateLinkEndpointsResultOutput ¶
type GetPrivateLinkEndpointsResultOutput struct{ *pulumi.OutputState }
func (GetPrivateLinkEndpointsResultOutput) CreateTime ¶
func (o GetPrivateLinkEndpointsResultOutput) CreateTime() pulumi.StringOutput
func (GetPrivateLinkEndpointsResultOutput) Description ¶
func (o GetPrivateLinkEndpointsResultOutput) Description() pulumi.StringOutput
func (GetPrivateLinkEndpointsResultOutput) ElementType ¶
func (GetPrivateLinkEndpointsResultOutput) ElementType() reflect.Type
func (GetPrivateLinkEndpointsResultOutput) EndpointId ¶
func (o GetPrivateLinkEndpointsResultOutput) EndpointId() pulumi.StringOutput
Endpoint ID.
func (GetPrivateLinkEndpointsResultOutput) Status ¶
func (o GetPrivateLinkEndpointsResultOutput) Status() pulumi.StringOutput
func (GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutput ¶
func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutput() GetPrivateLinkEndpointsResultOutput
func (GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutputWithContext ¶
func (o GetPrivateLinkEndpointsResultOutput) ToGetPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) GetPrivateLinkEndpointsResultOutput
type GetPrivateLinksResult ¶
type GetPrivateLinksResultArgs ¶
type GetPrivateLinksResultArgs struct { AllowedPrincipals pulumi.StringArrayInput `pulumi:"allowedPrincipals"` // The datacenter where of the Astra database. DatacenterId pulumi.StringInput `pulumi:"datacenterId"` Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` ServiceName pulumi.StringInput `pulumi:"serviceName"` }
func (GetPrivateLinksResultArgs) ElementType ¶
func (GetPrivateLinksResultArgs) ElementType() reflect.Type
func (GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutput ¶
func (i GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput
func (GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutputWithContext ¶
func (i GetPrivateLinksResultArgs) ToGetPrivateLinksResultOutputWithContext(ctx context.Context) GetPrivateLinksResultOutput
type GetPrivateLinksResultArray ¶
type GetPrivateLinksResultArray []GetPrivateLinksResultInput
func (GetPrivateLinksResultArray) ElementType ¶
func (GetPrivateLinksResultArray) ElementType() reflect.Type
func (GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutput ¶
func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput
func (GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutputWithContext ¶
func (i GetPrivateLinksResultArray) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput
type GetPrivateLinksResultArrayInput ¶
type GetPrivateLinksResultArrayInput interface { pulumi.Input ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput ToGetPrivateLinksResultArrayOutputWithContext(context.Context) GetPrivateLinksResultArrayOutput }
GetPrivateLinksResultArrayInput is an input type that accepts GetPrivateLinksResultArray and GetPrivateLinksResultArrayOutput values. You can construct a concrete instance of `GetPrivateLinksResultArrayInput` via:
GetPrivateLinksResultArray{ GetPrivateLinksResultArgs{...} }
type GetPrivateLinksResultArrayOutput ¶
type GetPrivateLinksResultArrayOutput struct{ *pulumi.OutputState }
func (GetPrivateLinksResultArrayOutput) ElementType ¶
func (GetPrivateLinksResultArrayOutput) ElementType() reflect.Type
func (GetPrivateLinksResultArrayOutput) Index ¶
func (o GetPrivateLinksResultArrayOutput) Index(i pulumi.IntInput) GetPrivateLinksResultOutput
func (GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutput ¶
func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutput() GetPrivateLinksResultArrayOutput
func (GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutputWithContext ¶
func (o GetPrivateLinksResultArrayOutput) ToGetPrivateLinksResultArrayOutputWithContext(ctx context.Context) GetPrivateLinksResultArrayOutput
type GetPrivateLinksResultInput ¶
type GetPrivateLinksResultInput interface { pulumi.Input ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput ToGetPrivateLinksResultOutputWithContext(context.Context) GetPrivateLinksResultOutput }
GetPrivateLinksResultInput is an input type that accepts GetPrivateLinksResultArgs and GetPrivateLinksResultOutput values. You can construct a concrete instance of `GetPrivateLinksResultInput` via:
GetPrivateLinksResultArgs{...}
type GetPrivateLinksResultOutput ¶
type GetPrivateLinksResultOutput struct{ *pulumi.OutputState }
func (GetPrivateLinksResultOutput) AllowedPrincipals ¶
func (o GetPrivateLinksResultOutput) AllowedPrincipals() pulumi.StringArrayOutput
func (GetPrivateLinksResultOutput) DatacenterId ¶
func (o GetPrivateLinksResultOutput) DatacenterId() pulumi.StringOutput
The datacenter where of the Astra database.
func (GetPrivateLinksResultOutput) ElementType ¶
func (GetPrivateLinksResultOutput) ElementType() reflect.Type
func (GetPrivateLinksResultOutput) Endpoints ¶
func (o GetPrivateLinksResultOutput) Endpoints() pulumi.StringArrayOutput
func (GetPrivateLinksResultOutput) ServiceName ¶
func (o GetPrivateLinksResultOutput) ServiceName() pulumi.StringOutput
func (GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutput ¶
func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutput() GetPrivateLinksResultOutput
func (GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutputWithContext ¶
func (o GetPrivateLinksResultOutput) ToGetPrivateLinksResultOutputWithContext(ctx context.Context) GetPrivateLinksResultOutput
type GetRolesResult ¶
type GetRolesResultArgs ¶
type GetRolesResultArgs struct { Description pulumi.StringInput `pulumi:"description"` Effect pulumi.StringInput `pulumi:"effect"` Policies pulumi.StringArrayInput `pulumi:"policies"` Resources pulumi.StringArrayInput `pulumi:"resources"` RoleId pulumi.StringInput `pulumi:"roleId"` RoleName pulumi.StringInput `pulumi:"roleName"` }
func (GetRolesResultArgs) ElementType ¶
func (GetRolesResultArgs) ElementType() reflect.Type
func (GetRolesResultArgs) ToGetRolesResultOutput ¶
func (i GetRolesResultArgs) ToGetRolesResultOutput() GetRolesResultOutput
func (GetRolesResultArgs) ToGetRolesResultOutputWithContext ¶
func (i GetRolesResultArgs) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput
type GetRolesResultArray ¶
type GetRolesResultArray []GetRolesResultInput
func (GetRolesResultArray) ElementType ¶
func (GetRolesResultArray) ElementType() reflect.Type
func (GetRolesResultArray) ToGetRolesResultArrayOutput ¶
func (i GetRolesResultArray) ToGetRolesResultArrayOutput() GetRolesResultArrayOutput
func (GetRolesResultArray) ToGetRolesResultArrayOutputWithContext ¶
func (i GetRolesResultArray) ToGetRolesResultArrayOutputWithContext(ctx context.Context) GetRolesResultArrayOutput
type GetRolesResultArrayInput ¶
type GetRolesResultArrayInput interface { pulumi.Input ToGetRolesResultArrayOutput() GetRolesResultArrayOutput ToGetRolesResultArrayOutputWithContext(context.Context) GetRolesResultArrayOutput }
GetRolesResultArrayInput is an input type that accepts GetRolesResultArray and GetRolesResultArrayOutput values. You can construct a concrete instance of `GetRolesResultArrayInput` via:
GetRolesResultArray{ GetRolesResultArgs{...} }
type GetRolesResultArrayOutput ¶
type GetRolesResultArrayOutput struct{ *pulumi.OutputState }
func (GetRolesResultArrayOutput) ElementType ¶
func (GetRolesResultArrayOutput) ElementType() reflect.Type
func (GetRolesResultArrayOutput) Index ¶
func (o GetRolesResultArrayOutput) Index(i pulumi.IntInput) GetRolesResultOutput
func (GetRolesResultArrayOutput) ToGetRolesResultArrayOutput ¶
func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutput() GetRolesResultArrayOutput
func (GetRolesResultArrayOutput) ToGetRolesResultArrayOutputWithContext ¶
func (o GetRolesResultArrayOutput) ToGetRolesResultArrayOutputWithContext(ctx context.Context) GetRolesResultArrayOutput
type GetRolesResultInput ¶
type GetRolesResultInput interface { pulumi.Input ToGetRolesResultOutput() GetRolesResultOutput ToGetRolesResultOutputWithContext(context.Context) GetRolesResultOutput }
GetRolesResultInput is an input type that accepts GetRolesResultArgs and GetRolesResultOutput values. You can construct a concrete instance of `GetRolesResultInput` via:
GetRolesResultArgs{...}
type GetRolesResultOutput ¶
type GetRolesResultOutput struct{ *pulumi.OutputState }
func (GetRolesResultOutput) Description ¶
func (o GetRolesResultOutput) Description() pulumi.StringOutput
func (GetRolesResultOutput) Effect ¶
func (o GetRolesResultOutput) Effect() pulumi.StringOutput
func (GetRolesResultOutput) ElementType ¶
func (GetRolesResultOutput) ElementType() reflect.Type
func (GetRolesResultOutput) Policies ¶
func (o GetRolesResultOutput) Policies() pulumi.StringArrayOutput
func (GetRolesResultOutput) Resources ¶
func (o GetRolesResultOutput) Resources() pulumi.StringArrayOutput
func (GetRolesResultOutput) RoleId ¶
func (o GetRolesResultOutput) RoleId() pulumi.StringOutput
func (GetRolesResultOutput) RoleName ¶
func (o GetRolesResultOutput) RoleName() pulumi.StringOutput
func (GetRolesResultOutput) ToGetRolesResultOutput ¶
func (o GetRolesResultOutput) ToGetRolesResultOutput() GetRolesResultOutput
func (GetRolesResultOutput) ToGetRolesResultOutputWithContext ¶
func (o GetRolesResultOutput) ToGetRolesResultOutputWithContext(ctx context.Context) GetRolesResultOutput
type GetSecureConnectBundleUrlArgs ¶
type GetSecureConnectBundleUrlArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The ID of the Astra datacenter. If omitted, all bundles will be fetched. DatacenterId *string `pulumi:"datacenterId"` }
A collection of arguments for invoking getSecureConnectBundleUrl.
type GetSecureConnectBundleUrlOutputArgs ¶
type GetSecureConnectBundleUrlOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` // The ID of the Astra datacenter. If omitted, all bundles will be fetched. DatacenterId pulumi.StringPtrInput `pulumi:"datacenterId"` }
A collection of arguments for invoking getSecureConnectBundleUrl.
func (GetSecureConnectBundleUrlOutputArgs) ElementType ¶
func (GetSecureConnectBundleUrlOutputArgs) ElementType() reflect.Type
type GetSecureConnectBundleUrlResult ¶
type GetSecureConnectBundleUrlResult struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The ID of the Astra datacenter. If omitted, all bundles will be fetched. DatacenterId *string `pulumi:"datacenterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of Secure Connect Bundle info SecureBundles []GetSecureConnectBundleUrlSecureBundle `pulumi:"secureBundles"` }
A collection of values returned by getSecureConnectBundleUrl.
func GetSecureConnectBundleUrl ¶
func GetSecureConnectBundleUrl(ctx *pulumi.Context, args *GetSecureConnectBundleUrlArgs, opts ...pulumi.InvokeOption) (*GetSecureConnectBundleUrlResult, error)
`getSecureConnectBundleUrl` provides a datasource that generates a temporary secure connect bundle URL. This URL lasts five minutes. Secure connect bundles are used to connect to Astra using cql cassandra drivers. See the [docs](https://docs.datastax.com/en/astra/docs/connecting-to-database.html) for more information on how to connect.
type GetSecureConnectBundleUrlResultOutput ¶
type GetSecureConnectBundleUrlResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecureConnectBundleUrl.
func GetSecureConnectBundleUrlOutput ¶
func GetSecureConnectBundleUrlOutput(ctx *pulumi.Context, args GetSecureConnectBundleUrlOutputArgs, opts ...pulumi.InvokeOption) GetSecureConnectBundleUrlResultOutput
func (GetSecureConnectBundleUrlResultOutput) DatabaseId ¶
func (o GetSecureConnectBundleUrlResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (GetSecureConnectBundleUrlResultOutput) DatacenterId ¶
func (o GetSecureConnectBundleUrlResultOutput) DatacenterId() pulumi.StringPtrOutput
The ID of the Astra datacenter. If omitted, all bundles will be fetched.
func (GetSecureConnectBundleUrlResultOutput) ElementType ¶
func (GetSecureConnectBundleUrlResultOutput) ElementType() reflect.Type
func (GetSecureConnectBundleUrlResultOutput) Id ¶
func (o GetSecureConnectBundleUrlResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecureConnectBundleUrlResultOutput) SecureBundles ¶
func (o GetSecureConnectBundleUrlResultOutput) SecureBundles() GetSecureConnectBundleUrlSecureBundleArrayOutput
A list of Secure Connect Bundle info
func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput ¶
func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutput() GetSecureConnectBundleUrlResultOutput
func (GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext ¶
func (o GetSecureConnectBundleUrlResultOutput) ToGetSecureConnectBundleUrlResultOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlResultOutput
type GetSecureConnectBundleUrlSecureBundle ¶
type GetSecureConnectBundleUrlSecureBundle struct { CustomDomainBundles []GetSecureConnectBundleUrlSecureBundleCustomDomainBundle `pulumi:"customDomainBundles"` // The ID of the Astra datacenter. If omitted, all bundles will be fetched. DatacenterId string `pulumi:"datacenterId"` InternalMigrationProxyUrl string `pulumi:"internalMigrationProxyUrl"` InternalUrl string `pulumi:"internalUrl"` MigrationProxyUrl string `pulumi:"migrationProxyUrl"` Url string `pulumi:"url"` }
type GetSecureConnectBundleUrlSecureBundleArgs ¶
type GetSecureConnectBundleUrlSecureBundleArgs struct { CustomDomainBundles GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput `pulumi:"customDomainBundles"` // The ID of the Astra datacenter. If omitted, all bundles will be fetched. DatacenterId pulumi.StringInput `pulumi:"datacenterId"` InternalMigrationProxyUrl pulumi.StringInput `pulumi:"internalMigrationProxyUrl"` InternalUrl pulumi.StringInput `pulumi:"internalUrl"` MigrationProxyUrl pulumi.StringInput `pulumi:"migrationProxyUrl"` Url pulumi.StringInput `pulumi:"url"` }
func (GetSecureConnectBundleUrlSecureBundleArgs) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleArgs) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutput ¶
func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput
func (GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext ¶
func (i GetSecureConnectBundleUrlSecureBundleArgs) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput
type GetSecureConnectBundleUrlSecureBundleArray ¶
type GetSecureConnectBundleUrlSecureBundleArray []GetSecureConnectBundleUrlSecureBundleInput
func (GetSecureConnectBundleUrlSecureBundleArray) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleArray) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutput ¶
func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput
func (GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext ¶
func (i GetSecureConnectBundleUrlSecureBundleArray) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput
type GetSecureConnectBundleUrlSecureBundleArrayInput ¶
type GetSecureConnectBundleUrlSecureBundleArrayInput interface { pulumi.Input ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput }
GetSecureConnectBundleUrlSecureBundleArrayInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleArray and GetSecureConnectBundleUrlSecureBundleArrayOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleArrayInput` via:
GetSecureConnectBundleUrlSecureBundleArray{ GetSecureConnectBundleUrlSecureBundleArgs{...} }
type GetSecureConnectBundleUrlSecureBundleArrayOutput ¶
type GetSecureConnectBundleUrlSecureBundleArrayOutput struct{ *pulumi.OutputState }
func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutput ¶
func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleArrayOutput
func (GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext ¶
func (o GetSecureConnectBundleUrlSecureBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleArrayOutput
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs struct { ApiFqdn pulumi.StringInput `pulumi:"apiFqdn"` CqlFqdn pulumi.StringInput `pulumi:"cqlFqdn"` DashboardFqdn pulumi.StringInput `pulumi:"dashboardFqdn"` Domain pulumi.StringInput `pulumi:"domain"` Url pulumi.StringInput `pulumi:"url"` }
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput ¶
func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext ¶
func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray []GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput ¶
func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext ¶
func (i GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput interface { pulumi.Input ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput }
GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray and GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayInput` via:
GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArray{ GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs{...} }
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput struct{ *pulumi.OutputState }
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput interface { pulumi.Input ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput }
GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs and GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleCustomDomainBundleInput` via:
GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArgs{...}
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput ¶
type GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput struct{ *pulumi.OutputState }
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ApiFqdn ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ApiFqdn() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) CqlFqdn ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) CqlFqdn() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) DashboardFqdn ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) DashboardFqdn() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Domain ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) Domain() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
func (GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext ¶
func (o GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput) ToGetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleCustomDomainBundleOutput
type GetSecureConnectBundleUrlSecureBundleInput ¶
type GetSecureConnectBundleUrlSecureBundleInput interface { pulumi.Input ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(context.Context) GetSecureConnectBundleUrlSecureBundleOutput }
GetSecureConnectBundleUrlSecureBundleInput is an input type that accepts GetSecureConnectBundleUrlSecureBundleArgs and GetSecureConnectBundleUrlSecureBundleOutput values. You can construct a concrete instance of `GetSecureConnectBundleUrlSecureBundleInput` via:
GetSecureConnectBundleUrlSecureBundleArgs{...}
type GetSecureConnectBundleUrlSecureBundleOutput ¶
type GetSecureConnectBundleUrlSecureBundleOutput struct{ *pulumi.OutputState }
func (GetSecureConnectBundleUrlSecureBundleOutput) CustomDomainBundles ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) CustomDomainBundles() GetSecureConnectBundleUrlSecureBundleCustomDomainBundleArrayOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) DatacenterId ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) DatacenterId() pulumi.StringOutput
The ID of the Astra datacenter. If omitted, all bundles will be fetched.
func (GetSecureConnectBundleUrlSecureBundleOutput) ElementType ¶
func (GetSecureConnectBundleUrlSecureBundleOutput) ElementType() reflect.Type
func (GetSecureConnectBundleUrlSecureBundleOutput) InternalMigrationProxyUrl ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) InternalMigrationProxyUrl() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) InternalUrl ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) InternalUrl() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) MigrationProxyUrl ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) MigrationProxyUrl() pulumi.StringOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutput ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutput() GetSecureConnectBundleUrlSecureBundleOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) ToGetSecureConnectBundleUrlSecureBundleOutputWithContext(ctx context.Context) GetSecureConnectBundleUrlSecureBundleOutput
func (GetSecureConnectBundleUrlSecureBundleOutput) Url ¶
func (o GetSecureConnectBundleUrlSecureBundleOutput) Url() pulumi.StringOutput
type GetStreamingTenantTokensArgs ¶
type GetStreamingTenantTokensArgs struct { // Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1` ClusterName string `pulumi:"clusterName"` // Name of the streaming tenant for which to fetch tokens. TenantName string `pulumi:"tenantName"` }
A collection of arguments for invoking getStreamingTenantTokens.
type GetStreamingTenantTokensOutputArgs ¶
type GetStreamingTenantTokensOutputArgs struct { // Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1` ClusterName pulumi.StringInput `pulumi:"clusterName"` // Name of the streaming tenant for which to fetch tokens. TenantName pulumi.StringInput `pulumi:"tenantName"` }
A collection of arguments for invoking getStreamingTenantTokens.
func (GetStreamingTenantTokensOutputArgs) ElementType ¶
func (GetStreamingTenantTokensOutputArgs) ElementType() reflect.Type
type GetStreamingTenantTokensResult ¶
type GetStreamingTenantTokensResult struct { // Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1` ClusterName string `pulumi:"clusterName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of the streaming tenant for which to fetch tokens. TenantName string `pulumi:"tenantName"` // The list of tokens for the specified tenant. Tokens []GetStreamingTenantTokensToken `pulumi:"tokens"` }
A collection of values returned by getStreamingTenantTokens.
func GetStreamingTenantTokens ¶
func GetStreamingTenantTokens(ctx *pulumi.Context, args *GetStreamingTenantTokensArgs, opts ...pulumi.InvokeOption) (*GetStreamingTenantTokensResult, error)
`getStreamingTenantTokens` provides a datasource that lists streaming tenant tokens.
type GetStreamingTenantTokensResultOutput ¶
type GetStreamingTenantTokensResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getStreamingTenantTokens.
func GetStreamingTenantTokensOutput ¶
func GetStreamingTenantTokensOutput(ctx *pulumi.Context, args GetStreamingTenantTokensOutputArgs, opts ...pulumi.InvokeOption) GetStreamingTenantTokensResultOutput
func (GetStreamingTenantTokensResultOutput) ClusterName ¶
func (o GetStreamingTenantTokensResultOutput) ClusterName() pulumi.StringOutput
Name of the Pulsar Cluster. Format: `pulsar-<cloud provider>-<cloud region>`. Example: `pulsar-gcp-useast1`
func (GetStreamingTenantTokensResultOutput) ElementType ¶
func (GetStreamingTenantTokensResultOutput) ElementType() reflect.Type
func (GetStreamingTenantTokensResultOutput) Id ¶
func (o GetStreamingTenantTokensResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetStreamingTenantTokensResultOutput) TenantName ¶
func (o GetStreamingTenantTokensResultOutput) TenantName() pulumi.StringOutput
Name of the streaming tenant for which to fetch tokens.
func (GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutput ¶
func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutput() GetStreamingTenantTokensResultOutput
func (GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutputWithContext ¶
func (o GetStreamingTenantTokensResultOutput) ToGetStreamingTenantTokensResultOutputWithContext(ctx context.Context) GetStreamingTenantTokensResultOutput
func (GetStreamingTenantTokensResultOutput) Tokens ¶
func (o GetStreamingTenantTokensResultOutput) Tokens() GetStreamingTenantTokensTokenArrayOutput
The list of tokens for the specified tenant.
type GetStreamingTenantTokensTokenArgs ¶
type GetStreamingTenantTokensTokenArgs struct { Iat pulumi.IntInput `pulumi:"iat"` Iss pulumi.StringInput `pulumi:"iss"` Sub pulumi.StringInput `pulumi:"sub"` Token pulumi.StringInput `pulumi:"token"` TokenId pulumi.StringInput `pulumi:"tokenId"` }
func (GetStreamingTenantTokensTokenArgs) ElementType ¶
func (GetStreamingTenantTokensTokenArgs) ElementType() reflect.Type
func (GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutput ¶
func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput
func (GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutputWithContext ¶
func (i GetStreamingTenantTokensTokenArgs) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput
type GetStreamingTenantTokensTokenArray ¶
type GetStreamingTenantTokensTokenArray []GetStreamingTenantTokensTokenInput
func (GetStreamingTenantTokensTokenArray) ElementType ¶
func (GetStreamingTenantTokensTokenArray) ElementType() reflect.Type
func (GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutput ¶
func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput
func (GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutputWithContext ¶
func (i GetStreamingTenantTokensTokenArray) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput
type GetStreamingTenantTokensTokenArrayInput ¶
type GetStreamingTenantTokensTokenArrayInput interface { pulumi.Input ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput ToGetStreamingTenantTokensTokenArrayOutputWithContext(context.Context) GetStreamingTenantTokensTokenArrayOutput }
GetStreamingTenantTokensTokenArrayInput is an input type that accepts GetStreamingTenantTokensTokenArray and GetStreamingTenantTokensTokenArrayOutput values. You can construct a concrete instance of `GetStreamingTenantTokensTokenArrayInput` via:
GetStreamingTenantTokensTokenArray{ GetStreamingTenantTokensTokenArgs{...} }
type GetStreamingTenantTokensTokenArrayOutput ¶
type GetStreamingTenantTokensTokenArrayOutput struct{ *pulumi.OutputState }
func (GetStreamingTenantTokensTokenArrayOutput) ElementType ¶
func (GetStreamingTenantTokensTokenArrayOutput) ElementType() reflect.Type
func (GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutput ¶
func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutput() GetStreamingTenantTokensTokenArrayOutput
func (GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutputWithContext ¶
func (o GetStreamingTenantTokensTokenArrayOutput) ToGetStreamingTenantTokensTokenArrayOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenArrayOutput
type GetStreamingTenantTokensTokenInput ¶
type GetStreamingTenantTokensTokenInput interface { pulumi.Input ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput ToGetStreamingTenantTokensTokenOutputWithContext(context.Context) GetStreamingTenantTokensTokenOutput }
GetStreamingTenantTokensTokenInput is an input type that accepts GetStreamingTenantTokensTokenArgs and GetStreamingTenantTokensTokenOutput values. You can construct a concrete instance of `GetStreamingTenantTokensTokenInput` via:
GetStreamingTenantTokensTokenArgs{...}
type GetStreamingTenantTokensTokenOutput ¶
type GetStreamingTenantTokensTokenOutput struct{ *pulumi.OutputState }
func (GetStreamingTenantTokensTokenOutput) ElementType ¶
func (GetStreamingTenantTokensTokenOutput) ElementType() reflect.Type
func (GetStreamingTenantTokensTokenOutput) Iat ¶
func (o GetStreamingTenantTokensTokenOutput) Iat() pulumi.IntOutput
func (GetStreamingTenantTokensTokenOutput) Iss ¶
func (o GetStreamingTenantTokensTokenOutput) Iss() pulumi.StringOutput
func (GetStreamingTenantTokensTokenOutput) Sub ¶
func (o GetStreamingTenantTokensTokenOutput) Sub() pulumi.StringOutput
func (GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutput ¶
func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutput() GetStreamingTenantTokensTokenOutput
func (GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutputWithContext ¶
func (o GetStreamingTenantTokensTokenOutput) ToGetStreamingTenantTokensTokenOutputWithContext(ctx context.Context) GetStreamingTenantTokensTokenOutput
func (GetStreamingTenantTokensTokenOutput) Token ¶
func (o GetStreamingTenantTokensTokenOutput) Token() pulumi.StringOutput
func (GetStreamingTenantTokensTokenOutput) TokenId ¶
func (o GetStreamingTenantTokensTokenOutput) TokenId() pulumi.StringOutput
type GetUsersArgs ¶
type GetUsersArgs struct { // Organization Name. OrgName *string `pulumi:"orgName"` }
A collection of arguments for invoking getUsers.
type GetUsersOutputArgs ¶
type GetUsersOutputArgs struct { // Organization Name. OrgName pulumi.StringPtrInput `pulumi:"orgName"` }
A collection of arguments for invoking getUsers.
func (GetUsersOutputArgs) ElementType ¶
func (GetUsersOutputArgs) ElementType() reflect.Type
type GetUsersResult ¶
type GetUsersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Organization ID. OrgId string `pulumi:"orgId"` // Organization Name. OrgName *string `pulumi:"orgName"` // The list of Astra users. Users []GetUsersUser `pulumi:"users"` }
A collection of values returned by getUsers.
func GetUsers ¶
func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)
`getUsers` provides a datasource for a list of Astra users. This can be used to select users within your Astra Organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.GetUsers(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetUsersResultOutput ¶
type GetUsersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUsers.
func GetUsersOutput ¶
func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput
func (GetUsersResultOutput) ElementType ¶
func (GetUsersResultOutput) ElementType() reflect.Type
func (GetUsersResultOutput) Id ¶
func (o GetUsersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUsersResultOutput) OrgId ¶
func (o GetUsersResultOutput) OrgId() pulumi.StringOutput
Organization ID.
func (GetUsersResultOutput) OrgName ¶
func (o GetUsersResultOutput) OrgName() pulumi.StringPtrOutput
Organization Name.
func (GetUsersResultOutput) ToGetUsersResultOutput ¶
func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput
func (GetUsersResultOutput) ToGetUsersResultOutputWithContext ¶
func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput
func (GetUsersResultOutput) Users ¶
func (o GetUsersResultOutput) Users() GetUsersUserArrayOutput
The list of Astra users.
type GetUsersUser ¶
type GetUsersUser struct { Email string `pulumi:"email"` Roles []GetUsersUserRole `pulumi:"roles"` Status string `pulumi:"status"` UserId string `pulumi:"userId"` }
type GetUsersUserArgs ¶
type GetUsersUserArgs struct { Email pulumi.StringInput `pulumi:"email"` Roles GetUsersUserRoleArrayInput `pulumi:"roles"` Status pulumi.StringInput `pulumi:"status"` UserId pulumi.StringInput `pulumi:"userId"` }
func (GetUsersUserArgs) ElementType ¶
func (GetUsersUserArgs) ElementType() reflect.Type
func (GetUsersUserArgs) ToGetUsersUserOutput ¶
func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput
func (GetUsersUserArgs) ToGetUsersUserOutputWithContext ¶
func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput
type GetUsersUserArray ¶
type GetUsersUserArray []GetUsersUserInput
func (GetUsersUserArray) ElementType ¶
func (GetUsersUserArray) ElementType() reflect.Type
func (GetUsersUserArray) ToGetUsersUserArrayOutput ¶
func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext ¶
func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput
type GetUsersUserArrayInput ¶
type GetUsersUserArrayInput interface { pulumi.Input ToGetUsersUserArrayOutput() GetUsersUserArrayOutput ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput }
GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:
GetUsersUserArray{ GetUsersUserArgs{...} }
type GetUsersUserArrayOutput ¶
type GetUsersUserArrayOutput struct{ *pulumi.OutputState }
func (GetUsersUserArrayOutput) ElementType ¶
func (GetUsersUserArrayOutput) ElementType() reflect.Type
func (GetUsersUserArrayOutput) Index ¶
func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput
func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput ¶
func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext ¶
func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput
type GetUsersUserInput ¶
type GetUsersUserInput interface { pulumi.Input ToGetUsersUserOutput() GetUsersUserOutput ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput }
GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:
GetUsersUserArgs{...}
type GetUsersUserOutput ¶
type GetUsersUserOutput struct{ *pulumi.OutputState }
func (GetUsersUserOutput) ElementType ¶
func (GetUsersUserOutput) ElementType() reflect.Type
func (GetUsersUserOutput) Email ¶
func (o GetUsersUserOutput) Email() pulumi.StringOutput
func (GetUsersUserOutput) Roles ¶
func (o GetUsersUserOutput) Roles() GetUsersUserRoleArrayOutput
func (GetUsersUserOutput) Status ¶
func (o GetUsersUserOutput) Status() pulumi.StringOutput
func (GetUsersUserOutput) ToGetUsersUserOutput ¶
func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput
func (GetUsersUserOutput) ToGetUsersUserOutputWithContext ¶
func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput
func (GetUsersUserOutput) UserId ¶
func (o GetUsersUserOutput) UserId() pulumi.StringOutput
type GetUsersUserRole ¶
type GetUsersUserRole struct {
RoleId string `pulumi:"roleId"`
}
type GetUsersUserRoleArgs ¶
type GetUsersUserRoleArgs struct {
RoleId pulumi.StringInput `pulumi:"roleId"`
}
func (GetUsersUserRoleArgs) ElementType ¶
func (GetUsersUserRoleArgs) ElementType() reflect.Type
func (GetUsersUserRoleArgs) ToGetUsersUserRoleOutput ¶
func (i GetUsersUserRoleArgs) ToGetUsersUserRoleOutput() GetUsersUserRoleOutput
func (GetUsersUserRoleArgs) ToGetUsersUserRoleOutputWithContext ¶
func (i GetUsersUserRoleArgs) ToGetUsersUserRoleOutputWithContext(ctx context.Context) GetUsersUserRoleOutput
type GetUsersUserRoleArray ¶
type GetUsersUserRoleArray []GetUsersUserRoleInput
func (GetUsersUserRoleArray) ElementType ¶
func (GetUsersUserRoleArray) ElementType() reflect.Type
func (GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutput ¶
func (i GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput
func (GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutputWithContext ¶
func (i GetUsersUserRoleArray) ToGetUsersUserRoleArrayOutputWithContext(ctx context.Context) GetUsersUserRoleArrayOutput
type GetUsersUserRoleArrayInput ¶
type GetUsersUserRoleArrayInput interface { pulumi.Input ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput ToGetUsersUserRoleArrayOutputWithContext(context.Context) GetUsersUserRoleArrayOutput }
GetUsersUserRoleArrayInput is an input type that accepts GetUsersUserRoleArray and GetUsersUserRoleArrayOutput values. You can construct a concrete instance of `GetUsersUserRoleArrayInput` via:
GetUsersUserRoleArray{ GetUsersUserRoleArgs{...} }
type GetUsersUserRoleArrayOutput ¶
type GetUsersUserRoleArrayOutput struct{ *pulumi.OutputState }
func (GetUsersUserRoleArrayOutput) ElementType ¶
func (GetUsersUserRoleArrayOutput) ElementType() reflect.Type
func (GetUsersUserRoleArrayOutput) Index ¶
func (o GetUsersUserRoleArrayOutput) Index(i pulumi.IntInput) GetUsersUserRoleOutput
func (GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutput ¶
func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutput() GetUsersUserRoleArrayOutput
func (GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutputWithContext ¶
func (o GetUsersUserRoleArrayOutput) ToGetUsersUserRoleArrayOutputWithContext(ctx context.Context) GetUsersUserRoleArrayOutput
type GetUsersUserRoleInput ¶
type GetUsersUserRoleInput interface { pulumi.Input ToGetUsersUserRoleOutput() GetUsersUserRoleOutput ToGetUsersUserRoleOutputWithContext(context.Context) GetUsersUserRoleOutput }
GetUsersUserRoleInput is an input type that accepts GetUsersUserRoleArgs and GetUsersUserRoleOutput values. You can construct a concrete instance of `GetUsersUserRoleInput` via:
GetUsersUserRoleArgs{...}
type GetUsersUserRoleOutput ¶
type GetUsersUserRoleOutput struct{ *pulumi.OutputState }
func (GetUsersUserRoleOutput) ElementType ¶
func (GetUsersUserRoleOutput) ElementType() reflect.Type
func (GetUsersUserRoleOutput) RoleId ¶
func (o GetUsersUserRoleOutput) RoleId() pulumi.StringOutput
func (GetUsersUserRoleOutput) ToGetUsersUserRoleOutput ¶
func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutput() GetUsersUserRoleOutput
func (GetUsersUserRoleOutput) ToGetUsersUserRoleOutputWithContext ¶
func (o GetUsersUserRoleOutput) ToGetUsersUserRoleOutputWithContext(ctx context.Context) GetUsersUserRoleOutput
type Keyspace ¶
type Keyspace struct { pulumi.CustomResourceState // Astra database to create the keyspace. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character. Name pulumi.StringOutput `pulumi:"name"` }
`Keyspace` provides a keyspace resource. Keyspaces are groupings of tables for Cassandra. `Keyspace` resources are associated with a database id. You can have multiple keyspaces per DB in addition to the default keyspace provided in the `Database` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewKeyspace(ctx, "example", &astra.KeyspaceArgs{ DatabaseId: pulumi.String("48bfc13b-c1a5-48db-b70f-b6ef9709872b"), }) if err != nil { return err } return nil }) }
```
## Import
the import id includes the database_id and the keyspace name. ¶
```sh
$ pulumi import astra:index/keyspace:Keyspace example 48bfc13b-c1a5-48db-b70f-b6ef9709872b/keyspace/example
```
func GetKeyspace ¶
func GetKeyspace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyspaceState, opts ...pulumi.ResourceOption) (*Keyspace, error)
GetKeyspace gets an existing Keyspace 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 NewKeyspace ¶
func NewKeyspace(ctx *pulumi.Context, name string, args *KeyspaceArgs, opts ...pulumi.ResourceOption) (*Keyspace, error)
NewKeyspace registers a new resource with the given unique name, arguments, and options.
func (*Keyspace) ElementType ¶
func (*Keyspace) ToKeyspaceOutput ¶
func (i *Keyspace) ToKeyspaceOutput() KeyspaceOutput
func (*Keyspace) ToKeyspaceOutputWithContext ¶
func (i *Keyspace) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput
type KeyspaceArgs ¶
type KeyspaceArgs struct { // Astra database to create the keyspace. DatabaseId pulumi.StringInput // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character. Name pulumi.StringPtrInput }
The set of arguments for constructing a Keyspace resource.
func (KeyspaceArgs) ElementType ¶
func (KeyspaceArgs) ElementType() reflect.Type
type KeyspaceArray ¶
type KeyspaceArray []KeyspaceInput
func (KeyspaceArray) ElementType ¶
func (KeyspaceArray) ElementType() reflect.Type
func (KeyspaceArray) ToKeyspaceArrayOutput ¶
func (i KeyspaceArray) ToKeyspaceArrayOutput() KeyspaceArrayOutput
func (KeyspaceArray) ToKeyspaceArrayOutputWithContext ¶
func (i KeyspaceArray) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput
type KeyspaceArrayInput ¶
type KeyspaceArrayInput interface { pulumi.Input ToKeyspaceArrayOutput() KeyspaceArrayOutput ToKeyspaceArrayOutputWithContext(context.Context) KeyspaceArrayOutput }
KeyspaceArrayInput is an input type that accepts KeyspaceArray and KeyspaceArrayOutput values. You can construct a concrete instance of `KeyspaceArrayInput` via:
KeyspaceArray{ KeyspaceArgs{...} }
type KeyspaceArrayOutput ¶
type KeyspaceArrayOutput struct{ *pulumi.OutputState }
func (KeyspaceArrayOutput) ElementType ¶
func (KeyspaceArrayOutput) ElementType() reflect.Type
func (KeyspaceArrayOutput) Index ¶
func (o KeyspaceArrayOutput) Index(i pulumi.IntInput) KeyspaceOutput
func (KeyspaceArrayOutput) ToKeyspaceArrayOutput ¶
func (o KeyspaceArrayOutput) ToKeyspaceArrayOutput() KeyspaceArrayOutput
func (KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext ¶
func (o KeyspaceArrayOutput) ToKeyspaceArrayOutputWithContext(ctx context.Context) KeyspaceArrayOutput
type KeyspaceInput ¶
type KeyspaceInput interface { pulumi.Input ToKeyspaceOutput() KeyspaceOutput ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput }
type KeyspaceMap ¶
type KeyspaceMap map[string]KeyspaceInput
func (KeyspaceMap) ElementType ¶
func (KeyspaceMap) ElementType() reflect.Type
func (KeyspaceMap) ToKeyspaceMapOutput ¶
func (i KeyspaceMap) ToKeyspaceMapOutput() KeyspaceMapOutput
func (KeyspaceMap) ToKeyspaceMapOutputWithContext ¶
func (i KeyspaceMap) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput
type KeyspaceMapInput ¶
type KeyspaceMapInput interface { pulumi.Input ToKeyspaceMapOutput() KeyspaceMapOutput ToKeyspaceMapOutputWithContext(context.Context) KeyspaceMapOutput }
KeyspaceMapInput is an input type that accepts KeyspaceMap and KeyspaceMapOutput values. You can construct a concrete instance of `KeyspaceMapInput` via:
KeyspaceMap{ "key": KeyspaceArgs{...} }
type KeyspaceMapOutput ¶
type KeyspaceMapOutput struct{ *pulumi.OutputState }
func (KeyspaceMapOutput) ElementType ¶
func (KeyspaceMapOutput) ElementType() reflect.Type
func (KeyspaceMapOutput) MapIndex ¶
func (o KeyspaceMapOutput) MapIndex(k pulumi.StringInput) KeyspaceOutput
func (KeyspaceMapOutput) ToKeyspaceMapOutput ¶
func (o KeyspaceMapOutput) ToKeyspaceMapOutput() KeyspaceMapOutput
func (KeyspaceMapOutput) ToKeyspaceMapOutputWithContext ¶
func (o KeyspaceMapOutput) ToKeyspaceMapOutputWithContext(ctx context.Context) KeyspaceMapOutput
type KeyspaceOutput ¶
type KeyspaceOutput struct{ *pulumi.OutputState }
func (KeyspaceOutput) DatabaseId ¶
func (o KeyspaceOutput) DatabaseId() pulumi.StringOutput
Astra database to create the keyspace.
func (KeyspaceOutput) ElementType ¶
func (KeyspaceOutput) ElementType() reflect.Type
func (KeyspaceOutput) Name ¶
func (o KeyspaceOutput) Name() pulumi.StringOutput
Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character.
func (KeyspaceOutput) ToKeyspaceOutput ¶
func (o KeyspaceOutput) ToKeyspaceOutput() KeyspaceOutput
func (KeyspaceOutput) ToKeyspaceOutputWithContext ¶
func (o KeyspaceOutput) ToKeyspaceOutputWithContext(ctx context.Context) KeyspaceOutput
type KeyspaceState ¶
type KeyspaceState struct { // Astra database to create the keyspace. DatabaseId pulumi.StringPtrInput // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters and numbers are supported as the first character. Name pulumi.StringPtrInput }
func (KeyspaceState) ElementType ¶
func (KeyspaceState) ElementType() reflect.Type
type LookupAccessListArgs ¶
type LookupAccessListArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` }
A collection of arguments for invoking getAccessList.
type LookupAccessListOutputArgs ¶
type LookupAccessListOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` }
A collection of arguments for invoking getAccessList.
func (LookupAccessListOutputArgs) ElementType ¶
func (LookupAccessListOutputArgs) ElementType() reflect.Type
type LookupAccessListResult ¶
type LookupAccessListResult struct { // Addresses in the access list. Addresses []GetAccessListAddress `pulumi:"addresses"` // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The Access list is enabled or disabled. Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getAccessList.
func LookupAccessList ¶
func LookupAccessList(ctx *pulumi.Context, args *LookupAccessListArgs, opts ...pulumi.InvokeOption) (*LookupAccessListResult, error)
`AccessList` provides a datasource that lists the access lists for an Astra database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupAccessList(ctx, &GetAccessListArgs{ DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb", }, nil) if err != nil { return err } return nil }) }
```
type LookupAccessListResultOutput ¶
type LookupAccessListResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccessList.
func LookupAccessListOutput ¶
func LookupAccessListOutput(ctx *pulumi.Context, args LookupAccessListOutputArgs, opts ...pulumi.InvokeOption) LookupAccessListResultOutput
func (LookupAccessListResultOutput) Addresses ¶
func (o LookupAccessListResultOutput) Addresses() GetAccessListAddressArrayOutput
Addresses in the access list.
func (LookupAccessListResultOutput) DatabaseId ¶
func (o LookupAccessListResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (LookupAccessListResultOutput) ElementType ¶
func (LookupAccessListResultOutput) ElementType() reflect.Type
func (LookupAccessListResultOutput) Enabled ¶
func (o LookupAccessListResultOutput) Enabled() pulumi.BoolOutput
The Access list is enabled or disabled.
func (LookupAccessListResultOutput) Id ¶
func (o LookupAccessListResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAccessListResultOutput) ToLookupAccessListResultOutput ¶
func (o LookupAccessListResultOutput) ToLookupAccessListResultOutput() LookupAccessListResultOutput
func (LookupAccessListResultOutput) ToLookupAccessListResultOutputWithContext ¶
func (o LookupAccessListResultOutput) ToLookupAccessListResultOutputWithContext(ctx context.Context) LookupAccessListResultOutput
type LookupAstraDatabasesArgs ¶
type LookupAstraDatabasesArgs struct { // The cloud provider CloudProvider *string `pulumi:"cloudProvider"` // Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements Status *string `pulumi:"status"` }
A collection of arguments for invoking getAstraDatabases.
type LookupAstraDatabasesOutputArgs ¶
type LookupAstraDatabasesOutputArgs struct { // The cloud provider CloudProvider pulumi.StringPtrInput `pulumi:"cloudProvider"` // Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAstraDatabases.
func (LookupAstraDatabasesOutputArgs) ElementType ¶
func (LookupAstraDatabasesOutputArgs) ElementType() reflect.Type
type LookupAstraDatabasesResult ¶
type LookupAstraDatabasesResult struct { // The cloud provider CloudProvider *string `pulumi:"cloudProvider"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of Astra databases that match the search criteria. Results []GetAstraDatabasesResult `pulumi:"results"` // Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements Status *string `pulumi:"status"` }
A collection of values returned by getAstraDatabases.
func LookupAstraDatabases ¶
func LookupAstraDatabases(ctx *pulumi.Context, args *LookupAstraDatabasesArgs, opts ...pulumi.InvokeOption) (*LookupAstraDatabasesResult, error)
`getAstraDatabases` provides a datasource for a list of Astra databases. This can be used to select databases within your Astra Organization.
type LookupAstraDatabasesResultOutput ¶
type LookupAstraDatabasesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAstraDatabases.
func LookupAstraDatabasesOutput ¶
func LookupAstraDatabasesOutput(ctx *pulumi.Context, args LookupAstraDatabasesOutputArgs, opts ...pulumi.InvokeOption) LookupAstraDatabasesResultOutput
func (LookupAstraDatabasesResultOutput) CloudProvider ¶
func (o LookupAstraDatabasesResultOutput) CloudProvider() pulumi.StringPtrOutput
The cloud provider
func (LookupAstraDatabasesResultOutput) ElementType ¶
func (LookupAstraDatabasesResultOutput) ElementType() reflect.Type
func (LookupAstraDatabasesResultOutput) Id ¶
func (o LookupAstraDatabasesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAstraDatabasesResultOutput) Results ¶
func (o LookupAstraDatabasesResultOutput) Results() GetAstraDatabasesResultArrayOutput
The list of Astra databases that match the search criteria.
func (LookupAstraDatabasesResultOutput) Status ¶
func (o LookupAstraDatabasesResultOutput) Status() pulumi.StringPtrOutput
Status flter. Only return databases with matching status, if supplied. Otherwise return all databases matching other requirements
func (LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutput ¶
func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutput() LookupAstraDatabasesResultOutput
func (LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutputWithContext ¶
func (o LookupAstraDatabasesResultOutput) ToLookupAstraDatabasesResultOutputWithContext(ctx context.Context) LookupAstraDatabasesResultOutput
type LookupAvailableRegionsResult ¶
type LookupAvailableRegionsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of supported Astra regions by cloud provider and tier. Results []GetAvailableRegionsResult `pulumi:"results"` }
A collection of values returned by getAvailableRegions.
func LookupAvailableRegions ¶
func LookupAvailableRegions(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupAvailableRegionsResult, error)
Retrieve a list of available cloud regions in Astra
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupAvailableRegions(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type LookupKeyspaceArgs ¶
type LookupKeyspaceArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The keyspace name. Name string `pulumi:"name"` }
A collection of arguments for invoking getKeyspace.
type LookupKeyspaceOutputArgs ¶
type LookupKeyspaceOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` // The keyspace name. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getKeyspace.
func (LookupKeyspaceOutputArgs) ElementType ¶
func (LookupKeyspaceOutputArgs) ElementType() reflect.Type
type LookupKeyspaceResult ¶
type LookupKeyspaceResult struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The keyspace name. Name string `pulumi:"name"` }
A collection of values returned by getKeyspace.
func LookupKeyspace ¶
func LookupKeyspace(ctx *pulumi.Context, args *LookupKeyspaceArgs, opts ...pulumi.InvokeOption) (*LookupKeyspaceResult, error)
`Keyspace` provides a datasource for a particular keyspace. See `getKeyspaces` if you're looking to fetch all the keyspaces for a particular database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupKeyspace(ctx, &GetKeyspaceArgs{ DatabaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73", Name: "puppies", }, nil) if err != nil { return err } return nil }) }
```
type LookupKeyspaceResultOutput ¶
type LookupKeyspaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeyspace.
func LookupKeyspaceOutput ¶
func LookupKeyspaceOutput(ctx *pulumi.Context, args LookupKeyspaceOutputArgs, opts ...pulumi.InvokeOption) LookupKeyspaceResultOutput
func (LookupKeyspaceResultOutput) DatabaseId ¶
func (o LookupKeyspaceResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (LookupKeyspaceResultOutput) ElementType ¶
func (LookupKeyspaceResultOutput) ElementType() reflect.Type
func (LookupKeyspaceResultOutput) Id ¶
func (o LookupKeyspaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupKeyspaceResultOutput) Name ¶
func (o LookupKeyspaceResultOutput) Name() pulumi.StringOutput
The keyspace name.
func (LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutput ¶
func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutput() LookupKeyspaceResultOutput
func (LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutputWithContext ¶
func (o LookupKeyspaceResultOutput) ToLookupKeyspaceResultOutputWithContext(ctx context.Context) LookupKeyspaceResultOutput
type LookupKeyspacesArgs ¶
type LookupKeyspacesArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` }
A collection of arguments for invoking getKeyspaces.
type LookupKeyspacesOutputArgs ¶
type LookupKeyspacesOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` }
A collection of arguments for invoking getKeyspaces.
func (LookupKeyspacesOutputArgs) ElementType ¶
func (LookupKeyspacesOutputArgs) ElementType() reflect.Type
type LookupKeyspacesResult ¶
type LookupKeyspacesResult struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of keyspaces that match the search criteria. Results []GetKeyspacesResult `pulumi:"results"` }
A collection of values returned by getKeyspaces.
func LookupKeyspaces ¶
func LookupKeyspaces(ctx *pulumi.Context, args *LookupKeyspacesArgs, opts ...pulumi.InvokeOption) (*LookupKeyspacesResult, error)
`getKeyspaces` provides a datasource that lists the keyspaces in an Astra database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupKeyspaces(ctx, &GetKeyspacesArgs{ DatabaseId: "f9f4b1e0-4c05-451e-9bba-d631295a7f73", }, nil) if err != nil { return err } return nil }) }
```
type LookupKeyspacesResultOutput ¶
type LookupKeyspacesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeyspaces.
func LookupKeyspacesOutput ¶
func LookupKeyspacesOutput(ctx *pulumi.Context, args LookupKeyspacesOutputArgs, opts ...pulumi.InvokeOption) LookupKeyspacesResultOutput
func (LookupKeyspacesResultOutput) DatabaseId ¶
func (o LookupKeyspacesResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (LookupKeyspacesResultOutput) ElementType ¶
func (LookupKeyspacesResultOutput) ElementType() reflect.Type
func (LookupKeyspacesResultOutput) Id ¶
func (o LookupKeyspacesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupKeyspacesResultOutput) Results ¶
func (o LookupKeyspacesResultOutput) Results() GetKeyspacesResultArrayOutput
The list of keyspaces that match the search criteria.
func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput ¶
func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutput() LookupKeyspacesResultOutput
func (LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext ¶
func (o LookupKeyspacesResultOutput) ToLookupKeyspacesResultOutputWithContext(ctx context.Context) LookupKeyspacesResultOutput
type LookupPrivateLinkEndpointsArgs ¶
type LookupPrivateLinkEndpointsArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The Datacenter ID of the Astra database. DatacenterId string `pulumi:"datacenterId"` // Endpoint ID. EndpointId string `pulumi:"endpointId"` }
A collection of arguments for invoking getPrivateLinkEndpoints.
type LookupPrivateLinkEndpointsOutputArgs ¶
type LookupPrivateLinkEndpointsOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` // The Datacenter ID of the Astra database. DatacenterId pulumi.StringInput `pulumi:"datacenterId"` // Endpoint ID. EndpointId pulumi.StringInput `pulumi:"endpointId"` }
A collection of arguments for invoking getPrivateLinkEndpoints.
func (LookupPrivateLinkEndpointsOutputArgs) ElementType ¶
func (LookupPrivateLinkEndpointsOutputArgs) ElementType() reflect.Type
type LookupPrivateLinkEndpointsResult ¶
type LookupPrivateLinkEndpointsResult struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The Datacenter ID of the Astra database. DatacenterId string `pulumi:"datacenterId"` // Endpoint ID. EndpointId string `pulumi:"endpointId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of private links endpoint details that match the search criteria. Results []GetPrivateLinkEndpointsResult `pulumi:"results"` }
A collection of values returned by getPrivateLinkEndpoints.
func LookupPrivateLinkEndpoints ¶
func LookupPrivateLinkEndpoints(ctx *pulumi.Context, args *LookupPrivateLinkEndpointsArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinkEndpointsResult, error)
`getPrivateLinkEndpoints` provides a datasource that lists the private link endpoints for an Astra database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupPrivateLinkEndpoints(ctx, &GetPrivateLinkEndpointsArgs{ DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb", DatacenterId: "8d356587-73b3-430a-9c0e-d780332e2afb-1", EndpointId: "com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df", }, nil) if err != nil { return err } return nil }) }
```
type LookupPrivateLinkEndpointsResultOutput ¶
type LookupPrivateLinkEndpointsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrivateLinkEndpoints.
func LookupPrivateLinkEndpointsOutput ¶
func LookupPrivateLinkEndpointsOutput(ctx *pulumi.Context, args LookupPrivateLinkEndpointsOutputArgs, opts ...pulumi.InvokeOption) LookupPrivateLinkEndpointsResultOutput
func (LookupPrivateLinkEndpointsResultOutput) DatabaseId ¶
func (o LookupPrivateLinkEndpointsResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (LookupPrivateLinkEndpointsResultOutput) DatacenterId ¶
func (o LookupPrivateLinkEndpointsResultOutput) DatacenterId() pulumi.StringOutput
The Datacenter ID of the Astra database.
func (LookupPrivateLinkEndpointsResultOutput) ElementType ¶
func (LookupPrivateLinkEndpointsResultOutput) ElementType() reflect.Type
func (LookupPrivateLinkEndpointsResultOutput) EndpointId ¶
func (o LookupPrivateLinkEndpointsResultOutput) EndpointId() pulumi.StringOutput
Endpoint ID.
func (LookupPrivateLinkEndpointsResultOutput) Id ¶
func (o LookupPrivateLinkEndpointsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPrivateLinkEndpointsResultOutput) Results ¶
func (o LookupPrivateLinkEndpointsResultOutput) Results() GetPrivateLinkEndpointsResultArrayOutput
The list of private links endpoint details that match the search criteria.
func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput ¶
func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutput() LookupPrivateLinkEndpointsResultOutput
func (LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext ¶
func (o LookupPrivateLinkEndpointsResultOutput) ToLookupPrivateLinkEndpointsResultOutputWithContext(ctx context.Context) LookupPrivateLinkEndpointsResultOutput
type LookupPrivateLinksArgs ¶
type LookupPrivateLinksArgs struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The datacenter where of the Astra database. DatacenterId string `pulumi:"datacenterId"` }
A collection of arguments for invoking getPrivateLinks.
type LookupPrivateLinksOutputArgs ¶
type LookupPrivateLinksOutputArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput `pulumi:"databaseId"` // The datacenter where of the Astra database. DatacenterId pulumi.StringInput `pulumi:"datacenterId"` }
A collection of arguments for invoking getPrivateLinks.
func (LookupPrivateLinksOutputArgs) ElementType ¶
func (LookupPrivateLinksOutputArgs) ElementType() reflect.Type
type LookupPrivateLinksResult ¶
type LookupPrivateLinksResult struct { // The ID of the Astra database. DatabaseId string `pulumi:"databaseId"` // The datacenter where of the Astra database. DatacenterId string `pulumi:"datacenterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of private links that match the search criteria. Results []GetPrivateLinksResult `pulumi:"results"` }
A collection of values returned by getPrivateLinks.
func LookupPrivateLinks ¶
func LookupPrivateLinks(ctx *pulumi.Context, args *LookupPrivateLinksArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinksResult, error)
`getPrivateLinks` provides a datasource that lists the private links in an Astra database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupPrivateLinks(ctx, &GetPrivateLinksArgs{ DatabaseId: "a6bc9c26-e7ce-424f-84c7-0a00afb12588", DatacenterId: "a6bc9c26-e7ce-424f-84c7-0a00afb12588-1", }, nil) if err != nil { return err } return nil }) }
```
type LookupPrivateLinksResultOutput ¶
type LookupPrivateLinksResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrivateLinks.
func LookupPrivateLinksOutput ¶
func LookupPrivateLinksOutput(ctx *pulumi.Context, args LookupPrivateLinksOutputArgs, opts ...pulumi.InvokeOption) LookupPrivateLinksResultOutput
func (LookupPrivateLinksResultOutput) DatabaseId ¶
func (o LookupPrivateLinksResultOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (LookupPrivateLinksResultOutput) DatacenterId ¶
func (o LookupPrivateLinksResultOutput) DatacenterId() pulumi.StringOutput
The datacenter where of the Astra database.
func (LookupPrivateLinksResultOutput) ElementType ¶
func (LookupPrivateLinksResultOutput) ElementType() reflect.Type
func (LookupPrivateLinksResultOutput) Id ¶
func (o LookupPrivateLinksResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPrivateLinksResultOutput) Results ¶
func (o LookupPrivateLinksResultOutput) Results() GetPrivateLinksResultArrayOutput
The list of private links that match the search criteria.
func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput ¶
func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutput() LookupPrivateLinksResultOutput
func (LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext ¶
func (o LookupPrivateLinksResultOutput) ToLookupPrivateLinksResultOutputWithContext(ctx context.Context) LookupPrivateLinksResultOutput
type LookupRoleArgs ¶
type LookupRoleArgs struct { // Role ID, system generated RoleId string `pulumi:"roleId"` }
A collection of arguments for invoking getRole.
type LookupRoleOutputArgs ¶
type LookupRoleOutputArgs struct { // Role ID, system generated RoleId pulumi.StringInput `pulumi:"roleId"` }
A collection of arguments for invoking getRole.
func (LookupRoleOutputArgs) ElementType ¶
func (LookupRoleOutputArgs) ElementType() reflect.Type
type LookupRoleResult ¶
type LookupRoleResult struct { // Role description Description string `pulumi:"description"` // Role effect Effect string `pulumi:"effect"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies. Policies []string `pulumi:"policies"` // Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above). Resources []string `pulumi:"resources"` // Role ID, system generated RoleId string `pulumi:"roleId"` // Role name RoleName string `pulumi:"roleName"` }
A collection of values returned by getRole.
func LookupRole ¶
func LookupRole(ctx *pulumi.Context, args *LookupRoleArgs, opts ...pulumi.InvokeOption) (*LookupRoleResult, error)
`Role` provides a datasource that lists the custom roles for an org.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupRole(ctx, &GetRoleArgs{ RoleId: "role-id-here", }, nil) if err != nil { return err } return nil }) }
```
type LookupRoleResultOutput ¶
type LookupRoleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRole.
func LookupRoleOutput ¶
func LookupRoleOutput(ctx *pulumi.Context, args LookupRoleOutputArgs, opts ...pulumi.InvokeOption) LookupRoleResultOutput
func (LookupRoleResultOutput) Description ¶
func (o LookupRoleResultOutput) Description() pulumi.StringOutput
Role description
func (LookupRoleResultOutput) Effect ¶
func (o LookupRoleResultOutput) Effect() pulumi.StringOutput
Role effect
func (LookupRoleResultOutput) ElementType ¶
func (LookupRoleResultOutput) ElementType() reflect.Type
func (LookupRoleResultOutput) Id ¶
func (o LookupRoleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRoleResultOutput) Policies ¶
func (o LookupRoleResultOutput) Policies() pulumi.StringArrayOutput
List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
func (LookupRoleResultOutput) Resources ¶
func (o LookupRoleResultOutput) Resources() pulumi.StringArrayOutput
Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
func (LookupRoleResultOutput) RoleId ¶
func (o LookupRoleResultOutput) RoleId() pulumi.StringOutput
Role ID, system generated
func (LookupRoleResultOutput) RoleName ¶
func (o LookupRoleResultOutput) RoleName() pulumi.StringOutput
Role name
func (LookupRoleResultOutput) ToLookupRoleResultOutput ¶
func (o LookupRoleResultOutput) ToLookupRoleResultOutput() LookupRoleResultOutput
func (LookupRoleResultOutput) ToLookupRoleResultOutputWithContext ¶
func (o LookupRoleResultOutput) ToLookupRoleResultOutputWithContext(ctx context.Context) LookupRoleResultOutput
type LookupRolesResult ¶
type LookupRolesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of Astra roles. Results []GetRolesResult `pulumi:"results"` }
A collection of values returned by getRoles.
func LookupRoles ¶
func LookupRoles(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupRolesResult, error)
`getRoles` provides a datasource for a list of Astra roles. This can be used to select roles within your Astra Organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.LookupRoles(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type PrivateLink ¶
type PrivateLink struct { pulumi.CustomResourceState // List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin). AllowedPrincipals pulumi.StringArrayOutput `pulumi:"allowedPrincipals"` // Astra database where private link will be enabled. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringOutput `pulumi:"datacenterId"` // Name of the endpoint service for private link generated by the cloud provider. ServiceName pulumi.StringOutput `pulumi:"serviceName"` }
`PrivateLink` provides a private link resource. Private Link is a private network endpoint that can be created to connect from your vpc to Astra without using a publicly routable IP address. `PrivateLink` resources are associated with a database id. Once the privateLink resource is created in Astra it must be linked to an endpoint within your vpc, use `PrivateLinkEndpoint` to do this.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewPrivateLink(ctx, "example", &astra.PrivateLinkArgs{ AllowedPrincipals: pulumi.StringArray{ pulumi.String("arn:aws:iam::111708290731:user/sebastian.estevez"), }, DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/privateLink:PrivateLink example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588/serviceNames/svc-name-here
```
func GetPrivateLink ¶
func GetPrivateLink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateLinkState, opts ...pulumi.ResourceOption) (*PrivateLink, error)
GetPrivateLink gets an existing PrivateLink 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 NewPrivateLink ¶
func NewPrivateLink(ctx *pulumi.Context, name string, args *PrivateLinkArgs, opts ...pulumi.ResourceOption) (*PrivateLink, error)
NewPrivateLink registers a new resource with the given unique name, arguments, and options.
func (*PrivateLink) ElementType ¶
func (*PrivateLink) ElementType() reflect.Type
func (*PrivateLink) ToPrivateLinkOutput ¶
func (i *PrivateLink) ToPrivateLinkOutput() PrivateLinkOutput
func (*PrivateLink) ToPrivateLinkOutputWithContext ¶
func (i *PrivateLink) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
type PrivateLinkArgs ¶
type PrivateLinkArgs struct { // List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin). AllowedPrincipals pulumi.StringArrayInput // Astra database where private link will be enabled. DatabaseId pulumi.StringInput // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringInput }
The set of arguments for constructing a PrivateLink resource.
func (PrivateLinkArgs) ElementType ¶
func (PrivateLinkArgs) ElementType() reflect.Type
type PrivateLinkArray ¶
type PrivateLinkArray []PrivateLinkInput
func (PrivateLinkArray) ElementType ¶
func (PrivateLinkArray) ElementType() reflect.Type
func (PrivateLinkArray) ToPrivateLinkArrayOutput ¶
func (i PrivateLinkArray) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
func (PrivateLinkArray) ToPrivateLinkArrayOutputWithContext ¶
func (i PrivateLinkArray) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
type PrivateLinkArrayInput ¶
type PrivateLinkArrayInput interface { pulumi.Input ToPrivateLinkArrayOutput() PrivateLinkArrayOutput ToPrivateLinkArrayOutputWithContext(context.Context) PrivateLinkArrayOutput }
PrivateLinkArrayInput is an input type that accepts PrivateLinkArray and PrivateLinkArrayOutput values. You can construct a concrete instance of `PrivateLinkArrayInput` via:
PrivateLinkArray{ PrivateLinkArgs{...} }
type PrivateLinkArrayOutput ¶
type PrivateLinkArrayOutput struct{ *pulumi.OutputState }
func (PrivateLinkArrayOutput) ElementType ¶
func (PrivateLinkArrayOutput) ElementType() reflect.Type
func (PrivateLinkArrayOutput) Index ¶
func (o PrivateLinkArrayOutput) Index(i pulumi.IntInput) PrivateLinkOutput
func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutput ¶
func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutput() PrivateLinkArrayOutput
func (PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext ¶
func (o PrivateLinkArrayOutput) ToPrivateLinkArrayOutputWithContext(ctx context.Context) PrivateLinkArrayOutput
type PrivateLinkEndpoint ¶
type PrivateLinkEndpoint struct { pulumi.CustomResourceState // Endpoint ID for referencing within Astra. May be different than the endpointId of this resource. AstraEndpointId pulumi.StringOutput `pulumi:"astraEndpointId"` // The ID of the Astra database. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringOutput `pulumi:"datacenterId"` // Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309" EndpointId pulumi.StringOutput `pulumi:"endpointId"` }
`PrivateLinkEndpoint` completes the creation of a private link endpoint by associating it with your endpoint.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatelink" "github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/compute" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewPrivateLink(ctx, "exampleAstraIndex/privateLinkPrivateLink", &astra.PrivateLinkArgs{ AllowedPrincipals: pulumi.StringArray{ pulumi.String("arn:aws:iam::445559476293:user/Sebastian"), }, DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), }) if err != nil { return err } exampleVpcEndpoint, err := ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{ VpcId: pulumi.String("vpc-f939e884"), ServiceName: exampleAstraIndex / privateLinkPrivateLink.ServiceName, VpcEndpointType: pulumi.String("Interface"), SubnetIds: pulumi.StringArray{ pulumi.String("subnet-4d376300"), pulumi.String("subnet-4d85066c"), pulumi.String("subnet-030e8b65"), }, SecurityGroupIds: pulumi.StringArray{ pulumi.String("sg-74ae4d41"), }, }) if err != nil { return err } _, err = astra.NewPrivateLinkEndpoint(ctx, "examplePrivateLinkEndpoint", &astra.PrivateLinkEndpointArgs{ DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), EndpointId: exampleVpcEndpoint.ID(), }) if err != nil { return err } _, err = astra.NewPrivateLink(ctx, "examplePrivateLink", &astra.PrivateLinkArgs{ AllowedPrincipals: pulumi.StringArray{ pulumi.String("my-project"), }, DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), }) if err != nil { return err } exampleNetwork, err := compute.NewNetwork(ctx, "exampleNetwork", &compute.NetworkArgs{ AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } exampleSubnetwork, err := compute.NewSubnetwork(ctx, "exampleSubnetwork", &compute.SubnetworkArgs{ IpCidrRange: pulumi.String("10.142.0.0/20"), Region: pulumi.String("us-east1"), Network: exampleNetwork.ID(), }) if err != nil { return err } exampleAddress, err := compute.NewAddress(ctx, "exampleAddress", &compute.AddressArgs{ Subnetwork: exampleSubnetwork.ID(), AddressType: pulumi.String("INTERNAL"), Region: pulumi.String("us-east1"), }) if err != nil { return err } _, err = compute.NewForwardingRule(ctx, "exampleForwardingRule", &compute.ForwardingRuleArgs{ Target: pulumi.String(fmt.Sprintf("https://www.googleapis.com/compute/v1/%v", exampleAstraIndex/privateLinkPrivateLink.ServiceName)), Project: exampleNetwork.Project, IpAddress: exampleAddress.ID(), Network: exampleNetwork.ID(), Region: pulumi.String("us-east1"), LoadBalancingScheme: pulumi.String(""), }) if err != nil { return err } _, err = astra.NewPrivateLinkEndpoint(ctx, "endpoint", &astra.PrivateLinkEndpointArgs{ DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), EndpointId: pulumi.String("13585698993864708"), }) if err != nil { return err } current, err := core.LookupSubscription(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.LookupResourceGroup(ctx, &core.LookupResourceGroupArgs{ Name: "example-rg", }, nil) if err != nil { return err } exampleVirtualNetwork, err := network.LookupVirtualNetwork(ctx, &network.LookupVirtualNetworkArgs{ Name: "example-virtual-network", ResourceGroupName: exampleResourceGroup.Name, }, nil) if err != nil { return err } exampleSubnet, err := network.LookupSubnet(ctx, &network.LookupSubnetArgs{ Name: "example-subnet", VirtualNetworkName: exampleVirtualNetwork.Name, ResourceGroupName: exampleResourceGroup.Name, }, nil) if err != nil { return err } _, err = astra.NewPrivateLink(ctx, "exampleIndex/privateLinkPrivateLink", &astra.PrivateLinkArgs{ AllowedPrincipals: pulumi.StringArray{ pulumi.String(current.SubscriptionId), }, DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), }) if err != nil { return err } exampleEndpoint, err := privatelink.NewEndpoint(ctx, "exampleEndpoint", &privatelink.EndpointArgs{ Location: pulumi.String(exampleResourceGroup.Location), ResourceGroupName: pulumi.String(exampleResourceGroup.Name), SubnetId: pulumi.String(exampleSubnet.Id), PrivateServiceConnection: &privatelink.EndpointPrivateServiceConnectionArgs{ Name: pulumi.String("example-private-connection"), PrivateConnectionResourceAlias: exampleAstraIndex / privateLinkPrivateLink.ServiceName, IsManualConnection: pulumi.Bool(true), RequestMessage: pulumi.String("Private connection from AKS subnet to Astra DB"), }, }) if err != nil { return err } _, err = astra.NewPrivateLinkEndpoint(ctx, "azPrivateLinkEndpoint", &astra.PrivateLinkEndpointArgs{ DatabaseId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588"), DatacenterId: pulumi.String("a6bc9c26-e7ce-424f-84c7-0a00afb12588-1"), EndpointId: exampleEndpoint.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("%v/providers/Microsoft.Network/privateEndpoints/%v", exampleResourceGroup.Id, name), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
Amazon AWS example ¶
```sh
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/vpce-0f7aed6e7a18a1791
```
Google GCP example ¶
```sh
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/13585698993864708
```
Azure EKS example ¶
```sh
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/dc5ee5b1-4fc2-463e-a56b-ff54dd38b879/providers/Microsoft.Network/privateEndpoints/private-endpoint-example
```
func GetPrivateLinkEndpoint ¶
func GetPrivateLinkEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrivateLinkEndpointState, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)
GetPrivateLinkEndpoint gets an existing PrivateLinkEndpoint 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 NewPrivateLinkEndpoint ¶
func NewPrivateLinkEndpoint(ctx *pulumi.Context, name string, args *PrivateLinkEndpointArgs, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)
NewPrivateLinkEndpoint registers a new resource with the given unique name, arguments, and options.
func (*PrivateLinkEndpoint) ElementType ¶
func (*PrivateLinkEndpoint) ElementType() reflect.Type
func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutput ¶
func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext ¶
func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
type PrivateLinkEndpointArgs ¶
type PrivateLinkEndpointArgs struct { // The ID of the Astra database. DatabaseId pulumi.StringInput // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringInput // Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309" EndpointId pulumi.StringInput }
The set of arguments for constructing a PrivateLinkEndpoint resource.
func (PrivateLinkEndpointArgs) ElementType ¶
func (PrivateLinkEndpointArgs) ElementType() reflect.Type
type PrivateLinkEndpointArray ¶
type PrivateLinkEndpointArray []PrivateLinkEndpointInput
func (PrivateLinkEndpointArray) ElementType ¶
func (PrivateLinkEndpointArray) ElementType() reflect.Type
func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput ¶
func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput
func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext ¶
func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput
type PrivateLinkEndpointArrayInput ¶
type PrivateLinkEndpointArrayInput interface { pulumi.Input ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput ToPrivateLinkEndpointArrayOutputWithContext(context.Context) PrivateLinkEndpointArrayOutput }
PrivateLinkEndpointArrayInput is an input type that accepts PrivateLinkEndpointArray and PrivateLinkEndpointArrayOutput values. You can construct a concrete instance of `PrivateLinkEndpointArrayInput` via:
PrivateLinkEndpointArray{ PrivateLinkEndpointArgs{...} }
type PrivateLinkEndpointArrayOutput ¶
type PrivateLinkEndpointArrayOutput struct{ *pulumi.OutputState }
func (PrivateLinkEndpointArrayOutput) ElementType ¶
func (PrivateLinkEndpointArrayOutput) ElementType() reflect.Type
func (PrivateLinkEndpointArrayOutput) Index ¶
func (o PrivateLinkEndpointArrayOutput) Index(i pulumi.IntInput) PrivateLinkEndpointOutput
func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput ¶
func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput
func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext ¶
func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput
type PrivateLinkEndpointInput ¶
type PrivateLinkEndpointInput interface { pulumi.Input ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput }
type PrivateLinkEndpointMap ¶
type PrivateLinkEndpointMap map[string]PrivateLinkEndpointInput
func (PrivateLinkEndpointMap) ElementType ¶
func (PrivateLinkEndpointMap) ElementType() reflect.Type
func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput ¶
func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput
func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext ¶
func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput
type PrivateLinkEndpointMapInput ¶
type PrivateLinkEndpointMapInput interface { pulumi.Input ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput ToPrivateLinkEndpointMapOutputWithContext(context.Context) PrivateLinkEndpointMapOutput }
PrivateLinkEndpointMapInput is an input type that accepts PrivateLinkEndpointMap and PrivateLinkEndpointMapOutput values. You can construct a concrete instance of `PrivateLinkEndpointMapInput` via:
PrivateLinkEndpointMap{ "key": PrivateLinkEndpointArgs{...} }
type PrivateLinkEndpointMapOutput ¶
type PrivateLinkEndpointMapOutput struct{ *pulumi.OutputState }
func (PrivateLinkEndpointMapOutput) ElementType ¶
func (PrivateLinkEndpointMapOutput) ElementType() reflect.Type
func (PrivateLinkEndpointMapOutput) MapIndex ¶
func (o PrivateLinkEndpointMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkEndpointOutput
func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput ¶
func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput
func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext ¶
func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput
type PrivateLinkEndpointOutput ¶
type PrivateLinkEndpointOutput struct{ *pulumi.OutputState }
func (PrivateLinkEndpointOutput) AstraEndpointId ¶
func (o PrivateLinkEndpointOutput) AstraEndpointId() pulumi.StringOutput
Endpoint ID for referencing within Astra. May be different than the endpointId of this resource.
func (PrivateLinkEndpointOutput) DatabaseId ¶
func (o PrivateLinkEndpointOutput) DatabaseId() pulumi.StringOutput
The ID of the Astra database.
func (PrivateLinkEndpointOutput) DatacenterId ¶
func (o PrivateLinkEndpointOutput) DatacenterId() pulumi.StringOutput
Astra datacenter in the region where the private link will be created.
func (PrivateLinkEndpointOutput) ElementType ¶
func (PrivateLinkEndpointOutput) ElementType() reflect.Type
func (PrivateLinkEndpointOutput) EndpointId ¶
func (o PrivateLinkEndpointOutput) EndpointId() pulumi.StringOutput
Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput ¶
func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext ¶
func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
type PrivateLinkEndpointState ¶
type PrivateLinkEndpointState struct { // Endpoint ID for referencing within Astra. May be different than the endpointId of this resource. AstraEndpointId pulumi.StringPtrInput // The ID of the Astra database. DatabaseId pulumi.StringPtrInput // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringPtrInput // Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309" EndpointId pulumi.StringPtrInput }
func (PrivateLinkEndpointState) ElementType ¶
func (PrivateLinkEndpointState) ElementType() reflect.Type
type PrivateLinkInput ¶
type PrivateLinkInput interface { pulumi.Input ToPrivateLinkOutput() PrivateLinkOutput ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput }
type PrivateLinkMap ¶
type PrivateLinkMap map[string]PrivateLinkInput
func (PrivateLinkMap) ElementType ¶
func (PrivateLinkMap) ElementType() reflect.Type
func (PrivateLinkMap) ToPrivateLinkMapOutput ¶
func (i PrivateLinkMap) ToPrivateLinkMapOutput() PrivateLinkMapOutput
func (PrivateLinkMap) ToPrivateLinkMapOutputWithContext ¶
func (i PrivateLinkMap) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
type PrivateLinkMapInput ¶
type PrivateLinkMapInput interface { pulumi.Input ToPrivateLinkMapOutput() PrivateLinkMapOutput ToPrivateLinkMapOutputWithContext(context.Context) PrivateLinkMapOutput }
PrivateLinkMapInput is an input type that accepts PrivateLinkMap and PrivateLinkMapOutput values. You can construct a concrete instance of `PrivateLinkMapInput` via:
PrivateLinkMap{ "key": PrivateLinkArgs{...} }
type PrivateLinkMapOutput ¶
type PrivateLinkMapOutput struct{ *pulumi.OutputState }
func (PrivateLinkMapOutput) ElementType ¶
func (PrivateLinkMapOutput) ElementType() reflect.Type
func (PrivateLinkMapOutput) MapIndex ¶
func (o PrivateLinkMapOutput) MapIndex(k pulumi.StringInput) PrivateLinkOutput
func (PrivateLinkMapOutput) ToPrivateLinkMapOutput ¶
func (o PrivateLinkMapOutput) ToPrivateLinkMapOutput() PrivateLinkMapOutput
func (PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext ¶
func (o PrivateLinkMapOutput) ToPrivateLinkMapOutputWithContext(ctx context.Context) PrivateLinkMapOutput
type PrivateLinkOutput ¶
type PrivateLinkOutput struct{ *pulumi.OutputState }
func (PrivateLinkOutput) AllowedPrincipals ¶
func (o PrivateLinkOutput) AllowedPrincipals() pulumi.StringArrayOutput
List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin).
func (PrivateLinkOutput) DatabaseId ¶
func (o PrivateLinkOutput) DatabaseId() pulumi.StringOutput
Astra database where private link will be enabled.
func (PrivateLinkOutput) DatacenterId ¶
func (o PrivateLinkOutput) DatacenterId() pulumi.StringOutput
Astra datacenter in the region where the private link will be created.
func (PrivateLinkOutput) ElementType ¶
func (PrivateLinkOutput) ElementType() reflect.Type
func (PrivateLinkOutput) ServiceName ¶
func (o PrivateLinkOutput) ServiceName() pulumi.StringOutput
Name of the endpoint service for private link generated by the cloud provider.
func (PrivateLinkOutput) ToPrivateLinkOutput ¶
func (o PrivateLinkOutput) ToPrivateLinkOutput() PrivateLinkOutput
func (PrivateLinkOutput) ToPrivateLinkOutputWithContext ¶
func (o PrivateLinkOutput) ToPrivateLinkOutputWithContext(ctx context.Context) PrivateLinkOutput
type PrivateLinkState ¶
type PrivateLinkState struct { // List of service principals to apply to the Private Link (i.e. arn:aws:iam::123456789012:role/admin). AllowedPrincipals pulumi.StringArrayInput // Astra database where private link will be enabled. DatabaseId pulumi.StringPtrInput // Astra datacenter in the region where the private link will be created. DatacenterId pulumi.StringPtrInput // Name of the endpoint service for private link generated by the cloud provider. ServiceName pulumi.StringPtrInput }
func (PrivateLinkState) ElementType ¶
func (PrivateLinkState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // Authentication token for Astra API. Token pulumi.StringPtrOutput `pulumi:"token"` }
The provider type for the astra 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.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // Authentication token for Astra API. Token pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶
func (o ProviderOutput) Token() pulumi.StringPtrOutput
Authentication token for Astra API.
type Role ¶
type Role struct { pulumi.CustomResourceState // Role description Description pulumi.StringOutput `pulumi:"description"` // Role effect Effect pulumi.StringOutput `pulumi:"effect"` // List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies. Policies pulumi.StringArrayOutput `pulumi:"policies"` // Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above). Resources pulumi.StringArrayOutput `pulumi:"resources"` // Role ID, system generated RoleId pulumi.StringOutput `pulumi:"roleId"` // Role name RoleName pulumi.StringOutput `pulumi:"roleName"` }
`Role` resource represents custom roles for a particular Astra Org. Custom roles can be assigned to an Astra user is to grant them granular permissions when the default roles in the UI are not specific enough. Roles are composed of policies which are granted to resources.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewRole(ctx, "alldbsrole", &astra.RoleArgs{ RoleName: pulumi.String("alldbsrole"), Description: pulumi.String("Role that applies to all DBs in an org"), Effect: pulumi.String("allow"), Resources: pulumi.StringArray{ pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*"), pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*:keyspace:*"), pulumi.String("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:*:keyspace:*:table:*"), }, Policies: pulumi.StringArray{ pulumi.String("org-db-view"), pulumi.String("db-cql"), pulumi.String("db-table-alter"), pulumi.String("db-table-create"), pulumi.String("db-table-describe"), pulumi.String("db-table-modify"), pulumi.String("db-table-select"), pulumi.String("db-keyspace-alter"), pulumi.String("db-keyspace-describe"), pulumi.String("db-keyspace-modify"), pulumi.String("db-keyspace-authorize"), pulumi.String("db-keyspace-drop"), pulumi.String("db-keyspace-create"), pulumi.String("db-keyspace-grant"), }, }) if err != nil { return err } exampledb, err := astra.NewDatabase(ctx, "exampledb", &astra.DatabaseArgs{ Keyspace: pulumi.String("primaryks"), CloudProvider: pulumi.String("gcp"), Regions: pulumi.StringArray{ pulumi.String("us-east1"), }, }) if err != nil { return err } appks1, err := astra.NewKeyspace(ctx, "appks1", &astra.KeyspaceArgs{ DatabaseId: exampledb.ID(), }) if err != nil { return err } appks2, err := astra.NewKeyspace(ctx, "appks2", &astra.KeyspaceArgs{ DatabaseId: exampledb.ID(), }) if err != nil { return err } appks3, err := astra.NewKeyspace(ctx, "appks3", &astra.KeyspaceArgs{ DatabaseId: exampledb.ID(), }) if err != nil { return err } _, err = astra.NewRole(ctx, "singledbrole", &astra.RoleArgs{ RoleName: pulumi.String("singledbrole"), Description: pulumi.String("Role that applies to specific keyspaces for a single Astra DB"), Effect: pulumi.String("allow"), Resources: pulumi.StringArray{ pulumi.All(exampledb.ID(), exampledb.Keyspace).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) keyspace := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, keyspace), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), exampledb.Keyspace).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) keyspace := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, keyspace), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks1.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks1.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks2.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks2.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks3.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v", id, name), nil }).(pulumi.StringOutput), pulumi.All(exampledb.ID(), appks3.Name).ApplyT(func(_args []interface{}) (string, error) { id := _args[0].(string) name := _args[1].(string) return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:%v:table:*", id, name), nil }).(pulumi.StringOutput), exampledb.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:futureks", id), nil }).(pulumi.StringOutput), exampledb.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("drn:astra:org:f9f4b1e0-4c05-451e-9bba-d631295a7f73:db:%v:keyspace:futureks:table:*", id), nil }).(pulumi.StringOutput), }, Policies: pulumi.StringArray{ pulumi.String("org-db-view"), pulumi.String("db-cql"), pulumi.String("db-table-alter"), pulumi.String("db-table-create"), pulumi.String("db-table-describe"), pulumi.String("db-table-modify"), pulumi.String("db-table-select"), pulumi.String("db-keyspace-alter"), pulumi.String("db-keyspace-describe"), pulumi.String("db-keyspace-modify"), pulumi.String("db-keyspace-authorize"), pulumi.String("db-keyspace-drop"), pulumi.String("db-keyspace-create"), pulumi.String("db-keyspace-grant"), }, }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/role:Role example role-id
```
func GetRole ¶
func GetRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleState, opts ...pulumi.ResourceOption) (*Role, error)
GetRole gets an existing Role 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 NewRole ¶
func NewRole(ctx *pulumi.Context, name string, args *RoleArgs, opts ...pulumi.ResourceOption) (*Role, error)
NewRole registers a new resource with the given unique name, arguments, and options.
func (*Role) ElementType ¶
func (*Role) ToRoleOutput ¶
func (i *Role) ToRoleOutput() RoleOutput
func (*Role) ToRoleOutputWithContext ¶
func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput
type RoleArgs ¶
type RoleArgs struct { // Role description Description pulumi.StringInput // Role effect Effect pulumi.StringInput // List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies. Policies pulumi.StringArrayInput // Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above). Resources pulumi.StringArrayInput // Role name RoleName pulumi.StringInput }
The set of arguments for constructing a Role resource.
func (RoleArgs) ElementType ¶
type RoleArray ¶
type RoleArray []RoleInput
func (RoleArray) ElementType ¶
func (RoleArray) ToRoleArrayOutput ¶
func (i RoleArray) ToRoleArrayOutput() RoleArrayOutput
func (RoleArray) ToRoleArrayOutputWithContext ¶
func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleArrayInput ¶
type RoleArrayInput interface { pulumi.Input ToRoleArrayOutput() RoleArrayOutput ToRoleArrayOutputWithContext(context.Context) RoleArrayOutput }
RoleArrayInput is an input type that accepts RoleArray and RoleArrayOutput values. You can construct a concrete instance of `RoleArrayInput` via:
RoleArray{ RoleArgs{...} }
type RoleArrayOutput ¶
type RoleArrayOutput struct{ *pulumi.OutputState }
func (RoleArrayOutput) ElementType ¶
func (RoleArrayOutput) ElementType() reflect.Type
func (RoleArrayOutput) Index ¶
func (o RoleArrayOutput) Index(i pulumi.IntInput) RoleOutput
func (RoleArrayOutput) ToRoleArrayOutput ¶
func (o RoleArrayOutput) ToRoleArrayOutput() RoleArrayOutput
func (RoleArrayOutput) ToRoleArrayOutputWithContext ¶
func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput
type RoleInput ¶
type RoleInput interface { pulumi.Input ToRoleOutput() RoleOutput ToRoleOutputWithContext(ctx context.Context) RoleOutput }
type RoleMap ¶
func (RoleMap) ElementType ¶
func (RoleMap) ToRoleMapOutput ¶
func (i RoleMap) ToRoleMapOutput() RoleMapOutput
func (RoleMap) ToRoleMapOutputWithContext ¶
func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleMapInput ¶
type RoleMapInput interface { pulumi.Input ToRoleMapOutput() RoleMapOutput ToRoleMapOutputWithContext(context.Context) RoleMapOutput }
RoleMapInput is an input type that accepts RoleMap and RoleMapOutput values. You can construct a concrete instance of `RoleMapInput` via:
RoleMap{ "key": RoleArgs{...} }
type RoleMapOutput ¶
type RoleMapOutput struct{ *pulumi.OutputState }
func (RoleMapOutput) ElementType ¶
func (RoleMapOutput) ElementType() reflect.Type
func (RoleMapOutput) MapIndex ¶
func (o RoleMapOutput) MapIndex(k pulumi.StringInput) RoleOutput
func (RoleMapOutput) ToRoleMapOutput ¶
func (o RoleMapOutput) ToRoleMapOutput() RoleMapOutput
func (RoleMapOutput) ToRoleMapOutputWithContext ¶
func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput
type RoleOutput ¶
type RoleOutput struct{ *pulumi.OutputState }
func (RoleOutput) Description ¶
func (o RoleOutput) Description() pulumi.StringOutput
Role description
func (RoleOutput) ElementType ¶
func (RoleOutput) ElementType() reflect.Type
func (RoleOutput) Policies ¶
func (o RoleOutput) Policies() pulumi.StringArrayOutput
List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies.
func (RoleOutput) Resources ¶
func (o RoleOutput) Resources() pulumi.StringArrayOutput
Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above).
func (RoleOutput) RoleId ¶
func (o RoleOutput) RoleId() pulumi.StringOutput
Role ID, system generated
func (RoleOutput) ToRoleOutput ¶
func (o RoleOutput) ToRoleOutput() RoleOutput
func (RoleOutput) ToRoleOutputWithContext ¶
func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput
type RoleState ¶
type RoleState struct { // Role description Description pulumi.StringPtrInput // Role effect Effect pulumi.StringPtrInput // List of policies for the role. See https://docs.datastax.com/en/astra/docs/user-permissions.html#*operational*roles_detail for supported policies. Policies pulumi.StringArrayInput // Resources for which role is applicable (format is "drn:astra:org:\n\n", followed by optional resource criteria. See example usage above). Resources pulumi.StringArrayInput // Role ID, system generated RoleId pulumi.StringPtrInput // Role name RoleName pulumi.StringPtrInput }
func (RoleState) ElementType ¶
type StreamingSink ¶
type StreamingSink struct { pulumi.CustomResourceState // auto ack AutoAck pulumi.BoolOutput `pulumi:"autoAck"` // Cloud provider CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"` // Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Pulsar Namespace Namespace pulumi.StringOutput `pulumi:"namespace"` // Parallelism for Pulsar sink Parallelism pulumi.IntOutput `pulumi:"parallelism"` // "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE". ProcessingGuarantees pulumi.StringOutput `pulumi:"processingGuarantees"` // cloud region Region pulumi.StringOutput `pulumi:"region"` // Retain ordering. RetainOrdering pulumi.BoolOutput `pulumi:"retainOrdering"` // Sink Configs SinkConfigs pulumi.StringOutput `pulumi:"sinkConfigs"` // Name of the sink. SinkName pulumi.StringOutput `pulumi:"sinkName"` // Streaming tenant name. TenantName pulumi.StringOutput `pulumi:"tenantName"` // Streaming tenant topic. Topic pulumi.StringOutput `pulumi:"topic"` }
`StreamingSink` creates a streaming sink which sends data from a topic to a target system.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewStreamingTenant(ctx, "streamingTenant-1", &astra.StreamingTenantArgs{ TenantName: pulumi.String("terraformtest2"), Topic: pulumi.String("terraformtest"), Region: pulumi.String("useast-4"), CloudProvider: pulumi.String("gcp"), UserEmail: pulumi.String("seb@datastax.com"), }) if err != nil { return err } _, err = astra.NewCdc(ctx, "cdc-1", &astra.CdcArgs{ DatabaseId: pulumi.String("5b70892f-e01a-4595-98e6-19ecc9985d50"), DatabaseName: pulumi.String("sai_test"), Table: pulumi.String("test"), Keyspace: pulumi.String("sai_test"), TopicPartitions: pulumi.Int(3), TenantName: streamingTenant_1.TenantName, }, pulumi.DependsOn([]pulumi.Resource{ streamingTenant_1, })) if err != nil { return err } tmpJSON0, err := json.Marshal(map[string]interface{}{ "userName": "clickhouse", "password": "password", "jdbcUrl": "jdbc:clickhouse://fake.clickhouse.url:8123/pulsar_clickhouse_jdbc_sink", "tableName": "pulsar_clickhouse_jdbc_sink", }) if err != nil { return err } json0 := string(tmpJSON0) _, err = astra.NewStreamingSink(ctx, "streamingSink-1", &astra.StreamingSinkArgs{ TenantName: streamingTenant_1.TenantName, Topic: cdc_1.DataTopic, Region: pulumi.String("useast-4"), CloudProvider: pulumi.String("gcp"), SinkName: pulumi.String("jdbc-clickhouse"), RetainOrdering: pulumi.Bool(true), ProcessingGuarantees: pulumi.String("ATLEAST_ONCE"), Parallelism: pulumi.Int(3), Namespace: pulumi.String("default"), SinkConfigs: pulumi.String(json0), AutoAck: pulumi.Bool(true), }, pulumi.DependsOn([]pulumi.Resource{ streamingTenant_1, cdc_1, })) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/streamingSink:StreamingSink example tenant_name/topic
```
func GetStreamingSink ¶
func GetStreamingSink(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StreamingSinkState, opts ...pulumi.ResourceOption) (*StreamingSink, error)
GetStreamingSink gets an existing StreamingSink 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 NewStreamingSink ¶
func NewStreamingSink(ctx *pulumi.Context, name string, args *StreamingSinkArgs, opts ...pulumi.ResourceOption) (*StreamingSink, error)
NewStreamingSink registers a new resource with the given unique name, arguments, and options.
func (*StreamingSink) ElementType ¶
func (*StreamingSink) ElementType() reflect.Type
func (*StreamingSink) ToStreamingSinkOutput ¶
func (i *StreamingSink) ToStreamingSinkOutput() StreamingSinkOutput
func (*StreamingSink) ToStreamingSinkOutputWithContext ¶
func (i *StreamingSink) ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput
type StreamingSinkArgs ¶
type StreamingSinkArgs struct { // auto ack AutoAck pulumi.BoolInput // Cloud provider CloudProvider pulumi.StringInput // Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // Pulsar Namespace Namespace pulumi.StringInput // Parallelism for Pulsar sink Parallelism pulumi.IntInput // "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE". ProcessingGuarantees pulumi.StringInput // cloud region Region pulumi.StringInput // Retain ordering. RetainOrdering pulumi.BoolInput // Sink Configs SinkConfigs pulumi.StringInput // Name of the sink. SinkName pulumi.StringInput // Streaming tenant name. TenantName pulumi.StringInput // Streaming tenant topic. Topic pulumi.StringInput }
The set of arguments for constructing a StreamingSink resource.
func (StreamingSinkArgs) ElementType ¶
func (StreamingSinkArgs) ElementType() reflect.Type
type StreamingSinkArray ¶
type StreamingSinkArray []StreamingSinkInput
func (StreamingSinkArray) ElementType ¶
func (StreamingSinkArray) ElementType() reflect.Type
func (StreamingSinkArray) ToStreamingSinkArrayOutput ¶
func (i StreamingSinkArray) ToStreamingSinkArrayOutput() StreamingSinkArrayOutput
func (StreamingSinkArray) ToStreamingSinkArrayOutputWithContext ¶
func (i StreamingSinkArray) ToStreamingSinkArrayOutputWithContext(ctx context.Context) StreamingSinkArrayOutput
type StreamingSinkArrayInput ¶
type StreamingSinkArrayInput interface { pulumi.Input ToStreamingSinkArrayOutput() StreamingSinkArrayOutput ToStreamingSinkArrayOutputWithContext(context.Context) StreamingSinkArrayOutput }
StreamingSinkArrayInput is an input type that accepts StreamingSinkArray and StreamingSinkArrayOutput values. You can construct a concrete instance of `StreamingSinkArrayInput` via:
StreamingSinkArray{ StreamingSinkArgs{...} }
type StreamingSinkArrayOutput ¶
type StreamingSinkArrayOutput struct{ *pulumi.OutputState }
func (StreamingSinkArrayOutput) ElementType ¶
func (StreamingSinkArrayOutput) ElementType() reflect.Type
func (StreamingSinkArrayOutput) Index ¶
func (o StreamingSinkArrayOutput) Index(i pulumi.IntInput) StreamingSinkOutput
func (StreamingSinkArrayOutput) ToStreamingSinkArrayOutput ¶
func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutput() StreamingSinkArrayOutput
func (StreamingSinkArrayOutput) ToStreamingSinkArrayOutputWithContext ¶
func (o StreamingSinkArrayOutput) ToStreamingSinkArrayOutputWithContext(ctx context.Context) StreamingSinkArrayOutput
type StreamingSinkInput ¶
type StreamingSinkInput interface { pulumi.Input ToStreamingSinkOutput() StreamingSinkOutput ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput }
type StreamingSinkMap ¶
type StreamingSinkMap map[string]StreamingSinkInput
func (StreamingSinkMap) ElementType ¶
func (StreamingSinkMap) ElementType() reflect.Type
func (StreamingSinkMap) ToStreamingSinkMapOutput ¶
func (i StreamingSinkMap) ToStreamingSinkMapOutput() StreamingSinkMapOutput
func (StreamingSinkMap) ToStreamingSinkMapOutputWithContext ¶
func (i StreamingSinkMap) ToStreamingSinkMapOutputWithContext(ctx context.Context) StreamingSinkMapOutput
type StreamingSinkMapInput ¶
type StreamingSinkMapInput interface { pulumi.Input ToStreamingSinkMapOutput() StreamingSinkMapOutput ToStreamingSinkMapOutputWithContext(context.Context) StreamingSinkMapOutput }
StreamingSinkMapInput is an input type that accepts StreamingSinkMap and StreamingSinkMapOutput values. You can construct a concrete instance of `StreamingSinkMapInput` via:
StreamingSinkMap{ "key": StreamingSinkArgs{...} }
type StreamingSinkMapOutput ¶
type StreamingSinkMapOutput struct{ *pulumi.OutputState }
func (StreamingSinkMapOutput) ElementType ¶
func (StreamingSinkMapOutput) ElementType() reflect.Type
func (StreamingSinkMapOutput) MapIndex ¶
func (o StreamingSinkMapOutput) MapIndex(k pulumi.StringInput) StreamingSinkOutput
func (StreamingSinkMapOutput) ToStreamingSinkMapOutput ¶
func (o StreamingSinkMapOutput) ToStreamingSinkMapOutput() StreamingSinkMapOutput
func (StreamingSinkMapOutput) ToStreamingSinkMapOutputWithContext ¶
func (o StreamingSinkMapOutput) ToStreamingSinkMapOutputWithContext(ctx context.Context) StreamingSinkMapOutput
type StreamingSinkOutput ¶
type StreamingSinkOutput struct{ *pulumi.OutputState }
func (StreamingSinkOutput) AutoAck ¶
func (o StreamingSinkOutput) AutoAck() pulumi.BoolOutput
auto ack
func (StreamingSinkOutput) CloudProvider ¶
func (o StreamingSinkOutput) CloudProvider() pulumi.StringOutput
Cloud provider
func (StreamingSinkOutput) DeletionProtection ¶
func (o StreamingSinkOutput) DeletionProtection() pulumi.BoolPtrOutput
Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
func (StreamingSinkOutput) ElementType ¶
func (StreamingSinkOutput) ElementType() reflect.Type
func (StreamingSinkOutput) Namespace ¶
func (o StreamingSinkOutput) Namespace() pulumi.StringOutput
Pulsar Namespace
func (StreamingSinkOutput) Parallelism ¶
func (o StreamingSinkOutput) Parallelism() pulumi.IntOutput
Parallelism for Pulsar sink
func (StreamingSinkOutput) ProcessingGuarantees ¶
func (o StreamingSinkOutput) ProcessingGuarantees() pulumi.StringOutput
"ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE".
func (StreamingSinkOutput) Region ¶
func (o StreamingSinkOutput) Region() pulumi.StringOutput
cloud region
func (StreamingSinkOutput) RetainOrdering ¶
func (o StreamingSinkOutput) RetainOrdering() pulumi.BoolOutput
Retain ordering.
func (StreamingSinkOutput) SinkConfigs ¶
func (o StreamingSinkOutput) SinkConfigs() pulumi.StringOutput
Sink Configs
func (StreamingSinkOutput) SinkName ¶
func (o StreamingSinkOutput) SinkName() pulumi.StringOutput
Name of the sink.
func (StreamingSinkOutput) TenantName ¶
func (o StreamingSinkOutput) TenantName() pulumi.StringOutput
Streaming tenant name.
func (StreamingSinkOutput) ToStreamingSinkOutput ¶
func (o StreamingSinkOutput) ToStreamingSinkOutput() StreamingSinkOutput
func (StreamingSinkOutput) ToStreamingSinkOutputWithContext ¶
func (o StreamingSinkOutput) ToStreamingSinkOutputWithContext(ctx context.Context) StreamingSinkOutput
func (StreamingSinkOutput) Topic ¶
func (o StreamingSinkOutput) Topic() pulumi.StringOutput
Streaming tenant topic.
type StreamingSinkState ¶
type StreamingSinkState struct { // auto ack AutoAck pulumi.BoolPtrInput // Cloud provider CloudProvider pulumi.StringPtrInput // Whether or not to allow Terraform to destroy this streaming sink. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // Pulsar Namespace Namespace pulumi.StringPtrInput // Parallelism for Pulsar sink Parallelism pulumi.IntPtrInput // "ATLEAST*ONCE""ATMOST*ONCE""EFFECTIVELY_ONCE". ProcessingGuarantees pulumi.StringPtrInput // cloud region Region pulumi.StringPtrInput // Retain ordering. RetainOrdering pulumi.BoolPtrInput // Sink Configs SinkConfigs pulumi.StringPtrInput // Name of the sink. SinkName pulumi.StringPtrInput // Streaming tenant name. TenantName pulumi.StringPtrInput // Streaming tenant topic. Topic pulumi.StringPtrInput }
func (StreamingSinkState) ElementType ¶
func (StreamingSinkState) ElementType() reflect.Type
type StreamingTenant ¶
type StreamingTenant struct { pulumi.CustomResourceState // The Pulsar Binary Protocol URL used for production and consumption of messages. BrokerServiceUrl pulumi.StringOutput `pulumi:"brokerServiceUrl"` // Cloud provider CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"` // Pulsar cluster name. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // cloud region Region pulumi.StringOutput `pulumi:"region"` // UUID for the tenant. TenantId pulumi.StringOutput `pulumi:"tenantId"` // Streaming tenant name. TenantName pulumi.StringOutput `pulumi:"tenantName"` // Streaming tenant topic. Topic pulumi.StringOutput `pulumi:"topic"` // User email for tenant. UserEmail pulumi.StringOutput `pulumi:"userEmail"` // URL for metrics. UserMetricsUrl pulumi.StringOutput `pulumi:"userMetricsUrl"` // URL used for administrative operations. WebServiceUrl pulumi.StringOutput `pulumi:"webServiceUrl"` // URL used for web socket query parameter operations. WebSocketQueryParamUrl pulumi.StringOutput `pulumi:"webSocketQueryParamUrl"` // URL used for web socket operations. WebSocketUrl pulumi.StringOutput `pulumi:"webSocketUrl"` }
`StreamingTenant` creates an Astra Streaming tenant.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewStreamingTenant(ctx, "streamingTenant-1", &astra.StreamingTenantArgs{ CloudProvider: pulumi.String("gcp"), Region: pulumi.String("useast-4"), TenantName: pulumi.String("terraformtest"), Topic: pulumi.String("terraformtest"), UserEmail: pulumi.String("seb@datastax.com"), }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/streamingTenant:StreamingTenant example tenant_name
```
func GetStreamingTenant ¶
func GetStreamingTenant(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StreamingTenantState, opts ...pulumi.ResourceOption) (*StreamingTenant, error)
GetStreamingTenant gets an existing StreamingTenant 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 NewStreamingTenant ¶
func NewStreamingTenant(ctx *pulumi.Context, name string, args *StreamingTenantArgs, opts ...pulumi.ResourceOption) (*StreamingTenant, error)
NewStreamingTenant registers a new resource with the given unique name, arguments, and options.
func (*StreamingTenant) ElementType ¶
func (*StreamingTenant) ElementType() reflect.Type
func (*StreamingTenant) ToStreamingTenantOutput ¶
func (i *StreamingTenant) ToStreamingTenantOutput() StreamingTenantOutput
func (*StreamingTenant) ToStreamingTenantOutputWithContext ¶
func (i *StreamingTenant) ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput
type StreamingTenantArgs ¶
type StreamingTenantArgs struct { // Cloud provider CloudProvider pulumi.StringInput // Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // cloud region Region pulumi.StringInput // Streaming tenant name. TenantName pulumi.StringInput // Streaming tenant topic. Topic pulumi.StringInput // User email for tenant. UserEmail pulumi.StringInput }
The set of arguments for constructing a StreamingTenant resource.
func (StreamingTenantArgs) ElementType ¶
func (StreamingTenantArgs) ElementType() reflect.Type
type StreamingTenantArray ¶
type StreamingTenantArray []StreamingTenantInput
func (StreamingTenantArray) ElementType ¶
func (StreamingTenantArray) ElementType() reflect.Type
func (StreamingTenantArray) ToStreamingTenantArrayOutput ¶
func (i StreamingTenantArray) ToStreamingTenantArrayOutput() StreamingTenantArrayOutput
func (StreamingTenantArray) ToStreamingTenantArrayOutputWithContext ¶
func (i StreamingTenantArray) ToStreamingTenantArrayOutputWithContext(ctx context.Context) StreamingTenantArrayOutput
type StreamingTenantArrayInput ¶
type StreamingTenantArrayInput interface { pulumi.Input ToStreamingTenantArrayOutput() StreamingTenantArrayOutput ToStreamingTenantArrayOutputWithContext(context.Context) StreamingTenantArrayOutput }
StreamingTenantArrayInput is an input type that accepts StreamingTenantArray and StreamingTenantArrayOutput values. You can construct a concrete instance of `StreamingTenantArrayInput` via:
StreamingTenantArray{ StreamingTenantArgs{...} }
type StreamingTenantArrayOutput ¶
type StreamingTenantArrayOutput struct{ *pulumi.OutputState }
func (StreamingTenantArrayOutput) ElementType ¶
func (StreamingTenantArrayOutput) ElementType() reflect.Type
func (StreamingTenantArrayOutput) Index ¶
func (o StreamingTenantArrayOutput) Index(i pulumi.IntInput) StreamingTenantOutput
func (StreamingTenantArrayOutput) ToStreamingTenantArrayOutput ¶
func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutput() StreamingTenantArrayOutput
func (StreamingTenantArrayOutput) ToStreamingTenantArrayOutputWithContext ¶
func (o StreamingTenantArrayOutput) ToStreamingTenantArrayOutputWithContext(ctx context.Context) StreamingTenantArrayOutput
type StreamingTenantInput ¶
type StreamingTenantInput interface { pulumi.Input ToStreamingTenantOutput() StreamingTenantOutput ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput }
type StreamingTenantMap ¶
type StreamingTenantMap map[string]StreamingTenantInput
func (StreamingTenantMap) ElementType ¶
func (StreamingTenantMap) ElementType() reflect.Type
func (StreamingTenantMap) ToStreamingTenantMapOutput ¶
func (i StreamingTenantMap) ToStreamingTenantMapOutput() StreamingTenantMapOutput
func (StreamingTenantMap) ToStreamingTenantMapOutputWithContext ¶
func (i StreamingTenantMap) ToStreamingTenantMapOutputWithContext(ctx context.Context) StreamingTenantMapOutput
type StreamingTenantMapInput ¶
type StreamingTenantMapInput interface { pulumi.Input ToStreamingTenantMapOutput() StreamingTenantMapOutput ToStreamingTenantMapOutputWithContext(context.Context) StreamingTenantMapOutput }
StreamingTenantMapInput is an input type that accepts StreamingTenantMap and StreamingTenantMapOutput values. You can construct a concrete instance of `StreamingTenantMapInput` via:
StreamingTenantMap{ "key": StreamingTenantArgs{...} }
type StreamingTenantMapOutput ¶
type StreamingTenantMapOutput struct{ *pulumi.OutputState }
func (StreamingTenantMapOutput) ElementType ¶
func (StreamingTenantMapOutput) ElementType() reflect.Type
func (StreamingTenantMapOutput) MapIndex ¶
func (o StreamingTenantMapOutput) MapIndex(k pulumi.StringInput) StreamingTenantOutput
func (StreamingTenantMapOutput) ToStreamingTenantMapOutput ¶
func (o StreamingTenantMapOutput) ToStreamingTenantMapOutput() StreamingTenantMapOutput
func (StreamingTenantMapOutput) ToStreamingTenantMapOutputWithContext ¶
func (o StreamingTenantMapOutput) ToStreamingTenantMapOutputWithContext(ctx context.Context) StreamingTenantMapOutput
type StreamingTenantOutput ¶
type StreamingTenantOutput struct{ *pulumi.OutputState }
func (StreamingTenantOutput) BrokerServiceUrl ¶
func (o StreamingTenantOutput) BrokerServiceUrl() pulumi.StringOutput
The Pulsar Binary Protocol URL used for production and consumption of messages.
func (StreamingTenantOutput) CloudProvider ¶
func (o StreamingTenantOutput) CloudProvider() pulumi.StringOutput
Cloud provider
func (StreamingTenantOutput) ClusterName ¶
func (o StreamingTenantOutput) ClusterName() pulumi.StringOutput
Pulsar cluster name.
func (StreamingTenantOutput) DeletionProtection ¶
func (o StreamingTenantOutput) DeletionProtection() pulumi.BoolPtrOutput
Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
func (StreamingTenantOutput) ElementType ¶
func (StreamingTenantOutput) ElementType() reflect.Type
func (StreamingTenantOutput) Region ¶
func (o StreamingTenantOutput) Region() pulumi.StringOutput
cloud region
func (StreamingTenantOutput) TenantId ¶
func (o StreamingTenantOutput) TenantId() pulumi.StringOutput
UUID for the tenant.
func (StreamingTenantOutput) TenantName ¶
func (o StreamingTenantOutput) TenantName() pulumi.StringOutput
Streaming tenant name.
func (StreamingTenantOutput) ToStreamingTenantOutput ¶
func (o StreamingTenantOutput) ToStreamingTenantOutput() StreamingTenantOutput
func (StreamingTenantOutput) ToStreamingTenantOutputWithContext ¶
func (o StreamingTenantOutput) ToStreamingTenantOutputWithContext(ctx context.Context) StreamingTenantOutput
func (StreamingTenantOutput) Topic ¶
func (o StreamingTenantOutput) Topic() pulumi.StringOutput
Streaming tenant topic.
func (StreamingTenantOutput) UserEmail ¶
func (o StreamingTenantOutput) UserEmail() pulumi.StringOutput
User email for tenant.
func (StreamingTenantOutput) UserMetricsUrl ¶
func (o StreamingTenantOutput) UserMetricsUrl() pulumi.StringOutput
URL for metrics.
func (StreamingTenantOutput) WebServiceUrl ¶
func (o StreamingTenantOutput) WebServiceUrl() pulumi.StringOutput
URL used for administrative operations.
func (StreamingTenantOutput) WebSocketQueryParamUrl ¶
func (o StreamingTenantOutput) WebSocketQueryParamUrl() pulumi.StringOutput
URL used for web socket query parameter operations.
func (StreamingTenantOutput) WebSocketUrl ¶
func (o StreamingTenantOutput) WebSocketUrl() pulumi.StringOutput
URL used for web socket operations.
type StreamingTenantState ¶
type StreamingTenantState struct { // The Pulsar Binary Protocol URL used for production and consumption of messages. BrokerServiceUrl pulumi.StringPtrInput // Cloud provider CloudProvider pulumi.StringPtrInput // Pulsar cluster name. ClusterName pulumi.StringPtrInput // Whether or not to allow Terraform to destroy this tenant. Unless this field is set to false in Terraform state, a // `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // cloud region Region pulumi.StringPtrInput // UUID for the tenant. TenantId pulumi.StringPtrInput // Streaming tenant name. TenantName pulumi.StringPtrInput // Streaming tenant topic. Topic pulumi.StringPtrInput // User email for tenant. UserEmail pulumi.StringPtrInput // URL for metrics. UserMetricsUrl pulumi.StringPtrInput // URL used for administrative operations. WebServiceUrl pulumi.StringPtrInput // URL used for web socket query parameter operations. WebSocketQueryParamUrl pulumi.StringPtrInput // URL used for web socket operations. WebSocketUrl pulumi.StringPtrInput }
func (StreamingTenantState) ElementType ¶
func (StreamingTenantState) ElementType() reflect.Type
type StreamingTopic ¶
type StreamingTopic struct { pulumi.CustomResourceState // Cloud provider CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"` // Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Pulsar Namespace Namespace pulumi.StringOutput `pulumi:"namespace"` // cloud region Region pulumi.StringOutput `pulumi:"region"` // Streaming tenant name. TenantName pulumi.StringOutput `pulumi:"tenantName"` // Streaming tenant topic. Topic pulumi.StringOutput `pulumi:"topic"` }
`StreamingTopic` creates an Astra Streaming topic.
func GetStreamingTopic ¶
func GetStreamingTopic(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StreamingTopicState, opts ...pulumi.ResourceOption) (*StreamingTopic, error)
GetStreamingTopic gets an existing StreamingTopic 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 NewStreamingTopic ¶
func NewStreamingTopic(ctx *pulumi.Context, name string, args *StreamingTopicArgs, opts ...pulumi.ResourceOption) (*StreamingTopic, error)
NewStreamingTopic registers a new resource with the given unique name, arguments, and options.
func (*StreamingTopic) ElementType ¶
func (*StreamingTopic) ElementType() reflect.Type
func (*StreamingTopic) ToStreamingTopicOutput ¶
func (i *StreamingTopic) ToStreamingTopicOutput() StreamingTopicOutput
func (*StreamingTopic) ToStreamingTopicOutputWithContext ¶
func (i *StreamingTopic) ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput
type StreamingTopicArgs ¶
type StreamingTopicArgs struct { // Cloud provider CloudProvider pulumi.StringInput // Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // Pulsar Namespace Namespace pulumi.StringInput // cloud region Region pulumi.StringInput // Streaming tenant name. TenantName pulumi.StringInput // Streaming tenant topic. Topic pulumi.StringInput }
The set of arguments for constructing a StreamingTopic resource.
func (StreamingTopicArgs) ElementType ¶
func (StreamingTopicArgs) ElementType() reflect.Type
type StreamingTopicArray ¶
type StreamingTopicArray []StreamingTopicInput
func (StreamingTopicArray) ElementType ¶
func (StreamingTopicArray) ElementType() reflect.Type
func (StreamingTopicArray) ToStreamingTopicArrayOutput ¶
func (i StreamingTopicArray) ToStreamingTopicArrayOutput() StreamingTopicArrayOutput
func (StreamingTopicArray) ToStreamingTopicArrayOutputWithContext ¶
func (i StreamingTopicArray) ToStreamingTopicArrayOutputWithContext(ctx context.Context) StreamingTopicArrayOutput
type StreamingTopicArrayInput ¶
type StreamingTopicArrayInput interface { pulumi.Input ToStreamingTopicArrayOutput() StreamingTopicArrayOutput ToStreamingTopicArrayOutputWithContext(context.Context) StreamingTopicArrayOutput }
StreamingTopicArrayInput is an input type that accepts StreamingTopicArray and StreamingTopicArrayOutput values. You can construct a concrete instance of `StreamingTopicArrayInput` via:
StreamingTopicArray{ StreamingTopicArgs{...} }
type StreamingTopicArrayOutput ¶
type StreamingTopicArrayOutput struct{ *pulumi.OutputState }
func (StreamingTopicArrayOutput) ElementType ¶
func (StreamingTopicArrayOutput) ElementType() reflect.Type
func (StreamingTopicArrayOutput) Index ¶
func (o StreamingTopicArrayOutput) Index(i pulumi.IntInput) StreamingTopicOutput
func (StreamingTopicArrayOutput) ToStreamingTopicArrayOutput ¶
func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutput() StreamingTopicArrayOutput
func (StreamingTopicArrayOutput) ToStreamingTopicArrayOutputWithContext ¶
func (o StreamingTopicArrayOutput) ToStreamingTopicArrayOutputWithContext(ctx context.Context) StreamingTopicArrayOutput
type StreamingTopicInput ¶
type StreamingTopicInput interface { pulumi.Input ToStreamingTopicOutput() StreamingTopicOutput ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput }
type StreamingTopicMap ¶
type StreamingTopicMap map[string]StreamingTopicInput
func (StreamingTopicMap) ElementType ¶
func (StreamingTopicMap) ElementType() reflect.Type
func (StreamingTopicMap) ToStreamingTopicMapOutput ¶
func (i StreamingTopicMap) ToStreamingTopicMapOutput() StreamingTopicMapOutput
func (StreamingTopicMap) ToStreamingTopicMapOutputWithContext ¶
func (i StreamingTopicMap) ToStreamingTopicMapOutputWithContext(ctx context.Context) StreamingTopicMapOutput
type StreamingTopicMapInput ¶
type StreamingTopicMapInput interface { pulumi.Input ToStreamingTopicMapOutput() StreamingTopicMapOutput ToStreamingTopicMapOutputWithContext(context.Context) StreamingTopicMapOutput }
StreamingTopicMapInput is an input type that accepts StreamingTopicMap and StreamingTopicMapOutput values. You can construct a concrete instance of `StreamingTopicMapInput` via:
StreamingTopicMap{ "key": StreamingTopicArgs{...} }
type StreamingTopicMapOutput ¶
type StreamingTopicMapOutput struct{ *pulumi.OutputState }
func (StreamingTopicMapOutput) ElementType ¶
func (StreamingTopicMapOutput) ElementType() reflect.Type
func (StreamingTopicMapOutput) MapIndex ¶
func (o StreamingTopicMapOutput) MapIndex(k pulumi.StringInput) StreamingTopicOutput
func (StreamingTopicMapOutput) ToStreamingTopicMapOutput ¶
func (o StreamingTopicMapOutput) ToStreamingTopicMapOutput() StreamingTopicMapOutput
func (StreamingTopicMapOutput) ToStreamingTopicMapOutputWithContext ¶
func (o StreamingTopicMapOutput) ToStreamingTopicMapOutputWithContext(ctx context.Context) StreamingTopicMapOutput
type StreamingTopicOutput ¶
type StreamingTopicOutput struct{ *pulumi.OutputState }
func (StreamingTopicOutput) CloudProvider ¶
func (o StreamingTopicOutput) CloudProvider() pulumi.StringOutput
Cloud provider
func (StreamingTopicOutput) DeletionProtection ¶
func (o StreamingTopicOutput) DeletionProtection() pulumi.BoolPtrOutput
Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state, a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`.
func (StreamingTopicOutput) ElementType ¶
func (StreamingTopicOutput) ElementType() reflect.Type
func (StreamingTopicOutput) Namespace ¶
func (o StreamingTopicOutput) Namespace() pulumi.StringOutput
Pulsar Namespace
func (StreamingTopicOutput) Region ¶
func (o StreamingTopicOutput) Region() pulumi.StringOutput
cloud region
func (StreamingTopicOutput) TenantName ¶
func (o StreamingTopicOutput) TenantName() pulumi.StringOutput
Streaming tenant name.
func (StreamingTopicOutput) ToStreamingTopicOutput ¶
func (o StreamingTopicOutput) ToStreamingTopicOutput() StreamingTopicOutput
func (StreamingTopicOutput) ToStreamingTopicOutputWithContext ¶
func (o StreamingTopicOutput) ToStreamingTopicOutputWithContext(ctx context.Context) StreamingTopicOutput
func (StreamingTopicOutput) Topic ¶
func (o StreamingTopicOutput) Topic() pulumi.StringOutput
Streaming tenant topic.
type StreamingTopicState ¶
type StreamingTopicState struct { // Cloud provider CloudProvider pulumi.StringPtrInput // Whether or not to allow Terraform to destroy this streaming topic. Unless this field is set to false in Terraform state, // a `terraform destroy` or `terraform apply` command that deletes the instance will fail. Defaults to `true`. DeletionProtection pulumi.BoolPtrInput // Pulsar Namespace Namespace pulumi.StringPtrInput // cloud region Region pulumi.StringPtrInput // Streaming tenant name. TenantName pulumi.StringPtrInput // Streaming tenant topic. Topic pulumi.StringPtrInput }
func (StreamingTopicState) ElementType ¶
func (StreamingTopicState) ElementType() reflect.Type
type Table ¶
type Table struct { pulumi.CustomResourceState // Clustering column(s), separated by : ClusteringColumns pulumi.StringOutput `pulumi:"clusteringColumns"` // A list of table Definitions ColumnDefinitions pulumi.StringMapArrayOutput `pulumi:"columnDefinitions"` // Astra database to create the keyspace. DatabaseId pulumi.StringOutput `pulumi:"databaseId"` // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Keyspace pulumi.StringOutput `pulumi:"keyspace"` // Partition key(s), separated by : PartitionKeys pulumi.StringOutput `pulumi:"partitionKeys"` // region. Region pulumi.StringOutput `pulumi:"region"` // Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Table pulumi.StringOutput `pulumi:"table"` }
`Table` provides a table resource which represents a table in cassandra.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dev, err := astra.NewDatabase(ctx, "dev", &astra.DatabaseArgs{ Keyspace: pulumi.String("puppies"), CloudProvider: pulumi.String("gcp"), Regions: pulumi.StringArray{ pulumi.String("us-east1"), }, }) if err != nil { return err } _, err = astra.NewTable(ctx, "table-1", &astra.TableArgs{ Table: pulumi.String("mytable"), Keyspace: pulumi.String("puppies"), DatabaseId: dev.ID(), Region: pulumi.String("us-east1"), ClusteringColumns: pulumi.String("a:b"), PartitionKeys: pulumi.String("c:d"), ColumnDefinitions: pulumi.StringMapArray{ pulumi.StringMap{ "Name": pulumi.String("a"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, pulumi.StringMap{ "Name": pulumi.String("b"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, pulumi.StringMap{ "Name": pulumi.String("c"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, pulumi.StringMap{ "Name": pulumi.String("d"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, pulumi.StringMap{ "Name": pulumi.String("e"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, pulumi.StringMap{ "Name": pulumi.String("f"), "Static": pulumi.String("false"), "TypeDefinition": pulumi.String("text"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
the import id includes the database_id, keyspace name, and table name. ¶
```sh
$ pulumi import astra:index/table:Table example 48bfc13b-c1a5-48db-b70f-b6ef9709872b/kayspacename/tablename
```
func GetTable ¶
func GetTable(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)
GetTable gets an existing Table 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 NewTable ¶
func NewTable(ctx *pulumi.Context, name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)
NewTable registers a new resource with the given unique name, arguments, and options.
func (*Table) ElementType ¶
func (*Table) ToTableOutput ¶
func (i *Table) ToTableOutput() TableOutput
func (*Table) ToTableOutputWithContext ¶
func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput
type TableArgs ¶
type TableArgs struct { // Clustering column(s), separated by : ClusteringColumns pulumi.StringInput // A list of table Definitions ColumnDefinitions pulumi.StringMapArrayInput // Astra database to create the keyspace. DatabaseId pulumi.StringInput // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Keyspace pulumi.StringInput // Partition key(s), separated by : PartitionKeys pulumi.StringInput // region. Region pulumi.StringInput // Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Table pulumi.StringInput }
The set of arguments for constructing a Table resource.
func (TableArgs) ElementType ¶
type TableArray ¶
type TableArray []TableInput
func (TableArray) ElementType ¶
func (TableArray) ElementType() reflect.Type
func (TableArray) ToTableArrayOutput ¶
func (i TableArray) ToTableArrayOutput() TableArrayOutput
func (TableArray) ToTableArrayOutputWithContext ¶
func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableArrayInput ¶
type TableArrayInput interface { pulumi.Input ToTableArrayOutput() TableArrayOutput ToTableArrayOutputWithContext(context.Context) TableArrayOutput }
TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:
TableArray{ TableArgs{...} }
type TableArrayOutput ¶
type TableArrayOutput struct{ *pulumi.OutputState }
func (TableArrayOutput) ElementType ¶
func (TableArrayOutput) ElementType() reflect.Type
func (TableArrayOutput) Index ¶
func (o TableArrayOutput) Index(i pulumi.IntInput) TableOutput
func (TableArrayOutput) ToTableArrayOutput ¶
func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput
func (TableArrayOutput) ToTableArrayOutputWithContext ¶
func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput
type TableInput ¶
type TableInput interface { pulumi.Input ToTableOutput() TableOutput ToTableOutputWithContext(ctx context.Context) TableOutput }
type TableMap ¶
type TableMap map[string]TableInput
func (TableMap) ElementType ¶
func (TableMap) ToTableMapOutput ¶
func (i TableMap) ToTableMapOutput() TableMapOutput
func (TableMap) ToTableMapOutputWithContext ¶
func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableMapInput ¶
type TableMapInput interface { pulumi.Input ToTableMapOutput() TableMapOutput ToTableMapOutputWithContext(context.Context) TableMapOutput }
TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:
TableMap{ "key": TableArgs{...} }
type TableMapOutput ¶
type TableMapOutput struct{ *pulumi.OutputState }
func (TableMapOutput) ElementType ¶
func (TableMapOutput) ElementType() reflect.Type
func (TableMapOutput) MapIndex ¶
func (o TableMapOutput) MapIndex(k pulumi.StringInput) TableOutput
func (TableMapOutput) ToTableMapOutput ¶
func (o TableMapOutput) ToTableMapOutput() TableMapOutput
func (TableMapOutput) ToTableMapOutputWithContext ¶
func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput
type TableOutput ¶
type TableOutput struct{ *pulumi.OutputState }
func (TableOutput) ClusteringColumns ¶
func (o TableOutput) ClusteringColumns() pulumi.StringOutput
Clustering column(s), separated by :
func (TableOutput) ColumnDefinitions ¶
func (o TableOutput) ColumnDefinitions() pulumi.StringMapArrayOutput
A list of table Definitions
func (TableOutput) DatabaseId ¶
func (o TableOutput) DatabaseId() pulumi.StringOutput
Astra database to create the keyspace.
func (TableOutput) ElementType ¶
func (TableOutput) ElementType() reflect.Type
func (TableOutput) Keyspace ¶
func (o TableOutput) Keyspace() pulumi.StringOutput
Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
func (TableOutput) PartitionKeys ¶
func (o TableOutput) PartitionKeys() pulumi.StringOutput
Partition key(s), separated by :
func (TableOutput) Table ¶
func (o TableOutput) Table() pulumi.StringOutput
Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character.
func (TableOutput) ToTableOutput ¶
func (o TableOutput) ToTableOutput() TableOutput
func (TableOutput) ToTableOutputWithContext ¶
func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput
type TableState ¶
type TableState struct { // Clustering column(s), separated by : ClusteringColumns pulumi.StringPtrInput // A list of table Definitions ColumnDefinitions pulumi.StringMapArrayInput // Astra database to create the keyspace. DatabaseId pulumi.StringPtrInput // Keyspace name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Keyspace pulumi.StringPtrInput // Partition key(s), separated by : PartitionKeys pulumi.StringPtrInput // region. Region pulumi.StringPtrInput // Table name can have up to 48 alpha-numeric characters and contain underscores; only letters are supported as the first character. Table pulumi.StringPtrInput }
func (TableState) ElementType ¶
func (TableState) ElementType() reflect.Type
type Token ¶
type Token struct { pulumi.CustomResourceState // Client id, use as username in cql to connect ClientId pulumi.StringOutput `pulumi:"clientId"` // List of Role IDs to be assigned to the generated token Roles pulumi.StringArrayOutput `pulumi:"roles"` // Secret, use as password in cql to connect Secret pulumi.StringOutput `pulumi:"secret"` // Token, use as auth bearer for API calls or as password in combination with the word `token` in cql Token pulumi.StringOutput `pulumi:"token"` }
`Token` resource represents a token with a specific role assigned.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := astra.NewToken(ctx, "example", &astra.TokenArgs{ Roles: pulumi.StringArray{ pulumi.String("a8cd363d-5069-4a2b-86d8-0578139812ac"), }, }) if err != nil { return err } return nil }) }
```
## Import
```sh
$ pulumi import astra:index/token:Token example client-secret
```
func GetToken ¶
func GetToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TokenState, opts ...pulumi.ResourceOption) (*Token, error)
GetToken gets an existing Token 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 NewToken ¶
func NewToken(ctx *pulumi.Context, name string, args *TokenArgs, opts ...pulumi.ResourceOption) (*Token, error)
NewToken registers a new resource with the given unique name, arguments, and options.
func (*Token) ElementType ¶
func (*Token) ToTokenOutput ¶
func (i *Token) ToTokenOutput() TokenOutput
func (*Token) ToTokenOutputWithContext ¶
func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput
type TokenArgs ¶
type TokenArgs struct { // List of Role IDs to be assigned to the generated token Roles pulumi.StringArrayInput }
The set of arguments for constructing a Token resource.
func (TokenArgs) ElementType ¶
type TokenArray ¶
type TokenArray []TokenInput
func (TokenArray) ElementType ¶
func (TokenArray) ElementType() reflect.Type
func (TokenArray) ToTokenArrayOutput ¶
func (i TokenArray) ToTokenArrayOutput() TokenArrayOutput
func (TokenArray) ToTokenArrayOutputWithContext ¶
func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenArrayInput ¶
type TokenArrayInput interface { pulumi.Input ToTokenArrayOutput() TokenArrayOutput ToTokenArrayOutputWithContext(context.Context) TokenArrayOutput }
TokenArrayInput is an input type that accepts TokenArray and TokenArrayOutput values. You can construct a concrete instance of `TokenArrayInput` via:
TokenArray{ TokenArgs{...} }
type TokenArrayOutput ¶
type TokenArrayOutput struct{ *pulumi.OutputState }
func (TokenArrayOutput) ElementType ¶
func (TokenArrayOutput) ElementType() reflect.Type
func (TokenArrayOutput) Index ¶
func (o TokenArrayOutput) Index(i pulumi.IntInput) TokenOutput
func (TokenArrayOutput) ToTokenArrayOutput ¶
func (o TokenArrayOutput) ToTokenArrayOutput() TokenArrayOutput
func (TokenArrayOutput) ToTokenArrayOutputWithContext ¶
func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) TokenArrayOutput
type TokenInput ¶
type TokenInput interface { pulumi.Input ToTokenOutput() TokenOutput ToTokenOutputWithContext(ctx context.Context) TokenOutput }
type TokenMap ¶
type TokenMap map[string]TokenInput
func (TokenMap) ElementType ¶
func (TokenMap) ToTokenMapOutput ¶
func (i TokenMap) ToTokenMapOutput() TokenMapOutput
func (TokenMap) ToTokenMapOutputWithContext ¶
func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenMapInput ¶
type TokenMapInput interface { pulumi.Input ToTokenMapOutput() TokenMapOutput ToTokenMapOutputWithContext(context.Context) TokenMapOutput }
TokenMapInput is an input type that accepts TokenMap and TokenMapOutput values. You can construct a concrete instance of `TokenMapInput` via:
TokenMap{ "key": TokenArgs{...} }
type TokenMapOutput ¶
type TokenMapOutput struct{ *pulumi.OutputState }
func (TokenMapOutput) ElementType ¶
func (TokenMapOutput) ElementType() reflect.Type
func (TokenMapOutput) MapIndex ¶
func (o TokenMapOutput) MapIndex(k pulumi.StringInput) TokenOutput
func (TokenMapOutput) ToTokenMapOutput ¶
func (o TokenMapOutput) ToTokenMapOutput() TokenMapOutput
func (TokenMapOutput) ToTokenMapOutputWithContext ¶
func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutput
type TokenOutput ¶
type TokenOutput struct{ *pulumi.OutputState }
func (TokenOutput) ClientId ¶
func (o TokenOutput) ClientId() pulumi.StringOutput
Client id, use as username in cql to connect
func (TokenOutput) ElementType ¶
func (TokenOutput) ElementType() reflect.Type
func (TokenOutput) Roles ¶
func (o TokenOutput) Roles() pulumi.StringArrayOutput
List of Role IDs to be assigned to the generated token
func (TokenOutput) Secret ¶
func (o TokenOutput) Secret() pulumi.StringOutput
Secret, use as password in cql to connect
func (TokenOutput) ToTokenOutput ¶
func (o TokenOutput) ToTokenOutput() TokenOutput
func (TokenOutput) ToTokenOutputWithContext ¶
func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput
func (TokenOutput) Token ¶
func (o TokenOutput) Token() pulumi.StringOutput
Token, use as auth bearer for API calls or as password in combination with the word `token` in cql
type TokenState ¶
type TokenState struct { // Client id, use as username in cql to connect ClientId pulumi.StringPtrInput // List of Role IDs to be assigned to the generated token Roles pulumi.StringArrayInput // Secret, use as password in cql to connect Secret pulumi.StringPtrInput // Token, use as auth bearer for API calls or as password in combination with the word `token` in cql Token pulumi.StringPtrInput }
func (TokenState) ElementType ¶
func (TokenState) ElementType() reflect.Type
Source Files ¶
- accessList.go
- cdc.go
- database.go
- doc.go
- getAccessList.go
- getAstraDatabase.go
- getAstraDatabases.go
- getAvailableRegions.go
- getKeyspace.go
- getKeyspaces.go
- getPrivateLinkEndpoints.go
- getPrivateLinks.go
- getRole.go
- getRoles.go
- getSecureConnectBundleUrl.go
- getStreamingTenantTokens.go
- getUsers.go
- init.go
- keyspace.go
- privateLink.go
- privateLinkEndpoint.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- role.go
- streamingSink.go
- streamingTenant.go
- streamingTopic.go
- table.go
- token.go