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
180 changes: 173 additions & 7 deletions sdk/servicelinker/arm-servicelinker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,181 @@
# Release History

## 2.2.0-beta.2 (Unreleased)


## 3.0.0-beta.1 (2025-05-07)
Compared with version 2.1.0

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation group ConfigurationNames
- Added operation group Connector
- Added operation group Linkers
- Added operation Linker.update
- Added Interface AccessKeyInfoBase
- Added Interface AzureAppConfigProperties
- Added Interface AzureResourceManagerArmResponseDryrunResource
- Added Interface AzureResourceManagerArmResponseValidateOperationResult
- Added Interface BasicErrorDryrunPrerequisiteResult
- Added Interface ConfigurationInfo
- Added Interface ConfigurationName
- Added Interface ConfigurationNameItem
- Added Interface ConfigurationNameResult
- Added Interface ConfigurationNamesListNextOptionalParams
- Added Interface ConfigurationNamesListOptionalParams
- Added Interface ConfigurationResult
- Added Interface ConfigurationStore
- Added Interface ConnectorCreateDryrunHeaders
- Added Interface ConnectorCreateDryrunOptionalParams
- Added Interface ConnectorCreateOrUpdateHeaders
- Added Interface ConnectorCreateOrUpdateOptionalParams
- Added Interface ConnectorDeleteDryrunOptionalParams
- Added Interface ConnectorDeleteHeaders
- Added Interface ConnectorDeleteOptionalParams
- Added Interface ConnectorGenerateConfigurationsOptionalParams
- Added Interface ConnectorGetDryrunOptionalParams
- Added Interface ConnectorGetOptionalParams
- Added Interface ConnectorListDryrunNextOptionalParams
- Added Interface ConnectorListDryrunOptionalParams
- Added Interface ConnectorListNextOptionalParams
- Added Interface ConnectorListOptionalParams
- Added Interface ConnectorUpdateDryrunHeaders
- Added Interface ConnectorUpdateDryrunOptionalParams
- Added Interface ConnectorUpdateHeaders
- Added Interface ConnectorUpdateOptionalParams
- Added Interface ConnectorValidateHeaders
- Added Interface ConnectorValidateOptionalParams
- Added Interface CreateOrUpdateDryrunParameters
- Added Interface DaprConfigurationList
- Added Interface DaprConfigurationResource
- Added Interface DaprMetadata
- Added Interface DaprProperties
- Added Interface DryrunList
- Added Interface DryrunOperationPreview
- Added Interface DryrunParameters
- Added Interface DryrunPatch
- Added Interface DryrunPrerequisiteResult
- Added Interface DryrunResource
- Added Interface EasyAuthMicrosoftEntraIDAuthInfo
- Added Interface FabricPlatform
- Added Interface FirewallRules
- Added Interface LinkerCreateOrUpdateHeaders
- Added Interface LinkerDeleteHeaders
- Added Interface LinkersCreateDryrunHeaders
- Added Interface LinkersCreateDryrunOptionalParams
- Added Interface LinkersDeleteDryrunOptionalParams
- Added Interface LinkersGenerateConfigurationsOptionalParams
- Added Interface LinkersGetDryrunOptionalParams
- Added Interface LinkersListDaprConfigurationsNextOptionalParams
- Added Interface LinkersListDaprConfigurationsOptionalParams
- Added Interface LinkersListDryrunNextOptionalParams
- Added Interface LinkersListDryrunOptionalParams
- Added Interface LinkersUpdateDryrunHeaders
- Added Interface LinkersUpdateDryrunOptionalParams
- Added Interface LinkerUpdateHeaders
- Added Interface LinkerValidateHeaders
- Added Interface PermissionsMissingDryrunPrerequisiteResult
- Added Interface PublicNetworkSolution
- Added Interface ResourceList
- Added Interface SelfHostedServer
- Added Interface UserAccountAuthInfo
- Added Type Alias AccessKeyPermissions
- Added Type Alias AllowType
- Added Type Alias AuthMode
- Added Type Alias ConfigurationNamesListNextResponse
- Added Type Alias ConfigurationNamesListResponse
- Added Type Alias ConnectorCreateDryrunResponse
- Added Type Alias ConnectorCreateOrUpdateResponse
- Added Type Alias ConnectorGenerateConfigurationsResponse
- Added Type Alias ConnectorGetDryrunResponse
- Added Type Alias ConnectorGetResponse
- Added Type Alias ConnectorListDryrunNextResponse
- Added Type Alias ConnectorListDryrunResponse
- Added Type Alias ConnectorListNextResponse
- Added Type Alias ConnectorListResponse
- Added Type Alias ConnectorUpdateDryrunResponse
- Added Type Alias ConnectorUpdateResponse
- Added Type Alias ConnectorValidateResponse
- Added Type Alias DaprBindingComponentDirection
- Added Type Alias DaprMetadataRequired
- Added Type Alias DeleteOrUpdateBehavior
- Added Type Alias DryrunActionName
- Added Type Alias DryrunParametersUnion
- Added Type Alias DryrunPrerequisiteResultType
- Added Type Alias DryrunPrerequisiteResultUnion
- Added Type Alias DryrunPreviewOperationType
- Added Type Alias LinkerConfigurationType
- Added Type Alias LinkersCreateDryrunResponse
- Added Type Alias LinkersGenerateConfigurationsResponse
- Added Type Alias LinkersGetDryrunResponse
- Added Type Alias LinkersListDaprConfigurationsNextResponse
- Added Type Alias LinkersListDaprConfigurationsResponse
- Added Type Alias LinkersListDryrunNextResponse
- Added Type Alias LinkersListDryrunResponse
- Added Type Alias LinkersUpdateDryrunResponse
- Added Type Alias SecretSourceType
- Interface AuthInfoBase has a new optional parameter authMode
- Interface LinkerPatch has a new optional parameter configurationInfo
- Interface LinkerPatch has a new optional parameter publicNetworkSolution
- Interface LinkerResource has a new optional parameter configurationInfo
- Interface LinkerResource has a new optional parameter publicNetworkSolution
- Interface Resource has a new optional parameter systemData
- Interface SecretStore has a new optional parameter keyVaultSecretName
- Interface ServicePrincipalCertificateAuthInfo has a new optional parameter deleteOrUpdateBehavior
- Interface ServicePrincipalCertificateAuthInfo has a new optional parameter roles
- Interface ServicePrincipalSecretAuthInfo has a new optional parameter deleteOrUpdateBehavior
- Interface ServicePrincipalSecretAuthInfo has a new optional parameter roles
- Interface ServicePrincipalSecretAuthInfo has a new optional parameter userName
- Interface SourceConfiguration has a new optional parameter configType
- Interface SourceConfiguration has a new optional parameter description
- Interface SourceConfiguration has a new optional parameter keyVaultReferenceIdentity
- Interface SystemAssignedIdentityAuthInfo has a new optional parameter deleteOrUpdateBehavior
- Interface SystemAssignedIdentityAuthInfo has a new optional parameter roles
- Interface SystemAssignedIdentityAuthInfo has a new optional parameter userName
- Interface UserAssignedIdentityAuthInfo has a new optional parameter deleteOrUpdateBehavior
- Interface UserAssignedIdentityAuthInfo has a new optional parameter roles
- Interface UserAssignedIdentityAuthInfo has a new optional parameter userName
- Interface VNetSolution has a new optional parameter deleteOrUpdateBehavior
- Type of parameter authType of interface AuthInfoBase is changed from "secret" | "userAssignedIdentity" | "systemAssignedIdentity" | "servicePrincipalSecret" | "servicePrincipalCertificate" to "accessKey" | "easyAuthMicrosoftEntraID" | "secret" | "servicePrincipalCertificate" | "servicePrincipalSecret" | "systemAssignedIdentity" | "userAccount" | "userAssignedIdentity"
- Type of parameter type of interface AzureResourcePropertiesBase is changed from "KeyVault" to "AppConfig" | "KeyVault"
- Type of parameter secretType of interface SecretInfoBase is changed from "rawValue" | "keyVaultSecretReference" | "keyVaultSecretUri" to "keyVaultSecretReference" | "keyVaultSecretUri" | "rawValue"
- Type of parameter type of interface TargetServiceBase is changed from "AzureResource" | "ConfluentBootstrapServer" | "ConfluentSchemaRegistry" to "AzureResource" | "ConfluentBootstrapServer" | "ConfluentSchemaRegistry" | "FabricPlatform" | "SelfHostedServer"
- Added Enum KnownAccessKeyPermissions
- Added Enum KnownAllowType
- Added Enum KnownAuthMode
- Added Enum KnownDaprBindingComponentDirection
- Added Enum KnownDaprMetadataRequired
- Added Enum KnownDeleteOrUpdateBehavior
- Added Enum KnownDryrunActionName
- Added Enum KnownDryrunPrerequisiteResultType
- Added Enum KnownDryrunPreviewOperationType
- Added Enum KnownLinkerConfigurationType
- Added Enum KnownSecretSourceType
- Enum KnownAuthType has a new value AccessKey
- Enum KnownAuthType has a new value EasyAuthMicrosoftEntraID
- Enum KnownAuthType has a new value UserAccount
- Enum KnownAzureResourceType has a new value AppConfig
- Enum KnownClientType has a new value Dapr
- Enum KnownClientType has a new value JmsSpringBoot
- Enum KnownClientType has a new value KafkaSpringBoot
- Enum KnownTargetServiceType has a new value FabricPlatform
- Enum KnownTargetServiceType has a new value SelfHostedServer

