GradientEdge CDK Utils
    Preparing search index...

    Provides operations on Azure CosmosDB using Pulumi

    import { CommonAzureConstruct, CommonAzureStackProps } from '@gradientedge/cdk-utils'

    class CustomConstruct extends CommonAzureConstruct {
    constructor(name: string, props: CommonAzureStackProps) {
    super(name, props)
    this.props = props
    this.CosmosDbManager.createCosmosDbAccount('MyCosmosDb', this, props)
    }
    }
    Index

    Constructors

    Methods

    • Parameters

      • id: string

        scoped id of the resource

      • scope: CommonAzureConstruct

        scope in which this resource is defined

      • accountName: string

        the account name

      • resourceGroupName: string

        the resource group name

      • principalId: Input<string>

        the principal id to which the role is assigned to

      • roleDefinitions: CosmosRoleDefinition[]

        list of role definitions to

      • OptionalresourceOptions: ResourceOptions

        Optional settings to control resource behaviour

      Returns void

    • Parameters

      • scope: CommonAzureConstruct

        scope in which this resource is defined

      • accountName: string

        the account name

      • resourceGroupName: string

        the resource group name

      • OptionalresourceOptions: ResourceOptions

        Optional settings to control resource behaviour

      Returns Output<GetDatabaseAccountResult>

    • Parameters

      • scope: CommonAzureConstruct

        scope in which this resource is defined

      • accountName: Input<string>

        the account name

      • resourceGroupName: string

        the resource group name

      • roleDefinitionId: string

        the role definition id

      • OptionalresourceOptions: ResourceOptions

        Optional settings to control resource behaviour

      Returns Output<GetSqlResourceSqlRoleDefinitionResult>