@gradientedge/cdk-utils-azure 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,7 +92,7 @@ export class CommonAzureConstruct extends ComponentResource {
92
92
  }
93
93
  resolveCommonLogAnalyticsWorkspace() {
94
94
  if (!this.props.commonLogAnalyticsWorkspace || !this.props.commonLogAnalyticsWorkspace.workspaceName)
95
- throw new Error('Props undefined for commonLogAnalyticsWorkspace');
95
+ return;
96
96
  this.commonLogAnalyticsWorkspace = getWorkspaceOutput({
97
97
  workspaceName: this.props.commonLogAnalyticsWorkspace.workspaceName,
98
98
  resourceGroupName: this.props.commonLogAnalyticsWorkspace.resourceGroupName,
@@ -1,6 +1,7 @@
1
1
  import { EventSubscription } from '@pulumi/azure-native/eventgrid/index.js';
2
2
  import { Namespace, Queue } from '@pulumi/azure-native/servicebus/index.js';
3
3
  import { BlobContainer, StorageAccount } from '@pulumi/azure-native/storage/index.js';
4
+ import { Input } from '@pulumi/pulumi';
4
5
  import { DefenderForStorageProps, EventgridEventSubscriptionProps, EventgridTopicProps, ServiceBusNamespaceProps, ServiceBusQueueProps, StorageAccountProps, StorageContainerProps } from '../../services/index.js';
5
6
  import { AzureFunctionAppProps } from '../function-app/index.js';
6
7
  /** @category Interface */
@@ -29,7 +30,7 @@ export interface EventHandlerEventGridTopicProps extends EventgridTopicProps {
29
30
  useExistingTopic: boolean;
30
31
  existingSubscriptionId?: string;
31
32
  existingTopicName?: string;
32
- existingResourceGroupName?: string;
33
+ existingResourceGroupName?: Input<string>;
33
34
  }
34
35
  /** @category Interface */
35
36
  export interface AzureEventHandlerProps extends AzureFunctionAppProps {
@@ -5,8 +5,8 @@ import { Input, Output } from '@pulumi/pulumi';
5
5
  import { ApiDiagnosticProps, ApiManagementProps, CommonAzureStackProps, MonitorDiagnosticSettingProps } from '../../index.js';
6
6
  /** @category Interface */
7
7
  export interface ApiAuthKeyVault {
8
- name: string;
9
- resourceGroupName: string;
8
+ name: Input<string>;
9
+ resourceGroupName: Input<string>;
10
10
  }
11
11
  /** @category Interface */
12
12
  export interface AzureRestApiProps extends CommonAzureStackProps {
@@ -1,7 +1,8 @@
1
1
  import { ApiArgs, ApiDiagnosticArgs, ApiManagementServiceArgs, ApiOperationArgs, ApiOperationPolicyArgs, ApiPolicyArgs, BackendArgs, CacheArgs, GetApiManagementServiceOutputArgs, LoggerArgs, NamedValueArgs, SubscriptionArgs } from '@pulumi/azure-native/apimanagement/index.js';
2
+ import { Input } from '@pulumi/pulumi';
2
3
  /** @category Interface */
3
4
  export interface ApiManagementProps extends ApiManagementServiceArgs {
4
- certificateKeyVaultId?: string;
5
+ certificateKeyVaultId?: Input<string>;
5
6
  apiStackName?: string;
6
7
  useExistingApiManagement?: boolean;
7
8
  }
@@ -73,7 +73,7 @@ export declare class AzureCosmosDbManager {
73
73
  * @param roleDefinitionId the role definition id
74
74
  * @param resourceOptions Optional settings to control resource behaviour
75
75
  */
76
- resolveSqlRoleDefinition(scope: CommonAzureConstruct, accountName: Input<string>, resourceGroupName: string, roleDefinitionId: string, resourceOptions?: ResourceOptions): import("@pulumi/pulumi").Output<import("@pulumi/azure-native/cosmosdb/getSqlResourceSqlRoleDefinition.js").GetSqlResourceSqlRoleDefinitionResult>;
76
+ resolveSqlRoleDefinition(scope: CommonAzureConstruct, accountName: Input<string>, resourceGroupName: Input<string>, roleDefinitionId: string, resourceOptions?: ResourceOptions): import("@pulumi/pulumi").Output<import("@pulumi/azure-native/cosmosdb/getSqlResourceSqlRoleDefinition.js").GetSqlResourceSqlRoleDefinitionResult>;
77
77
  /**
78
78
  * @summary Method to assign a sql role assignment
79
79
  * @param id scoped id of the resource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils-azure",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "Azure Pulumi utilities for @gradientedge/cdk-utils",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",