### Other Changes
### Breaking Changes

- Removed operation Linker.beginUpdate
- Removed operation Linker.beginUpdateAndWait
- Operation Linker.beginCreateOrUpdate has a new signature
- Operation Linker.beginCreateOrUpdateAndWait has a new signature
- Operation Linker.beginDelete has a new signature
- Operation Linker.beginDeleteAndWait has a new signature
- Operation Linker.beginValidate has a new signature
- Operation Linker.beginValidateAndWait has a new signature
- Operation Linker.get has a new signature
- Operation Linker.list has a new signature
- Operation Linker.listConfigurations has a new signature
- Interface LinkerResource no longer has parameter systemData
- Interface LinkerUpdateOptionalParams no longer has parameter resumeFrom
- Interface LinkerUpdateOptionalParams no longer has parameter updateIntervalInMs


## 2.2.0-beta.1 (2024-10-16)
Compared with version 2.1.0

Expand Down
2 changes: 1 addition & 1 deletion sdk/servicelinker/arm-servicelinker/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
14 changes: 5 additions & 9 deletions sdk/servicelinker/arm-servicelinker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,36 +44,33 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure ServiceLinkerManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.

```ts snippet:ReadmeSampleCreateClient_Node
import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker";
import { DefaultAzureCredential } from "@azure/identity";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ServiceLinkerManagementClient(new DefaultAzureCredential(), subscriptionId);
```

