Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 42 additions & 4 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 65 additions & 9 deletions sdk/confidentialledger/arm-confidentialledger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,71 @@
# Release History

## 1.3.0-beta.3 (Unreleased)


## 1.3.0-beta.3 (2024-09-20)
Compared with version 1.2.0

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group ManagedCCFOperations
- Added operation Ledger.beginBackup
- Added operation Ledger.beginBackupAndWait
- Added operation Ledger.beginRestore
- Added operation Ledger.beginRestoreAndWait
- Added Interface CertificateTags
- Added Interface ConfidentialLedgerBackup
- Added Interface ConfidentialLedgerBackupResponse
- Added Interface ConfidentialLedgerRestore
- Added Interface ConfidentialLedgerRestoreResponse
- Added Interface DeploymentType
- Added Interface LedgerBackupOptionalParams
- Added Interface LedgerRestoreOptionalParams
- Added Interface ManagedCCF
- Added Interface ManagedCCFBackup
- Added Interface ManagedCCFBackupOptionalParams
- Added Interface ManagedCCFBackupResponse
- Added Interface ManagedCCFCreateOptionalParams
- Added Interface ManagedCCFDeleteOptionalParams
- Added Interface ManagedCCFGetOptionalParams
- Added Interface ManagedCCFList
- Added Interface ManagedCCFListByResourceGroupNextOptionalParams
- Added Interface ManagedCCFListByResourceGroupOptionalParams
- Added Interface ManagedCCFListBySubscriptionNextOptionalParams
- Added Interface ManagedCCFListBySubscriptionOptionalParams
- Added Interface ManagedCCFProperties
- Added Interface ManagedCCFRestore
- Added Interface ManagedCCFRestoreOptionalParams
- Added Interface ManagedCCFRestoreResponse
- Added Interface ManagedCCFUpdateOptionalParams
- Added Interface MemberIdentityCertificate
- Added Interface TrackedResource
- Added Type Alias EnclavePlatform
- Added Type Alias LanguageRuntime
- Added Type Alias LedgerBackupResponse
- Added Type Alias LedgerRestoreResponse
- Added Type Alias LedgerSku
- Added Type Alias ManagedCCFBackupOperationResponse
- Added Type Alias ManagedCCFCreateResponse
- Added Type Alias ManagedCCFGetResponse
- Added Type Alias ManagedCCFListByResourceGroupNextResponse
- Added Type Alias ManagedCCFListByResourceGroupResponse
- Added Type Alias ManagedCCFListBySubscriptionNextResponse
- Added Type Alias ManagedCCFListBySubscriptionResponse
- Added Type Alias ManagedCCFRestoreOperationResponse
- Added Type Alias ManagedCCFUpdateResponse
- Added Type Alias RunningState
- Interface LedgerProperties has a new optional parameter enclavePlatform
- Interface LedgerProperties has a new optional parameter hostLevel
- Interface LedgerProperties has a new optional parameter ledgerSku
- Interface LedgerProperties has a new optional parameter maxBodySizeInMb
- Interface LedgerProperties has a new optional parameter nodeCount
- Interface LedgerProperties has a new optional parameter runningState
- Interface LedgerProperties has a new optional parameter subjectName
- Interface LedgerProperties has a new optional parameter workerThreads
- Interface LedgerProperties has a new optional parameter writeLBAddressPrefix
- Added Enum KnownEnclavePlatform
- Added Enum KnownLanguageRuntime
- Added Enum KnownLedgerSku
- Added Enum KnownRunningState

## 1.3.0-beta.2 (2024-04-16)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/confidentialledger/arm-confidentialledger/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "15c4ed25135164c257da37731b3fa926a4f44d4a",
"commit": "e55b48528209bea9c9268c4cd05b0dcb7a18e633",
"readme": "specification/confidentialledger/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\confidentialledger\\resource-manager\\readme.md --use=@autorest/typescript@6.0.20 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/confidentialledger/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.5",
"use": "@autorest/typescript@6.0.20"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
22 changes: 7 additions & 15 deletions sdk/confidentialledger/arm-confidentialledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -29,18 +29,18 @@
"types": "./types/arm-confidentialledger.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^2.1.2",
"typescript": "~5.6.2",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/arm-confidentialledger",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-confidentialledger?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/arm-confidentialledger"
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export interface DeploymentType {
languageRuntime?: LanguageRuntime;
}

// @public
export type EnclavePlatform = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
Expand Down Expand Up @@ -158,6 +161,12 @@ export enum KnownCreatedByType {
User = "User"
}

// @public
export enum KnownEnclavePlatform {
AmdSevSnp = "AmdSevSnp",
IntelSgx = "IntelSgx"
}

