Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-resources-subscriptions] Update readme.python.md #4903

Closed
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
108 changes: 58 additions & 50 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,15 +1,43 @@
# Release History

## 3.0.0 (2023-04-25)

**Features**

## 2.0.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group Operations
- Added operation Subscriptions.checkZonePeers
- Added Interface AvailabilityZoneMappings
- Added Interface AvailabilityZonePeers
- Added Interface CheckZonePeersRequest
- Added Interface CheckZonePeersResult
- Added Interface ErrorDetail
- Added Interface ErrorResponseAutoGenerated
- Added Interface OperationAutoGenerated
- Added Interface OperationDisplayAutoGenerated
- Added Interface OperationListResultAutoGenerated
- Added Interface OperationsListNextOptionalParams
- Added Interface OperationsListOptionalParams
- Added Interface Peers
- Added Interface SubscriptionsCheckZonePeersOptionalParams
- Added Type Alias ActionType
- Added Type Alias OperationsListNextResponse
- Added Type Alias OperationsListResponse
- Added Type Alias Origin
- Added Type Alias SubscriptionsCheckZonePeersResponse
- Interface Location_2 has a new optional parameter availabilityZoneMappings
- Interface LocationMetadata has a new optional parameter geography
- Interface Operation has a new optional parameter actionType
- Interface Operation has a new optional parameter isDataAction
- Interface Operation has a new optional parameter origin
- Added Enum KnownActionType
- Added Enum KnownOrigin

**Breaking Changes**

- Operation Subscriptions.get has a new signature
- Operation Subscriptions.listLocations has a new signature
- Class SubscriptionClient has a new signature

## 2.0.2 (2022-11-22)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "a42f1b58607091c4f255ead152a8ef323fa0b280",
"readme": "specification\\resources\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.8.4 --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\\resources\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221108.1 --generate-sample=true",
"commit": "3d3642c866cae6a8e7fe0c441a1f6993a2d19186",
"readme": "specification/resources/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --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/resources/resource-manager/readme.md --use=@autorest/[email protected].10",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected].3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/[email protected].10"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for SubscriptionClient.",
"version": "2.0.3",
"version": "3.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.6.1",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
Expand All @@ -31,12 +31,13 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"mkdirp": "^2.1.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
Expand All @@ -47,7 +48,6 @@
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources-subscriptions/arm-resources-subscriptions",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -109,12 +109,5 @@
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resources-subscriptions?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources-subscriptions/arm-resources-subscriptions"
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,21 @@ import * as coreAuth from '@azure/core-auth';
import * as coreClient from '@azure/core-client';
import { PagedAsyncIterableIterator } from '@azure/core-paging';

// @public
export type ActionType = string;

// @public
export interface AvailabilityZoneMappings {
readonly logicalZone?: string;
readonly physicalZone?: string;
}

// @public
export interface AvailabilityZonePeers {
readonly availabilityZone?: string;
peers?: Peers[];
}

