@gradientedge/cdk-utils-azure 2.0.0 → 2.1.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.
- package/README.md +30 -0
- package/dist/src/common/constants.d.ts +4 -0
- package/dist/src/common/constants.js +3 -0
- package/dist/src/common/construct.d.ts +2 -1
- package/dist/src/common/construct.js +2 -1
- package/dist/src/common/resource-name-formatter.d.ts +2 -1
- package/dist/src/common/resource-name-formatter.js +2 -1
- package/dist/src/common/stack.d.ts +2 -1
- package/dist/src/common/stack.js +2 -1
- package/dist/src/common/tagging.d.ts +3 -0
- package/dist/src/common/tagging.js +3 -0
- package/dist/src/common/types.d.ts +5 -1
- package/dist/src/construct/event-handler/main.d.ts +2 -1
- package/dist/src/construct/event-handler/main.js +2 -1
- package/dist/src/construct/event-handler/types.d.ts +6 -0
- package/dist/src/construct/function-app/main.d.ts +2 -1
- package/dist/src/construct/function-app/main.js +2 -1
- package/dist/src/construct/function-app/types.d.ts +3 -0
- package/dist/src/construct/rest-api/main.d.ts +2 -1
- package/dist/src/construct/rest-api/main.js +2 -1
- package/dist/src/construct/rest-api/types.d.ts +3 -0
- package/dist/src/construct/rest-api-function/main.d.ts +2 -1
- package/dist/src/construct/rest-api-function/main.js +2 -1
- package/dist/src/construct/rest-api-function/types.d.ts +4 -0
- package/dist/src/construct/rest-api-with-cache/main.d.ts +2 -1
- package/dist/src/construct/rest-api-with-cache/main.js +2 -1
- package/dist/src/construct/rest-api-with-cache/types.d.ts +2 -0
- package/dist/src/construct/site-with-webapp/main.d.ts +2 -1
- package/dist/src/construct/site-with-webapp/main.js +2 -1
- package/dist/src/construct/site-with-webapp/types.d.ts +3 -0
- package/dist/src/services/api-management/main.d.ts +3 -2
- package/dist/src/services/api-management/main.js +3 -2
- package/dist/src/services/api-management/types.d.ts +17 -0
- package/dist/src/services/app-configuration/main.d.ts +2 -1
- package/dist/src/services/app-configuration/main.js +2 -1
- package/dist/src/services/app-configuration/types.d.ts +1 -0
- package/dist/src/services/app-service/main.d.ts +2 -1
- package/dist/src/services/app-service/main.js +2 -1
- package/dist/src/services/app-service/types.d.ts +2 -0
- package/dist/src/services/application-insights/main.d.ts +2 -1
- package/dist/src/services/application-insights/main.js +2 -1
- package/dist/src/services/application-insights/types.d.ts +2 -0
- package/dist/src/services/authorisation/constants.d.ts +1 -0
- package/dist/src/services/authorisation/constants.js +1 -0
- package/dist/src/services/authorisation/main.d.ts +2 -1
- package/dist/src/services/authorisation/main.js +2 -1
- package/dist/src/services/authorisation/types.d.ts +1 -0
- package/dist/src/services/cosmosdb/constants.d.ts +2 -0
- package/dist/src/services/cosmosdb/constants.js +2 -0
- package/dist/src/services/cosmosdb/main.d.ts +2 -1
- package/dist/src/services/cosmosdb/main.js +2 -1
- package/dist/src/services/cosmosdb/types.d.ts +4 -0
- package/dist/src/services/dns/main.d.ts +2 -1
- package/dist/src/services/dns/main.js +2 -1
- package/dist/src/services/dns/types.d.ts +4 -0
- package/dist/src/services/eventgrid/main.d.ts +2 -1
- package/dist/src/services/eventgrid/main.js +2 -1
- package/dist/src/services/eventgrid/types.d.ts +5 -0
- package/dist/src/services/function/main.d.ts +3 -2
- package/dist/src/services/function/main.js +3 -2
- package/dist/src/services/function/types.d.ts +3 -0
- package/dist/src/services/key-vault/main.d.ts +2 -1
- package/dist/src/services/key-vault/main.js +2 -1
- package/dist/src/services/key-vault/types.d.ts +2 -0
- package/dist/src/services/monitor/main.d.ts +2 -1
- package/dist/src/services/monitor/main.js +2 -1
- package/dist/src/services/monitor/types.d.ts +1 -0
- package/dist/src/services/operational-insights/main.d.ts +2 -1
- package/dist/src/services/operational-insights/main.js +2 -1
- package/dist/src/services/operational-insights/types.d.ts +2 -0
- package/dist/src/services/portal/error.d.ts +1 -0
- package/dist/src/services/portal/error.js +1 -0
- package/dist/src/services/portal/main.d.ts +2 -1
- package/dist/src/services/portal/main.js +2 -1
- package/dist/src/services/portal/renderer.d.ts +1 -0
- package/dist/src/services/portal/renderer.js +1 -0
- package/dist/src/services/portal/types.d.ts +7 -0
- package/dist/src/services/redis/main.d.ts +2 -1
- package/dist/src/services/redis/main.js +2 -1
- package/dist/src/services/redis/types.d.ts +1 -0
- package/dist/src/services/resource-group/main.d.ts +2 -1
- package/dist/src/services/resource-group/main.js +2 -1
- package/dist/src/services/resource-group/types.d.ts +1 -0
- package/dist/src/services/security-center/main.d.ts +2 -1
- package/dist/src/services/security-center/main.js +2 -1
- package/dist/src/services/security-center/types.d.ts +1 -0
- package/dist/src/services/servicebus/main.d.ts +2 -1
- package/dist/src/services/servicebus/main.js +2 -1
- package/dist/src/services/servicebus/types.d.ts +5 -0
- package/dist/src/services/storage/main.d.ts +2 -2
- package/dist/src/services/storage/main.js +2 -2
- package/dist/src/services/storage/types.d.ts +6 -0
- package/dist/src/types/index.d.ts +1 -0
- package/package.json +14 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Api, ApiDiagnostic, ApiManagementService, ApiOperation, ApiOperationPolicy, ApiPolicy, Backend, BackendProtocol, Cache, getApiManagementServiceOutput, Logger, LoggerType, NamedValue, Protocol, Subscription, } from '@pulumi/azure-native/apimanagement/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure API Management using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { Api, ApiDiagnostic, ApiManagementService, ApiOperation, ApiOperationPol
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureApiManagementManager {
|
|
20
21
|
/**
|
|
@@ -228,7 +229,7 @@ export class AzureApiManagementManager {
|
|
|
228
229
|
}
|
|
229
230
|
/**
|
|
230
231
|
* @summary Method to create a new API Management custom domain
|
|
231
|
-
*
|
|
232
|
+
* In Pulumi Azure Native, custom domains are configured as part of the API Management service resource,
|
|
232
233
|
* not as a separate resource. Use the hostnameConfigurations property when creating the service.
|
|
233
234
|
*/
|
|
234
235
|
createApiManagementCustomDomain() {
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
import { ApiArgs, ApiDiagnosticArgs, ApiManagementServiceArgs, ApiOperationArgs, ApiOperationPolicyArgs, ApiPolicyArgs, BackendArgs, CacheArgs, GetApiManagementServiceOutputArgs, LoggerArgs, NamedValueArgs, SubscriptionArgs } from '@pulumi/azure-native/apimanagement/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface ApiManagementProps extends ApiManagementServiceArgs {
|
|
3
4
|
certificateKeyVaultId?: string;
|
|
4
5
|
apiStackName?: string;
|
|
5
6
|
useExistingApiManagement?: boolean;
|
|
6
7
|
}
|
|
8
|
+
/** @category Interface */
|
|
7
9
|
export interface ApiManagementBackendProps extends BackendArgs {
|
|
8
10
|
backendUrlPath?: string;
|
|
9
11
|
apiManagementId?: string;
|
|
10
12
|
circuitBreaker?: any;
|
|
11
13
|
}
|
|
14
|
+
/** @category Interface */
|
|
12
15
|
export interface ApiDiagnosticProps extends ApiDiagnosticArgs {
|
|
13
16
|
}
|
|
17
|
+
/** @category Interface */
|
|
14
18
|
export interface LoggerProps extends LoggerArgs {
|
|
15
19
|
}
|
|
20
|
+
/** @category Interface */
|
|
16
21
|
export interface NamedValueProps extends NamedValueArgs {
|
|
17
22
|
}
|
|
23
|
+
/** @category Interface */
|
|
18
24
|
export interface ApiSubscriptionProps extends SubscriptionArgs {
|
|
19
25
|
}
|
|
26
|
+
/** @category Interface */
|
|
20
27
|
export interface CacheProps extends CacheArgs {
|
|
21
28
|
}
|
|
29
|
+
/** @category Interface */
|
|
22
30
|
export interface ApiManagementCustomDomainProps {
|
|
23
31
|
apiManagementId: string;
|
|
24
32
|
gateway?: Array<{
|
|
@@ -35,6 +43,7 @@ export interface ApiManagementCustomDomainProps {
|
|
|
35
43
|
certificateId?: string;
|
|
36
44
|
}>;
|
|
37
45
|
}
|
|
46
|
+
/** @category Interface */
|
|
38
47
|
export interface ApiManagementApiProps extends ApiArgs {
|
|
39
48
|
operations: ApiManagementApiOperationProps[];
|
|
40
49
|
commonInboundPolicyXml?: string;
|
|
@@ -43,30 +52,38 @@ export interface ApiManagementApiProps extends ApiArgs {
|
|
|
43
52
|
cacheSetOutboundPolicy?: string;
|
|
44
53
|
rateLimit?: ApiManagementApiRateLimit;
|
|
45
54
|
}
|
|
55
|
+
/** @category Interface */
|
|
46
56
|
export interface ApiManagementApiOperationProps extends ApiOperationArgs {
|
|
47
57
|
caching?: ApiManagementApiCaching;
|
|
48
58
|
}
|
|
59
|
+
/** @category Interface */
|
|
49
60
|
export interface ApiManagementApiCaching {
|
|
50
61
|
enableCacheSet?: boolean;
|
|
51
62
|
enableCacheInvalidation?: boolean;
|
|
52
63
|
ttlInSecs?: number;
|
|
53
64
|
cachingType?: string;
|
|
54
65
|
}
|
|
66
|
+
/** @category Interface */
|
|
55
67
|
export interface ApiManagementApiRateLimit {
|
|
56
68
|
calls: number;
|
|
57
69
|
renewalPeriodInSecs: number;
|
|
58
70
|
}
|
|
71
|
+
/** @category Interface */
|
|
59
72
|
export interface ApiManagementRedisCacheProps {
|
|
60
73
|
apiManagementId: string;
|
|
61
74
|
connectionString: string;
|
|
62
75
|
cacheLocation: string;
|
|
63
76
|
redisCacheId: string;
|
|
64
77
|
}
|
|
78
|
+
/** @category Interface */
|
|
65
79
|
export interface ResolveApiManagementProps extends GetApiManagementServiceOutputArgs {
|
|
66
80
|
}
|
|
81
|
+
/** @category Interface */
|
|
67
82
|
export interface ApiOperationProps extends ApiOperationArgs {
|
|
68
83
|
}
|
|
84
|
+
/** @category Interface */
|
|
69
85
|
export interface ApiOperationPolicyProps extends ApiOperationPolicyArgs {
|
|
70
86
|
}
|
|
87
|
+
/** @category Interface */
|
|
71
88
|
export interface ApiPolicyProps extends ApiPolicyArgs {
|
|
72
89
|
}
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { AppConfigurationProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure App Configuration using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { AppConfigurationProps } from './types.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureAppConfigurationManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigurationStore, IdentityType } from '@pulumi/azure-native/appconfiguration/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure App Configuration using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { ConfigurationStore, IdentityType } from '@pulumi/azure-native/appconfig
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureAppConfigurationManager {
|
|
20
21
|
/**
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { LinuxWebAppProps, ServicePlanProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure App Service using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { LinuxWebAppProps, ServicePlanProps } from './types.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureAppServiceManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AppServicePlan, ManagedServiceIdentityType, SupportedTlsVersions, WebApp, } from '@pulumi/azure-native/web/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure App Service using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { AppServicePlan, ManagedServiceIdentityType, SupportedTlsVersions, WebAp
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureAppServiceManager {
|
|
20
21
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { AppServicePlanArgs, WebAppArgs } from '@pulumi/azure-native/web/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface ServicePlanProps extends AppServicePlanArgs {
|
|
3
4
|
}
|
|
5
|
+
/** @category Interface */
|
|
4
6
|
export interface LinuxWebAppProps extends WebAppArgs {
|
|
5
7
|
}
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { ApplicationInsightsProps, ComponentCurrentBillingFeatureProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Application Insights using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { ApplicationInsightsProps, ComponentCurrentBillingFeatureProps } from '.
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureApplicationInsightsManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApplicationType, Component, ComponentCurrentBillingFeature, } from '@pulumi/azure-native/applicationinsights/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure Application Insights using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { ApplicationType, Component, ComponentCurrentBillingFeature, } from '@pu
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureApplicationInsightsManager {
|
|
20
21
|
/**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ComponentArgs, ComponentCurrentBillingFeatureArgs } from '@pulumi/azure-native/applicationinsights/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface ComponentCurrentBillingFeatureProps extends ComponentCurrentBillingFeatureArgs {
|
|
3
4
|
}
|
|
5
|
+
/** @category Interface */
|
|
4
6
|
export interface ApplicationInsightsProps extends ComponentArgs {
|
|
5
7
|
billingFeatures?: ComponentCurrentBillingFeatureProps;
|
|
6
8
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @summary Enumerations for publicly available built in RBAC roles
|
|
3
3
|
* @see https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
|
|
4
4
|
*/
|
|
5
|
+
/** @category Enum */
|
|
5
6
|
export declare enum RoleDefinitionId {
|
|
6
7
|
APP_CONFIGURATION_DATA_READER = "/providers/Microsoft.Authorization/roleDefinitions/516239f1-63e1-4d78-a4de-a74fb236a071",
|
|
7
8
|
APP_CONFIGURATION_DATA_OWNER = "/providers/Microsoft.Authorization/roleDefinitions/5ae67dd6-50cb-40e7-96ff-dc2bfa4b606b",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @summary Enumerations for publicly available built in RBAC roles
|
|
3
3
|
* @see https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
|
|
4
4
|
*/
|
|
5
|
+
/** @category Enum */
|
|
5
6
|
export var RoleDefinitionId;
|
|
6
7
|
(function (RoleDefinitionId) {
|
|
7
8
|
RoleDefinitionId["APP_CONFIGURATION_DATA_READER"] = "/providers/Microsoft.Authorization/roleDefinitions/516239f1-63e1-4d78-a4de-a74fb236a071";
|
|
@@ -3,7 +3,7 @@ import { CommonAzureConstruct } from '../../common/index.js';
|
|
|
3
3
|
import { RoleDefinitionId } from './constants.js';
|
|
4
4
|
import { RoleAssignmentProps } from './types.js';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Provides operations on Azure Authorisation using Pulumi
|
|
7
7
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
8
8
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
9
9
|
* @example
|
|
@@ -18,6 +18,7 @@ import { RoleAssignmentProps } from './types.js';
|
|
|
18
18
|
* }
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
|
+
* @category Service
|
|
21
22
|
*/
|
|
22
23
|
export declare class AzureAuthorisationManager {
|
|
23
24
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RoleAssignment } from '@pulumi/azure-native/authorization/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure Authorisation using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { RoleAssignment } from '@pulumi/azure-native/authorization/index.js';
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureAuthorisationManager {
|
|
20
21
|
/**
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
/** @category Enum */
|
|
1
2
|
export declare enum CosmosRoleDefinition {
|
|
2
3
|
CONTRIBUTOR = "CONTRIBUTOR",
|
|
3
4
|
READER = "READER"
|
|
4
5
|
}
|
|
6
|
+
/** @category Enum */
|
|
5
7
|
export declare enum CosmosRoleDefinitionId {
|
|
6
8
|
CONTRIBUTOR = "00000000-0000-0000-0000-000000000001",
|
|
7
9
|
READER = "00000000-0000-0000-0000-000000000002"
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/** @category Enum */
|
|
1
2
|
export var CosmosRoleDefinition;
|
|
2
3
|
(function (CosmosRoleDefinition) {
|
|
3
4
|
CosmosRoleDefinition["CONTRIBUTOR"] = "CONTRIBUTOR";
|
|
4
5
|
CosmosRoleDefinition["READER"] = "READER";
|
|
5
6
|
})(CosmosRoleDefinition || (CosmosRoleDefinition = {}));
|
|
7
|
+
/** @category Enum */
|
|
6
8
|
export var CosmosRoleDefinitionId;
|
|
7
9
|
(function (CosmosRoleDefinitionId) {
|
|
8
10
|
CosmosRoleDefinitionId["CONTRIBUTOR"] = "00000000-0000-0000-0000-000000000001";
|
|
@@ -3,7 +3,7 @@ import { CommonAzureConstruct } from '../../common/index.js';
|
|
|
3
3
|
import { CosmosRoleDefinition } from './constants.js';
|
|
4
4
|
import { CosmosdbAccountProps, CosmosdbSqlContainerProps, CosmosdbSqlDatabaseProps, SqlResourceSqlRoleAssignmentProps } from './types.js';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Provides operations on Azure CosmosDB using Pulumi
|
|
7
7
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
8
8
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
9
9
|
* @example
|
|
@@ -18,6 +18,7 @@ import { CosmosdbAccountProps, CosmosdbSqlContainerProps, CosmosdbSqlDatabasePro
|
|
|
18
18
|
* }
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
|
+
* @category Service
|
|
21
22
|
*/
|
|
22
23
|
export declare class AzureCosmosDbManager {
|
|
23
24
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DatabaseAccount, getDatabaseAccountOutput, getSqlResourceSqlRoleDefinitionOutput, ResourceIdentityType, SqlResourceSqlContainer, SqlResourceSqlDatabase, SqlResourceSqlRoleAssignment, } from '@pulumi/azure-native/cosmosdb/index.js';
|
|
2
2
|
import { CosmosRoleDefinition, CosmosRoleDefinitionId } from './constants.js';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Provides operations on Azure CosmosDB using Pulumi
|
|
5
5
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
6
6
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
7
7
|
* @example
|
|
@@ -16,6 +16,7 @@ import { CosmosRoleDefinition, CosmosRoleDefinitionId } from './constants.js';
|
|
|
16
16
|
* }
|
|
17
17
|
* }
|
|
18
18
|
* ```
|
|
19
|
+
* @category Service
|
|
19
20
|
*/
|
|
20
21
|
export class AzureCosmosDbManager {
|
|
21
22
|
/**
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { DatabaseAccountArgs, SqlResourceSqlContainerArgs, SqlResourceSqlDatabaseArgs, SqlResourceSqlRoleAssignmentArgs } from '@pulumi/azure-native/cosmosdb/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface CosmosdbAccountProps extends DatabaseAccountArgs {
|
|
3
4
|
}
|
|
5
|
+
/** @category Interface */
|
|
4
6
|
export interface CosmosdbSqlDatabaseProps extends SqlResourceSqlDatabaseArgs {
|
|
5
7
|
}
|
|
8
|
+
/** @category Interface */
|
|
6
9
|
export interface CosmosdbSqlContainerProps extends SqlResourceSqlContainerArgs {
|
|
7
10
|
}
|
|
11
|
+
/** @category Interface */
|
|
8
12
|
export interface SqlResourceSqlRoleAssignmentProps extends SqlResourceSqlRoleAssignmentArgs {
|
|
9
13
|
}
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { DnsARecordProps, DnsCnameRecordProps, DnsTxtRecordProps, DnsZoneProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure DNS using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { DnsARecordProps, DnsCnameRecordProps, DnsTxtRecordProps, DnsZoneProps }
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureDnsManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RecordSet, Zone } from '@pulumi/azure-native/dns/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure DNS using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { RecordSet, Zone } from '@pulumi/azure-native/dns/index.js';
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureDnsManager {
|
|
20
21
|
/**
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { RecordSetArgs, ZoneArgs } from '@pulumi/azure-native/dns/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface DnsZoneProps extends ZoneArgs {
|
|
3
4
|
}
|
|
5
|
+
/** @category Interface */
|
|
4
6
|
export interface DnsARecordProps extends RecordSetArgs {
|
|
5
7
|
}
|
|
8
|
+
/** @category Interface */
|
|
6
9
|
export interface DnsCnameRecordProps extends RecordSetArgs {
|
|
7
10
|
}
|
|
11
|
+
/** @category Interface */
|
|
8
12
|
export interface DnsTxtRecordProps extends RecordSetArgs {
|
|
9
13
|
}
|
|
@@ -3,7 +3,7 @@ import { Output, ResourceOptions } from '@pulumi/pulumi';
|
|
|
3
3
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
4
4
|
import { EventgridEventSubscriptionProps, EventgridSystemTopicEventSubscriptionProps, EventgridSystemTopicProps, EventgridTopicProps, ResolveEventgridTopicProps } from './types.js';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Provides operations on Azure Event Grid using Pulumi
|
|
7
7
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
8
8
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
9
9
|
* @example
|
|
@@ -18,6 +18,7 @@ import { EventgridEventSubscriptionProps, EventgridSystemTopicEventSubscriptionP
|
|
|
18
18
|
* }
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
|
+
* @category Service
|
|
21
22
|
*/
|
|
22
23
|
export declare class AzureEventgridManager {
|
|
23
24
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventDeliverySchema, EventSubscription, getTopicOutput, SystemTopic, SystemTopicEventSubscription, Topic, } from '@pulumi/azure-native/eventgrid/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure Event Grid using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { EventDeliverySchema, EventSubscription, getTopicOutput, SystemTopic, Sy
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureEventgridManager {
|
|
20
21
|
/**
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { EventSubscriptionArgs, GetTopicOutputArgs, SystemTopicArgs, SystemTopicEventSubscriptionArgs, TopicArgs } from '@pulumi/azure-native/eventgrid/index.js';
|
|
2
|
+
/** @category Interface */
|
|
2
3
|
export interface EventgridTopicProps extends TopicArgs {
|
|
3
4
|
}
|
|
5
|
+
/** @category Interface */
|
|
4
6
|
export interface EventgridEventSubscriptionProps extends EventSubscriptionArgs {
|
|
5
7
|
}
|
|
8
|
+
/** @category Interface */
|
|
6
9
|
export interface EventgridSystemTopicProps extends SystemTopicArgs {
|
|
7
10
|
}
|
|
11
|
+
/** @category Interface */
|
|
8
12
|
export interface EventgridSystemTopicEventSubscriptionProps extends SystemTopicEventSubscriptionArgs {
|
|
9
13
|
}
|
|
14
|
+
/** @category Interface */
|
|
10
15
|
export interface ResolveEventgridTopicProps extends GetTopicOutputArgs {
|
|
11
16
|
}
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { FunctionAppFlexConsumptionProps, FunctionAppProps, FunctionProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Functions using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { FunctionAppFlexConsumptionProps, FunctionAppProps, FunctionProps } from
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureFunctionManager {
|
|
22
23
|
/**
|
|
@@ -35,7 +36,7 @@ export declare class AzureFunctionManager {
|
|
|
35
36
|
* @param props function properties
|
|
36
37
|
* @param resourceOptions Optional settings to control resource behaviour
|
|
37
38
|
* @see [Pulumi Azure Native Function Envelope]{@link https://www.pulumi.com/registry/packages/azure-native/api-docs/web/webappfunction/}
|
|
38
|
-
*
|
|
39
|
+
* In Pulumi, individual functions are typically deployed via code deployment rather than as separate infrastructure resources.
|
|
39
40
|
* This method is provided for API compatibility but may require additional setup.
|
|
40
41
|
*/
|
|
41
42
|
createFunction(id: string, scope: CommonAzureConstruct, props: FunctionProps, resourceOptions?: ResourceOptions): import("@pulumi/azure-native/web/webAppFunction.js").WebAppFunction;
|
|
@@ -2,7 +2,7 @@ import { Deployment, DeploymentMode, Resource } from '@pulumi/azure-native/resou
|
|
|
2
2
|
import { ManagedServiceIdentityType, WebApp, WebAppFunction } from '@pulumi/azure-native/web/index.js';
|
|
3
3
|
import { CommonAzureStack } from '../../common/index.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Functions using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { CommonAzureStack } from '../../common/index.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export class AzureFunctionManager {
|
|
22
23
|
/**
|
|
@@ -57,7 +58,7 @@ export class AzureFunctionManager {
|
|
|
57
58
|
* @param props function properties
|
|
58
59
|
* @param resourceOptions Optional settings to control resource behaviour
|
|
59
60
|
* @see [Pulumi Azure Native Function Envelope]{@link https://www.pulumi.com/registry/packages/azure-native/api-docs/web/webappfunction/}
|
|
60
|
-
*
|
|
61
|
+
* In Pulumi, individual functions are typically deployed via code deployment rather than as separate infrastructure resources.
|
|
61
62
|
* This method is provided for API compatibility but may require additional setup.
|
|
62
63
|
*/
|
|
63
64
|
createFunction(id, scope, props, resourceOptions) {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { input } from '@pulumi/azure-native/types/index.js';
|
|
2
2
|
import { WebAppArgs } from '@pulumi/azure-native/web/index.js';
|
|
3
|
+
/** @category Interface */
|
|
3
4
|
export interface FunctionAppProps extends WebAppArgs {
|
|
4
5
|
name?: string;
|
|
5
6
|
}
|
|
7
|
+
/** @category Interface */
|
|
6
8
|
export interface FunctionProps {
|
|
7
9
|
name: string;
|
|
8
10
|
functionAppId: string;
|
|
@@ -11,6 +13,7 @@ export interface FunctionProps {
|
|
|
11
13
|
testData?: string;
|
|
12
14
|
enabled?: boolean;
|
|
13
15
|
}
|
|
16
|
+
/** @category Interface */
|
|
14
17
|
export interface FunctionAppFlexConsumptionProps extends WebAppArgs {
|
|
15
18
|
name?: string;
|
|
16
19
|
runtime?: input.web.FunctionsRuntimeArgs;
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { KeyVaultProps, SecretProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Key Vault using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { KeyVaultProps, SecretProps } from './types.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureKeyVaultManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getVaultOutput, Secret, SkuFamily, SkuName, Vault } from '@pulumi/azure-native/keyvault/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure Key Vault using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { getVaultOutput, Secret, SkuFamily, SkuName, Vault } from '@pulumi/azure
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureKeyVaultManager {
|
|
20
21
|
/**
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { MonitorDiagnosticSettingProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Monitor using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { MonitorDiagnosticSettingProps } from './types.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureMonitorManager {
|
|
22
23
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiagnosticSetting } from '@pulumi/azure-native/monitor/index.js';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides operations on Azure Monitor using Pulumi
|
|
4
4
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
5
5
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
6
6
|
* @example
|
|
@@ -15,6 +15,7 @@ import { DiagnosticSetting } from '@pulumi/azure-native/monitor/index.js';
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
* ```
|
|
18
|
+
* @category Service
|
|
18
19
|
*/
|
|
19
20
|
export class AzureMonitorManager {
|
|
20
21
|
/**
|
|
@@ -2,7 +2,7 @@ import { ResourceOptions } from '@pulumi/pulumi';
|
|
|
2
2
|
import { CommonAzureConstruct } from '../../common/index.js';
|
|
3
3
|
import { WorkspaceProps, WorkspaceTableProps } from './types.js';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides operations on Azure Log Analytics Workspace using Pulumi
|
|
6
6
|
* - A new instance of this class is injected into {@link CommonAzureConstruct} constructor.
|
|
7
7
|
* - If a custom construct extends {@link CommonAzureConstruct}, an instance is available within the context.
|
|
8
8
|
* @example
|
|
@@ -17,6 +17,7 @@ import { WorkspaceProps, WorkspaceTableProps } from './types.js';
|
|
|
17
17
|
* }
|
|
18
18
|
* }
|
|
19
19
|
* ```
|
|
20
|
+
* @category Service
|
|
20
21
|
*/
|
|
21
22
|
export declare class AzureOperationalInsightsManager {
|
|
22
23
|
/**
|