// @public
export enum KnownLanguageRuntime {
CPP = "CPP",
Expand Down Expand Up @@ -290,14 +299,21 @@ export type LedgerListBySubscriptionResponse = ConfidentialLedgerList;
export interface LedgerProperties {
aadBasedSecurityPrincipals?: AADBasedSecurityPrincipal[];
certBasedSecurityPrincipals?: CertBasedSecurityPrincipal[];
enclavePlatform?: EnclavePlatform;
hostLevel?: string;
readonly identityServiceUri?: string;
readonly ledgerInternalNamespace?: string;
readonly ledgerName?: string;
ledgerSku?: LedgerSku;
ledgerType?: LedgerType;
readonly ledgerUri?: string;
maxBodySizeInMb?: number;
nodeCount?: number;
readonly provisioningState?: ProvisioningState;
runningState?: RunningState;
subjectName?: string;
workerThreads?: number;
writeLBAddressPrefix?: string;
}

// @public
Expand Down Expand Up @@ -432,6 +448,7 @@ export interface ManagedCCFProperties {
readonly appName?: string;
readonly appUri?: string;
deploymentType?: DeploymentType;
enclavePlatform?: EnclavePlatform;
readonly identityServiceUri?: string;
memberIdentityCertificates?: MemberIdentityCertificate[];
nodeCount?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class ConfidentialLedgerClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2023-06-28-preview";
this.apiVersion = options.apiVersion || "2024-09-19-preview";
this.operations = new OperationsImpl(this);
this.ledger = new LedgerImpl(this);
this.managedCCFOperations = new ManagedCCFOperationsImpl(this);
Expand Down
34 changes: 34 additions & 0 deletions sdk/confidentialledger/arm-confidentialledger/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ export interface LedgerProperties {
aadBasedSecurityPrincipals?: AADBasedSecurityPrincipal[];
/** Array of all cert based Security Principals. */
certBasedSecurityPrincipals?: CertBasedSecurityPrincipal[];
/** CCF Property for the logging level for the untrusted host: Trace, Debug, Info, Fail, Fatal. */
hostLevel?: string;
/** CCF Property for the maximum size of the http request body: 1MB, 5MB, 10MB. */
maxBodySizeInMb?: number;
/** CCF Property for the subject name to include in the node certificate. Default: CN=CCF Node. */
subjectName?: string;
/** Number of CCF nodes in the ACC Ledger. */
nodeCount?: number;
/** Prefix for the write load balancer. Example: write */
writeLBAddressPrefix?: string;
/** Number of additional threads processing incoming client requests in the enclave (modify with care!) */
workerThreads?: number;
/** Enclave platform of Confidential Ledger. */
enclavePlatform?: EnclavePlatform;
}

/** AAD based security principal with associated Ledger RoleName */
Expand Down Expand Up @@ -282,6 +296,8 @@ export interface ManagedCCFProperties {
readonly provisioningState?: ProvisioningState;
/** Number of CCF nodes in the Managed CCF. */
nodeCount?: number;
/** Enclave platform of Managed CCF. */
enclavePlatform?: EnclavePlatform;
}

/** Object representing MemberIdentityCertificate for Managed CCF. */
Expand Down Expand Up @@ -513,6 +529,24 @@ export enum KnownLedgerRoleName {
*/
export type LedgerRoleName = string;

/** Known values of {@link EnclavePlatform} that the service accepts. */
export enum KnownEnclavePlatform {
/** IntelSgx */
IntelSgx = "IntelSgx",
/** AmdSevSnp */
AmdSevSnp = "AmdSevSnp",
}

/**
* Defines values for EnclavePlatform. \
* {@link KnownEnclavePlatform} can be used interchangeably with EnclavePlatform,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **IntelSgx** \
* **AmdSevSnp**
*/
export type EnclavePlatform = string;

/** Known values of {@link CreatedByType} that the service accepts. */
export enum KnownCreatedByType {
/** User */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,48 @@ export const LedgerProperties: coreClient.CompositeMapper = {
},
},
},
hostLevel: {
serializedName: "hostLevel",
type: {
name: "String",
},
},
maxBodySizeInMb: {
serializedName: "maxBodySizeInMb",
type: {
name: "Number",
},
},
subjectName: {
serializedName: "subjectName",
type: {
name: "String",
},
},
nodeCount: {
serializedName: "nodeCount",
type: {
name: "Number",
},
},
writeLBAddressPrefix: {
serializedName: "writeLBAddressPrefix",
type: {
name: "String",
},
},
workerThreads: {
serializedName: "workerThreads",
type: {
name: "Number",
},
},
enclavePlatform: {
serializedName: "enclavePlatform",
type: {
name: "String",
},
},
},
},
};
Expand Down Expand Up @@ -634,6 +676,12 @@ export const ManagedCCFProperties: coreClient.CompositeMapper = {
name: "Number",
},
},
enclavePlatform: {
serializedName: "enclavePlatform",
type: {
name: "String",
},
},
},
},
};
Expand Down
Loading