// @public
export interface CheckResourceNameOptionalParams extends coreClient.OperationOptions {
resourceNameDefinition?: ResourceName;
Expand All @@ -23,6 +38,19 @@ export interface CheckResourceNameResult {
type?: string;
}

// @public
export interface CheckZonePeersRequest {
location?: string;
subscriptionIds?: string[];
}

// @public
export interface CheckZonePeersResult {
availabilityZonePeers?: AvailabilityZonePeers[];
location?: string;
readonly subscriptionId?: string;
}

// @public
export interface CloudError {
error?: ErrorResponse;
Expand All @@ -34,6 +62,15 @@ export interface ErrorAdditionalInfo {
readonly type?: string;
}

// @public
export interface ErrorDetail {
readonly additionalInfo?: ErrorAdditionalInfo[];
readonly code?: string;
readonly details?: ErrorDetail[];
readonly message?: string;
readonly target?: string;
}

// @public
export interface ErrorResponse {
readonly additionalInfo?: ErrorAdditionalInfo[];
Expand All @@ -43,9 +80,26 @@ export interface ErrorResponse {
readonly target?: string;
}

// @public
export interface ErrorResponseAutoGenerated {
error?: ErrorDetail;
}

// @public
export function getContinuationToken(page: unknown): string | undefined;

// @public
export enum KnownActionType {
Internal = "Internal"
}

// @public
export enum KnownOrigin {
System = "system",
User = "user",
UserSystem = "user,system"
}

// @public
export enum KnownRegionCategory {
Extended = "Extended",
Expand All @@ -67,6 +121,7 @@ export enum KnownResourceNameStatus {

// @public
interface Location_2 {
availabilityZoneMappings?: AvailabilityZoneMappings[];
readonly displayName?: string;
readonly id?: string;
metadata?: LocationMetadata;
Expand All @@ -84,6 +139,7 @@ export interface LocationListResult {

// @public
export interface LocationMetadata {
readonly geography?: string;
readonly geographyGroup?: string;
readonly homeLocation?: string;
readonly latitude?: string;
Expand All @@ -104,12 +160,32 @@ export interface ManagedByTenant {

// @public
export interface Operation {
readonly actionType?: ActionType;
display?: OperationDisplay;
readonly isDataAction?: boolean;
readonly name?: string;
readonly origin?: Origin;
}

// @public
export interface OperationAutoGenerated {
readonly actionType?: ActionType;
display?: OperationDisplayAutoGenerated;
readonly isDataAction?: boolean;
name?: string;
readonly origin?: Origin;
}

// @public
export interface OperationDisplay {
readonly description?: string;
readonly operation?: string;
readonly provider?: string;
readonly resource?: string;
}

// @public
export interface OperationDisplayAutoGenerated {
description?: string;
operation?: string;
provider?: string;
Expand All @@ -118,17 +194,51 @@ export interface OperationDisplay {

// @public
export interface OperationListResult {
readonly nextLink?: string;
readonly value?: Operation[];
}

// @public
export interface OperationListResultAutoGenerated {
nextLink?: string;
value?: Operation[];
value?: OperationAutoGenerated[];
}

// @public
export interface Operations {
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
}

// @public
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type OperationsListNextResponse = OperationListResult;

// @public
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
}

// @public
export type OperationsListResponse = OperationListResult;

// @public
export type Origin = string;

// @public
export interface PairedRegion {
readonly id?: string;
readonly name?: string;
readonly subscriptionId?: string;
}

// @public
export interface Peers {
readonly availabilityZone?: string;
readonly subscriptionId?: string;
}

// @public
export type RegionCategory = string;

Expand Down Expand Up @@ -166,11 +276,15 @@ export interface Subscription {
export class SubscriptionClient extends coreClient.ServiceClient {
// (undocumented)
$host: string;
constructor(credentials: coreAuth.TokenCredential, options?: SubscriptionClientOptionalParams);
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SubscriptionClientOptionalParams);
// (undocumented)
apiVersion: string;
checkResourceName(options?: CheckResourceNameOptionalParams): Promise<CheckResourceNameResponse>;
// (undocumented)
operations: Operations;
// (undocumented)
subscriptionId: string;
// (undocumented)
subscriptions: Subscriptions;
// (undocumented)
tenants: Tenants;
Expand Down Expand Up @@ -198,11 +312,19 @@ export interface SubscriptionPolicies {

// @public
export interface Subscriptions {
get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
checkZonePeers(parameters: CheckZonePeersRequest, options?: SubscriptionsCheckZonePeersOptionalParams): Promise<SubscriptionsCheckZonePeersResponse>;
get(options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location_2>;
listLocations(options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location_2>;
}

// @public
export interface SubscriptionsCheckZonePeersOptionalParams extends coreClient.OperationOptions {
}

// @public
export type SubscriptionsCheckZonePeersResponse = CheckZonePeersResult;

// @public
export interface SubscriptionsGetOptionalParams extends coreClient.OperationOptions {
}
Expand Down
Loading