Skip to content
Draft
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
30 changes: 15 additions & 15 deletions pnpm-lock.yaml

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

8 changes: 8 additions & 0 deletions sdk/liftrarize/arm-arizeaiobservabilityeval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Release History

## 1.1.0 (2025-08-26)

### Features Added
- Interface ObservabilityEvalClientOptionalParams has a new optional parameter cloudSetting
- Added Type Alias AzureSupportedClouds
- Added Enum AzureClouds


## 1.0.0 (2025-06-06)

Expand Down
2 changes: 1 addition & 1 deletion sdk/liftrarize/arm-arizeaiobservabilityeval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
4 changes: 4 additions & 0 deletions sdk/liftrarize/arm-arizeaiobservabilityeval/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"apiVersion": "2024-10-01",
"emitterVersion": "0.43.0"
}
62 changes: 31 additions & 31 deletions sdk/liftrarize/arm-arizeaiobservabilityeval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/arm-arizeaiobservabilityeval",
"version": "1.0.0",
"version": "1.1.0",
"description": "A generated SDK for ObservabilityEvalClient.",
"engines": {
"node": ">=20.0.0"
Expand All @@ -25,9 +25,11 @@
"react-native"
],
"selfLink": false,
"project": "../../../tsconfig.src.build.json"
"project": "./tsconfig.src.json"
},
"type": "module",
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"keywords": [
"node",
"azure",
Expand All @@ -40,10 +42,9 @@
"license": "MIT",
"files": [
"dist/",
"!dist/**/*.d.*ts.map",
"README.md",
"LICENSE",
"review/",
"CHANGELOG.md"
"LICENSE"
],
"sdk-type": "mgmt",
"repository": "github:Azure/azure-sdk-for-js",
Expand All @@ -61,46 +62,47 @@
]
},
"dependencies": {
"@azure/core-util": "^1.12.0",
"@azure-rest/core-client": "^2.3.1",
"@azure/abort-controller": "^2.1.2",
"@azure/core-auth": "^1.9.0",
"@azure/core-lro": "^3.1.0",
"@azure/core-rest-pipeline": "^1.20.0",
"@azure/core-util": "^1.12.0",
"@azure/logger": "^1.2.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@azure-tools/test-credential": "workspace:^",
"@azure-tools/test-recorder": "workspace:^",
"@azure-tools/test-utils-vitest": "workspace:^",
"@azure/dev-tool": "workspace:^",
"@azure/eslint-plugin-azure-sdk": "workspace:^",
"@azure/identity": "catalog:internal",
"@types/node": "catalog:",
"@vitest/browser": "catalog:testing",
"@vitest/coverage-istanbul": "catalog:testing",
"dotenv": "catalog:testing",
"eslint": "catalog:",
"playwright": "catalog:testing",
"typescript": "catalog:",
"vitest": "catalog:testing"
"@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/eslint-plugin-azure-sdk": "^3.0.0",
"@azure/identity": "^4.9.0",
"@types/node": "^20.0.0",
"eslint": "^9.9.0",
"@vitest/browser": "^3.0.9",
"@vitest/coverage-istanbul": "^3.0.9",
"dotenv": "^16.0.0",
"playwright": "^1.52.0",
"typescript": "~5.8.2",
"vitest": "^3.0.9"
},
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:samples": "tsc -p tsconfig.samples.json",
"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}\" \"samples-dev/*.ts\"",
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "dev-tool samples run samples-dev",
"extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api",
"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}\" \"samples-dev/*.ts\"",
"generate:client": "echo skipped",
"pack": "npm pack 2>&1",
"lint": "echo skipped",
"lint:fix": "echo skipped",
"pack": "pnpm pack 2>&1",
"test": "npm run test:node && npm run test:browser",
"build:samples": "tsc -p tsconfig.samples.json && dev-tool samples publish -f",
"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}\" \"samples-dev/*.ts\"",
"execute:samples": "dev-tool samples run samples-dev",
"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}\" \"samples-dev/*.ts\"",
"generate:client": "echo skipped",
"test:browser": "dev-tool run build-test && dev-tool run test:vitest --browser",
"test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"test:node": "dev-tool run test:vitest",
"test:node:esm": "dev-tool run test:vitest --esm",
"test": "npm run test:node && npm run test:browser",
"update-snippets": "dev-tool run update-snippets"
},
"//sampleConfiguration": {
Expand All @@ -111,8 +113,6 @@
"disableDocsMs": true,
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-arizeaiobservabilityeval?view=azure-node-preview"
},
"browser": "./dist/browser/index.js",
"react-native": "./dist/react-native/index.js",
"exports": {
"./package.json": "./package.json",
".": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function createObservabilityEval(credential: TokenCredential, subscriptio
// @public
export interface ObservabilityEvalClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public (undocumented)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type CreatedByType = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, any>;
readonly info?: any;
readonly type?: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ import { TokenCredential } from '@azure/core-auth';
// @public
export type ActionType = string;

// @public
export enum AzureClouds {
AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
}

// @public
export type AzureSupportedClouds = `${AzureClouds}`;

// @public
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
continuationToken?: string;
Expand All @@ -26,7 +36,7 @@ export type CreatedByType = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, any>;
readonly info?: any;
readonly type?: string;
}

Expand Down Expand Up @@ -138,6 +148,7 @@ export class ObservabilityEvalClient {
// @public
export interface ObservabilityEvalClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to list the operations for the provider
*
* @summary list the operations for the provider
* x-ms-original-file: 2024-10-01/Operations_List_MaximumSet_Gen.json
*/

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

async function operationsListGeneratedByMaximumSetRule(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "00000000-0000-0000-0000-00000000000";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to create a OrganizationResource
*
* @summary create a OrganizationResource
* x-ms-original-file: 2024-10-01/Organizations_CreateOrUpdate_MaximumSet_Gen.json
*/

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

async function organizationsCreateOrUpdateGeneratedByMaximumSetRule(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4DEBE8B4-8BA4-42F8-AE50-FBEF318751D1";
const subscriptionId = "61641157-140c-4b97-b365-30ff76d9f82e";
const client = new ObservabilityEvalClient(credential, subscriptionId);
const result = await client.organizations.createOrUpdate("rgopenapi", "test-organization-1", {
const result = await client.organizations.createOrUpdate("yashika-rg-arize", "test-org-1", {
properties: {
marketplace: {
subscriptionId: "meaowktoejxwfqomc",
subscriptionId: "61641157-140c-4b97-b365-30ff76d9f82e",
subscriptionStatus: "PendingFulfillmentStart",
offerDetails: {
publisherId: "flrya",
offerId: "hwhtxmtmmlwsu",
planId: "jozklohkdpng",
planName: "clnynwt",
termUnit: "cbfktammjyqewljjjaokakilog",
termId: "iugvvvoggusxuz",
publisherId: "arizeai1657829589668",
offerId: "arize-liftr-0",
planId: "liftr-test-0",
planName: "Liftr Test 0",
termUnit: "P1M",
termId: "gmz7xq9ge3py",
},
},
user: {
firstName: "aorfffgdmglvzdvfvdyjohtnblzsfw",
lastName: "tojbqzk",
emailAddress: "btables@arize.com",
upn: "xzvwwbjpqakqqyfudyp",
firstName: "",
lastName: "",
emailAddress: "yashikajain@microsoft.com",
upn: "[email protected]",
phoneNumber: "akbqdbs",
},
partnerProperties: { description: "this is a great description" },
Expand All @@ -47,7 +46,7 @@ async function organizationsCreateOrUpdateGeneratedByMaximumSetRule(): Promise<v
},
identity: { type: "None", userAssignedIdentities: {} },
tags: {},
location: "gigxuxdonjfmqnljxcgctfwqapllu",
location: "East US",
});
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to delete a OrganizationResource
*
* @summary delete a OrganizationResource
* x-ms-original-file: 2024-10-01/Organizations_Delete_MaximumSet_Gen.json
*/

import { ObservabilityEvalClient } from "@azure/arm-arizeaiobservabilityeval";
import { DefaultAzureCredential } from "@azure/identity";

async function organizationsDeleteGeneratedByMaximumSetRule(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "4DEBE8B4-8BA4-42F8-AE50-FBEF318751D1";
const subscriptionId = "61641157-140c-4b97-b365-30ff76d9f82e";
const client = new ObservabilityEvalClient(credential, subscriptionId);
await client.organizations.delete("rgopenapi", "test-organization-1");
await client.organizations.delete("yashika-rg-arize", "test-org-1");
}

async function main(): Promise<void> {
Expand Down
Loading