@azure/arm-servicefabricmanagedclusters 1.0.0-beta.1 → 1.0.0-beta.3
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/CHANGELOG.md +31 -0
- package/README.md +0 -1
- package/dist/index.js +169 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsListByApplicationTypesSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypeVersionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesListSample.js +1 -1
- package/dist-esm/samples-dev/applicationTypesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/applicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/applicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/applicationsListSample.js +1 -1
- package/dist-esm/samples-dev/applicationsReadUpgradeSample.js +1 -1
- package/dist-esm/samples-dev/applicationsResumeUpgradeSample.js +1 -1
- package/dist-esm/samples-dev/applicationsStartRollbackSample.js +1 -1
- package/dist-esm/samples-dev/applicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedApplyMaintenanceWindowPostSample.js +1 -1
- package/dist-esm/samples-dev/managedAzResiliencyStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionGetByEnvironmentSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionListByEnvironmentSample.js +1 -1
- package/dist-esm/samples-dev/managedClusterVersionListSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +6 -4
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/managedMaintenanceWindowStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/managedUnsupportedVMSizesGetSample.js +1 -1
- package/dist-esm/samples-dev/managedUnsupportedVMSizesListSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypeSkusListSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js +18 -8
- package/dist-esm/samples-dev/nodeTypesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/nodeTypesDeleteNodeSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesListByManagedClustersSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesReimageSample.js +2 -2
- package/dist-esm/samples-dev/nodeTypesRestartSample.js +1 -1
- package/dist-esm/samples-dev/nodeTypesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/nodeTypesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationStatusGetSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/servicesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/servicesGetSample.js +1 -1
- package/dist-esm/samples-dev/servicesListByApplicationsSample.js +1 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +1 -1
- package/dist-esm/src/index.d.ts +0 -1
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.d.ts +56 -2
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +12 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +2 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +86 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/nodeTypes.d.ts +10 -1
- package/dist-esm/src/operations/nodeTypes.d.ts.map +1 -1
- package/dist-esm/src/operations/nodeTypes.js +66 -2
- package/dist-esm/src/operations/nodeTypes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts +10 -1
- package/dist-esm/src/operationsInterfaces/nodeTypes.d.ts.map +1 -1
- package/dist-esm/src/serviceFabricManagedClustersManagementClient.js +2 -2
- package/dist-esm/src/serviceFabricManagedClustersManagementClient.js.map +1 -1
- package/package.json +11 -15
- package/review/arm-servicefabricmanagedclusters.api.md +34 -1
- package/src/lroImpl.ts +1 -1
- package/src/models/index.ts +62 -3
- package/src/models/mappers.ts +91 -0
- package/src/models/parameters.ts +1 -1
- package/src/operations/nodeTypes.ts +98 -4
- package/src/operationsInterfaces/nodeTypes.ts +21 -1
- package/src/serviceFabricManagedClustersManagementClient.ts +6 -6
- package/tsconfig.json +2 -2
- package/types/arm-servicefabricmanagedclusters.d.ts +70 -3
- package/types/tsdoc-metadata.json +1 -1
|
@@ -586,17 +586,102 @@ export class NodeTypesImpl implements NodeTypes {
|
|
|
586
586
|
* @param parameters The parameters to update the node type configuration.
|
|
587
587
|
* @param options The options parameters.
|
|
588
588
|
*/
|
|
589
|
-
|
|
589
|
+
async beginUpdate(
|
|
590
|
+
resourceGroupName: string,
|
|
591
|
+
clusterName: string,
|
|
592
|
+
nodeTypeName: string,
|
|
593
|
+
parameters: NodeTypeUpdateParameters,
|
|
594
|
+
options?: NodeTypesUpdateOptionalParams,
|
|
595
|
+
): Promise<
|
|
596
|
+
SimplePollerLike<
|
|
597
|
+
OperationState<NodeTypesUpdateResponse>,
|
|
598
|
+
NodeTypesUpdateResponse
|
|
599
|
+
>
|
|
600
|
+
> {
|
|
601
|
+
const directSendOperation = async (
|
|
602
|
+
args: coreClient.OperationArguments,
|
|
603
|
+
spec: coreClient.OperationSpec,
|
|
604
|
+
): Promise<NodeTypesUpdateResponse> => {
|
|
605
|
+
return this.client.sendOperationRequest(args, spec);
|
|
606
|
+
};
|
|
607
|
+
const sendOperationFn = async (
|
|
608
|
+
args: coreClient.OperationArguments,
|
|
609
|
+
spec: coreClient.OperationSpec,
|
|
610
|
+
) => {
|
|
611
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
612
|
+
undefined;
|
|
613
|
+
const providedCallback = args.options?.onResponse;
|
|
614
|
+
const callback: coreClient.RawResponseCallback = (
|
|
615
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
616
|
+
flatResponse: unknown,
|
|
617
|
+
) => {
|
|
618
|
+
currentRawResponse = rawResponse;
|
|
619
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
620
|
+
};
|
|
621
|
+
const updatedArgs = {
|
|
622
|
+
...args,
|
|
623
|
+
options: {
|
|
624
|
+
...args.options,
|
|
625
|
+
onResponse: callback,
|
|
626
|
+
},
|
|
627
|
+
};
|
|
628
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
629
|
+
return {
|
|
630
|
+
flatResponse,
|
|
631
|
+
rawResponse: {
|
|
632
|
+
statusCode: currentRawResponse!.status,
|
|
633
|
+
body: currentRawResponse!.parsedBody,
|
|
634
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
635
|
+
},
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
const lro = createLroSpec({
|
|
640
|
+
sendOperationFn,
|
|
641
|
+
args: {
|
|
642
|
+
resourceGroupName,
|
|
643
|
+
clusterName,
|
|
644
|
+
nodeTypeName,
|
|
645
|
+
parameters,
|
|
646
|
+
options,
|
|
647
|
+
},
|
|
648
|
+
spec: updateOperationSpec,
|
|
649
|
+
});
|
|
650
|
+
const poller = await createHttpPoller<
|
|
651
|
+
NodeTypesUpdateResponse,
|
|
652
|
+
OperationState<NodeTypesUpdateResponse>
|
|
653
|
+
>(lro, {
|
|
654
|
+
restoreFrom: options?.resumeFrom,
|
|
655
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
656
|
+
resourceLocationConfig: "location",
|
|
657
|
+
});
|
|
658
|
+
await poller.poll();
|
|
659
|
+
return poller;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
664
|
+
* @param resourceGroupName The name of the resource group.
|
|
665
|
+
* @param clusterName The name of the cluster resource.
|
|
666
|
+
* @param nodeTypeName The name of the node type.
|
|
667
|
+
* @param parameters The parameters to update the node type configuration.
|
|
668
|
+
* @param options The options parameters.
|
|
669
|
+
*/
|
|
670
|
+
async beginUpdateAndWait(
|
|
590
671
|
resourceGroupName: string,
|
|
591
672
|
clusterName: string,
|
|
592
673
|
nodeTypeName: string,
|
|
593
674
|
parameters: NodeTypeUpdateParameters,
|
|
594
675
|
options?: NodeTypesUpdateOptionalParams,
|
|
595
676
|
): Promise<NodeTypesUpdateResponse> {
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
677
|
+
const poller = await this.beginUpdate(
|
|
678
|
+
resourceGroupName,
|
|
679
|
+
clusterName,
|
|
680
|
+
nodeTypeName,
|
|
681
|
+
parameters,
|
|
682
|
+
options,
|
|
599
683
|
);
|
|
684
|
+
return poller.pollUntilDone();
|
|
600
685
|
}
|
|
601
686
|
|
|
602
687
|
/**
|
|
@@ -866,6 +951,15 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
866
951
|
200: {
|
|
867
952
|
bodyMapper: Mappers.NodeType,
|
|
868
953
|
},
|
|
954
|
+
201: {
|
|
955
|
+
bodyMapper: Mappers.NodeType,
|
|
956
|
+
},
|
|
957
|
+
202: {
|
|
958
|
+
bodyMapper: Mappers.NodeType,
|
|
959
|
+
},
|
|
960
|
+
204: {
|
|
961
|
+
bodyMapper: Mappers.NodeType,
|
|
962
|
+
},
|
|
869
963
|
default: {
|
|
870
964
|
bodyMapper: Mappers.ErrorModel,
|
|
871
965
|
},
|
|
@@ -191,7 +191,27 @@ export interface NodeTypes {
|
|
|
191
191
|
* @param parameters The parameters to update the node type configuration.
|
|
192
192
|
* @param options The options parameters.
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
beginUpdate(
|
|
195
|
+
resourceGroupName: string,
|
|
196
|
+
clusterName: string,
|
|
197
|
+
nodeTypeName: string,
|
|
198
|
+
parameters: NodeTypeUpdateParameters,
|
|
199
|
+
options?: NodeTypesUpdateOptionalParams,
|
|
200
|
+
): Promise<
|
|
201
|
+
SimplePollerLike<
|
|
202
|
+
OperationState<NodeTypesUpdateResponse>,
|
|
203
|
+
NodeTypesUpdateResponse
|
|
204
|
+
>
|
|
205
|
+
>;
|
|
206
|
+
/**
|
|
207
|
+
* Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
208
|
+
* @param resourceGroupName The name of the resource group.
|
|
209
|
+
* @param clusterName The name of the cluster resource.
|
|
210
|
+
* @param nodeTypeName The name of the node type.
|
|
211
|
+
* @param parameters The parameters to update the node type configuration.
|
|
212
|
+
* @param options The options parameters.
|
|
213
|
+
*/
|
|
214
|
+
beginUpdateAndWait(
|
|
195
215
|
resourceGroupName: string,
|
|
196
216
|
clusterName: string,
|
|
197
217
|
nodeTypeName: string,
|
|
@@ -78,12 +78,12 @@ export class ServiceFabricManagedClustersManagementClient extends coreClient.Ser
|
|
|
78
78
|
options = {};
|
|
79
79
|
}
|
|
80
80
|
const defaults: ServiceFabricManagedClustersManagementClientOptionalParams =
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
{
|
|
82
|
+
requestContentType: "application/json; charset=utf-8",
|
|
83
|
+
credential: credentials,
|
|
84
|
+
};
|
|
85
85
|
|
|
86
|
-
const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.
|
|
86
|
+
const packageDetails = `azsdk-js-arm-servicefabricmanagedclusters/1.0.0-beta.3`;
|
|
87
87
|
const userAgentPrefix =
|
|
88
88
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
89
89
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -137,7 +137,7 @@ export class ServiceFabricManagedClustersManagementClient extends coreClient.Ser
|
|
|
137
137
|
|
|
138
138
|
// Assigning values to Constant parameters
|
|
139
139
|
this.$host = options.$host || "https://management.azure.com";
|
|
140
|
-
this.apiVersion = options.apiVersion || "2024-
|
|
140
|
+
this.apiVersion = options.apiVersion || "2024-09-01-preview";
|
|
141
141
|
this.applicationTypes = new ApplicationTypesImpl(this);
|
|
142
142
|
this.applicationTypeVersions = new ApplicationTypeVersionsImpl(this);
|
|
143
143
|
this.applications = new ApplicationsImpl(this);
|
package/tsconfig.json
CHANGED
|
@@ -666,6 +666,18 @@ export declare interface ApplicationUserAssignedIdentity {
|
|
|
666
666
|
principalId: string;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
+
/**
|
|
670
|
+
* Defines values for AutoGeneratedDomainNameLabelScope. \
|
|
671
|
+
* {@link KnownAutoGeneratedDomainNameLabelScope} can be used interchangeably with AutoGeneratedDomainNameLabelScope,
|
|
672
|
+
* this enum contains the known values that the service supports.
|
|
673
|
+
* ### Known values supported by the service
|
|
674
|
+
* **TenantReuse**: TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. \
|
|
675
|
+
* **SubscriptionReuse**: SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. \
|
|
676
|
+
* **ResourceGroupReuse**: ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. \
|
|
677
|
+
* **NoReuse**: NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name.
|
|
678
|
+
*/
|
|
679
|
+
export declare type AutoGeneratedDomainNameLabelScope = string;
|
|
680
|
+
|
|
669
681
|
/** Operation supported by the Service Fabric resource provider */
|
|
670
682
|
export declare interface AvailableOperationDisplay {
|
|
671
683
|
/** The name of the provider. */
|
|
@@ -992,6 +1004,18 @@ export declare enum KnownAccess {
|
|
|
992
1004
|
Deny = "deny"
|
|
993
1005
|
}
|
|
994
1006
|
|
|
1007
|
+
/** Known values of {@link AutoGeneratedDomainNameLabelScope} that the service accepts. */
|
|
1008
|
+
export declare enum KnownAutoGeneratedDomainNameLabelScope {
|
|
1009
|
+
/** TenantReuse allows for the same hash to be created if the resource is created in the same Tenant with the same resource name. */
|
|
1010
|
+
TenantReuse = "TenantReuse",
|
|
1011
|
+
/** SubscriptionReuse allows for the same hash to be created if the resource is created in the same Subscription with the same resource name. */
|
|
1012
|
+
SubscriptionReuse = "SubscriptionReuse",
|
|
1013
|
+
/** ResourceGroupReuse allows for the same hash to be created if the resource is created in the same Resource Group with the same resource name. */
|
|
1014
|
+
ResourceGroupReuse = "ResourceGroupReuse",
|
|
1015
|
+
/** NoReuse will create a new hash regardless of the Subscription, Resource Group, Tenant and Resource name. */
|
|
1016
|
+
NoReuse = "NoReuse"
|
|
1017
|
+
}
|
|
1018
|
+
|
|
995
1019
|
/** Known values of {@link ClusterState} that the service accepts. */
|
|
996
1020
|
export declare enum KnownClusterState {
|
|
997
1021
|
/** Indicates that the cluster resource is created and the resource provider is waiting for Service Fabric VM extension to boot up and report to it. */
|
|
@@ -1497,7 +1521,7 @@ export declare interface ManagedCluster extends Resource {
|
|
|
1497
1521
|
clusterUpgradeCadence?: ClusterUpgradeCadence;
|
|
1498
1522
|
/** List of add-on features to enable on the cluster. */
|
|
1499
1523
|
addonFeatures?: ManagedClusterAddOnFeature[];
|
|
1500
|
-
/**
|
|
1524
|
+
/** Enables automatic OS upgrade for node types created using OS images with version 'latest'. The default value for this setting is false. */
|
|
1501
1525
|
enableAutoOSUpgrade?: boolean;
|
|
1502
1526
|
/** Indicates if the cluster has zone resiliency. */
|
|
1503
1527
|
zonalResiliency?: boolean;
|
|
@@ -1536,6 +1560,10 @@ export declare interface ManagedCluster extends Resource {
|
|
|
1536
1560
|
httpGatewayTokenAuthConnectionPort?: number;
|
|
1537
1561
|
/** If true, token-based authentication is not allowed on the HttpGatewayEndpoint. This is required to support TLS versions 1.3 and above. If token-based authentication is used, HttpGatewayTokenAuthConnectionPort must be defined. */
|
|
1538
1562
|
enableHttpGatewayExclusiveAuthMode?: boolean;
|
|
1563
|
+
/** This property is the entry point to using a public CA cert for your cluster cert. It specifies the level of reuse allowed for the custom FQDN created, matching the subject of the public CA cert. */
|
|
1564
|
+
autoGeneratedDomainNameLabelScope?: AutoGeneratedDomainNameLabelScope;
|
|
1565
|
+
/** The number of outbound ports allocated for SNAT for each node in the backend pool of the default load balancer. The default value is 0 which provides dynamic port allocation based on pool size. */
|
|
1566
|
+
allocatedOutboundPorts?: number;
|
|
1539
1567
|
}
|
|
1540
1568
|
|
|
1541
1569
|
/**
|
|
@@ -2153,6 +2181,8 @@ export declare interface NodeType extends ManagedProxyResource {
|
|
|
2153
2181
|
additionalNetworkInterfaceConfigurations?: AdditionalNetworkInterfaceConfiguration[];
|
|
2154
2182
|
/** Specifies the computer name prefix. Limited to 9 characters. If specified, allows for a longer name to be specified for the node type name. */
|
|
2155
2183
|
computerNamePrefix?: string;
|
|
2184
|
+
/** Specifies the gallery applications that should be made available to the underlying VMSS. */
|
|
2185
|
+
vmApplications?: VmApplication[];
|
|
2156
2186
|
}
|
|
2157
2187
|
|
|
2158
2188
|
/** Parameters for Node type action. If nodes are not specified on the parameters, the operation will be performed in all nodes of the node type one upgrade domain at a time. */
|
|
@@ -2313,7 +2343,16 @@ export declare interface NodeTypes {
|
|
|
2313
2343
|
* @param parameters The parameters to update the node type configuration.
|
|
2314
2344
|
* @param options The options parameters.
|
|
2315
2345
|
*/
|
|
2316
|
-
|
|
2346
|
+
beginUpdate(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NodeTypesUpdateResponse>, NodeTypesUpdateResponse>>;
|
|
2347
|
+
/**
|
|
2348
|
+
* Update the configuration of a node type of a given managed cluster, only updating tags.
|
|
2349
|
+
* @param resourceGroupName The name of the resource group.
|
|
2350
|
+
* @param clusterName The name of the cluster resource.
|
|
2351
|
+
* @param nodeTypeName The name of the node type.
|
|
2352
|
+
* @param parameters The parameters to update the node type configuration.
|
|
2353
|
+
* @param options The options parameters.
|
|
2354
|
+
*/
|
|
2355
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, nodeTypeName: string, parameters: NodeTypeUpdateParameters, options?: NodeTypesUpdateOptionalParams): Promise<NodeTypesUpdateResponse>;
|
|
2317
2356
|
/**
|
|
2318
2357
|
* Delete a Service Fabric node type of a given managed cluster.
|
|
2319
2358
|
* @param resourceGroupName The name of the resource group.
|
|
@@ -2507,8 +2546,20 @@ export declare interface NodeTypesRestartOptionalParams extends coreClient.Opera
|
|
|
2507
2546
|
resumeFrom?: string;
|
|
2508
2547
|
}
|
|
2509
2548
|
|
|
2549
|
+
/** Defines headers for NodeTypes_update operation. */
|
|
2550
|
+
export declare interface NodeTypesUpdateHeaders {
|
|
2551
|
+
/** The URL to get the status of an ongoing long-running operation. */
|
|
2552
|
+
azureAsyncOperation?: string;
|
|
2553
|
+
/** The URL to get the status of a completed long-running operation. */
|
|
2554
|
+
location?: string;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2510
2557
|
/** Optional parameters. */
|
|
2511
2558
|
export declare interface NodeTypesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2559
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2560
|
+
updateIntervalInMs?: number;
|
|
2561
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2562
|
+
resumeFrom?: string;
|
|
2512
2563
|
}
|
|
2513
2564
|
|
|
2514
2565
|
/** Contains response data for the update operation. */
|
|
@@ -3516,7 +3567,7 @@ export declare interface UserAssignedIdentity {
|
|
|
3516
3567
|
|
|
3517
3568
|
/** Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM. */
|
|
3518
3569
|
export declare interface VaultCertificate {
|
|
3519
|
-
/** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).
|
|
3570
|
+
/** This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). */
|
|
3520
3571
|
certificateUrl: string;
|
|
3521
3572
|
/** For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. */
|
|
3522
3573
|
certificateStore: string;
|
|
@@ -3530,6 +3581,22 @@ export declare interface VaultSecretGroup {
|
|
|
3530
3581
|
vaultCertificates: VaultCertificate[];
|
|
3531
3582
|
}
|
|
3532
3583
|
|
|
3584
|
+
/** Specifies the gallery application that should be made available to the underlying VMSS. */
|
|
3585
|
+
export declare interface VmApplication {
|
|
3586
|
+
/** Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided. */
|
|
3587
|
+
configurationReference?: string;
|
|
3588
|
+
/** If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the underlying VMSS. */
|
|
3589
|
+
enableAutomaticUpgrade?: boolean;
|
|
3590
|
+
/** Optional, Specifies the order in which the packages have to be installed. */
|
|
3591
|
+
order?: number;
|
|
3592
|
+
/** Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}. */
|
|
3593
|
+
packageReferenceId: string;
|
|
3594
|
+
/** Optional, Specifies a passthrough value for more generic context. Accepts a JSON-formatted string e.g. '{"Tag1":"Value1","Tag2":"Value2"}'. */
|
|
3595
|
+
vmGalleryTags?: string;
|
|
3596
|
+
/** Optional, If true, any failure for any operation in the VmApplication will fail the deployment. */
|
|
3597
|
+
treatFailureAsDeploymentFailure?: boolean;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3533
3600
|
/** Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save. */
|
|
3534
3601
|
export declare interface VmImagePlan {
|
|
3535
3602
|
/** The plan ID. */
|