For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.

```ts snippet:ReadmeSampleCreateClient_Browser
import { InteractiveBrowserCredential } from "@azure/identity";
import { ServiceLinkerManagementClient } from "@azure/arm-servicelinker";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
clientId: "<YOUR_CLIENT_ID>"
});
const client = new ServiceLinkerManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts
Expand Down Expand Up @@ -109,7 +106,6 @@ If you'd like to contribute to this library, please read the [contributing guide
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)



[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
Expand Down
10 changes: 5 additions & 5 deletions sdk/servicelinker/arm-servicelinker/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ae950a4d68bd5bae23f85a8d575a213e9b0442d3",
"commit": "1a9d4913c5d23f8fc0090e2568fdd71ce023f485",
"readme": "specification/servicelinker/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\\servicelinker\\resource-manager\\readme.md --use=@autorest/typescript@6.0.27 --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/servicelinker/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.13",
"use": "@autorest/typescript@6.0.27"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.26",
"use": "@autorest/typescript@^6.0.12"
}
2 changes: 1 addition & 1 deletion sdk/servicelinker/arm-servicelinker/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
55 changes: 27 additions & 28 deletions sdk/servicelinker/arm-servicelinker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,48 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ServiceLinkerManagementClient.",
"version": "2.2.0-beta.2",
"version": "3.0.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-client": "^1.9.2",
"@azure/core-client": "^1.9.4",
"@azure/core-lro": "^2.5.4",
"@azure/core-paging": "^1.6.2",
"@azure/core-rest-pipeline": "^1.19.0",
"@azure/core-rest-pipeline": "^1.20.0",
"tslib": "^2.8.1"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
"isomorphic",
"cloud"
],
"license": "MIT",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"type": "module",
"devDependencies": {
"@azure-tools/test-credential": "^2.0.0",
"@azure-tools/test-recorder": "^4.1.0",
"@azure-tools/test-utils-vitest": "^1.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.6.0",
"@azure/logger": "^1.1.4",
"@azure/identity": "^4.9.1",
"@azure/logger": "^1.2.0",
"@types/node": "^18.0.0",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"dotenv": "^16.0.0",
"playwright": "^1.50.1",
"playwright": "^1.52.0",
"typescript": "~5.8.2",
"vitest": "^3.0.9"
},
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"repository": "github:Azure/azure-sdk-for-js",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
Expand All @@ -58,19 +57,28 @@
],
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:browser": "echo skipped",
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"build:test": "echo skipped",
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:vitest --esm",
"lint": "echo skipped",
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run test:node && npm run test:browser",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "dev-tool run test:vitest",
"test:node:esm": "dev-tool run test:vitest --esm",
"test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "dev-tool run test:vitest",
"update-snippets": "dev-tool run update-snippets"
},
"sideEffects": false,
Expand All @@ -83,16 +91,9 @@
]
},
"autoPublish": true,
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicelinker/arm-servicelinker",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-servicelinker?view=azure-node-preview"
},
"type": "module",
"tshy": {
"project": "./tsconfig.src.json",
"exports": {
Expand All @@ -109,8 +110,6 @@
],
"selfLink": false
},
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"exports": {
"./package.json": "./package.json",
".": {
Expand All @@ -132,4 +131,4 @@
}
}
}
}
}
Loading