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-automation] Added Response Schema for Runbook Operation #2635

Closed
wants to merge 1 commit into from
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
28 changes: 3 additions & 25 deletions sdk/automation/arm-automation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
# Release History

## 11.0.0-beta.4 (2022-11-01)

## 11.0.0-beta.4 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 11.0.0-beta.3 (2022-10-08)

**Bugs Fixed**

- revert credential scopes

## 11.0.0-beta.2 (2022-09-30)

**Bugs Fixed**

- fix better user experience of credential scopes in government cloud

## 11.0.0-beta.1 (2022-07-25)

The package of @azure/arm-automation is using our next generation design principles since version 11.0.0-beta.1, which contains breaking changes.
The package of @azure/arm-automation is using our next generation design principles since version 11.0.0-beta.4, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
8 changes: 4 additions & 4 deletions sdk/automation/arm-automation/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "405811c51aa09803caedfe17fd305e110db1ca5e",
"commit": "3e9cec2e459b95796d51ffafaa146aee3299867d",
"readme": "specification/automation/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --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\\automation\\resource-manager\\readme.md --use=@autorest/[email protected].1.20220721.1",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/automation/resource-manager/readme.md --use=@autorest/[email protected].2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].1.20220721.1"
"release_tool": "@azure-tools/[email protected].4",
"use": "@autorest/[email protected].2"
}
2 changes: 1 addition & 1 deletion sdk/automation/arm-automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@
]
},
"autoPublish": true
}
}
131 changes: 117 additions & 14 deletions sdk/automation/arm-automation/review/arm-automation.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ export class AutomationClient extends coreClient.ServiceClient {
// (undocumented)
python2Package: Python2Package;
// (undocumented)
python3Package: Python3Package;
// (undocumented)
runbookDraftOperations: RunbookDraftOperations;
// (undocumented)
runbookOperations: RunbookOperations;
Expand Down Expand Up @@ -460,12 +462,6 @@ export interface CertificateUpdateParameters {
// @public
export type CertificateUpdateResponse = Certificate;

// @public (undocumented)
export interface ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties {
readonly clientId?: string;
readonly principalId?: string;
}

// @public
export interface Connection extends ProxyResource {
connectionType?: ConnectionTypeAssociationProperty;
Expand Down Expand Up @@ -535,7 +531,7 @@ export interface ConnectionOperations {
}

// @public
export interface ConnectionType {
interface ConnectionType_2 {
readonly creationTime?: Date;
description?: string;
readonly fieldDefinitions?: {
Expand All @@ -547,6 +543,7 @@ export interface ConnectionType {
readonly name?: string;
readonly type?: string;
}
export { ConnectionType_2 as ConnectionType }

// @public
export interface ConnectionTypeAssociationProperty {
Expand All @@ -567,7 +564,7 @@ export interface ConnectionTypeCreateOrUpdateParameters {
}

// @public
export type ConnectionTypeCreateOrUpdateResponse = ConnectionType;
export type ConnectionTypeCreateOrUpdateResponse = ConnectionType_2;

// @public
export interface ConnectionTypeDeleteOptionalParams extends coreClient.OperationOptions {
Expand All @@ -578,7 +575,7 @@ export interface ConnectionTypeGetOptionalParams extends coreClient.OperationOpt
}

// @public
export type ConnectionTypeGetResponse = ConnectionType;
export type ConnectionTypeGetResponse = ConnectionType_2;

// @public
export interface ConnectionTypeListByAutomationAccountNextOptionalParams extends coreClient.OperationOptions {
Expand All @@ -597,15 +594,15 @@ export type ConnectionTypeListByAutomationAccountResponse = ConnectionTypeListRe
// @public
export interface ConnectionTypeListResult {
nextLink?: string;
value?: ConnectionType[];
value?: ConnectionType_2[];
}

// @public
export interface ConnectionTypeOperations {
createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: ConnectionTypeCreateOrUpdateParameters, options?: ConnectionTypeCreateOrUpdateOptionalParams): Promise<ConnectionTypeCreateOrUpdateResponse>;
delete(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: ConnectionTypeDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: ConnectionTypeGetOptionalParams): Promise<ConnectionTypeGetResponse>;
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: ConnectionTypeListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<ConnectionType>;
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: ConnectionTypeListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<ConnectionType_2>;
}

// @public
Expand Down Expand Up @@ -769,6 +766,12 @@ export interface DeletedAutomationAccountsListBySubscriptionOptionalParams exten
// @public
export type DeletedAutomationAccountsListBySubscriptionResponse = DeletedAutomationAccountListResult;

// @public
export interface Dimension {
displayName?: string;
name?: string;
}

// @public
export interface DscCompilationJob extends ProxyResource {
configuration?: DscConfigurationAssociationProperty;
Expand Down Expand Up @@ -928,7 +931,7 @@ export interface DscConfigurationGetContentOptionalParams extends coreClient.Ope

// @public
export type DscConfigurationGetContentResponse = {
body: string;
body: coreRestPipeline.RequestBodyType;
};

// @public
Expand Down Expand Up @@ -1479,7 +1482,7 @@ export interface Identity {
readonly tenantId?: string;
type?: ResourceIdentityType;
userAssignedIdentities?: {
[propertyName: string]: ComponentsSgqdofSchemasIdentityPropertiesUserassignedidentitiesAdditionalproperties;
[propertyName: string]: UserAssignedIdentitiesProperties;
};
}

Expand Down Expand Up @@ -1939,6 +1942,26 @@ export enum KnownLinuxUpdateClasses {
Unclassified = "Unclassified"
}

// @public
export enum KnownModuleProvisioningState {
ActivitiesStored = "ActivitiesStored",
Cancelled = "Cancelled",
ConnectionTypeImported = "ConnectionTypeImported",
ContentDownloaded = "ContentDownloaded",
ContentRetrieved = "ContentRetrieved",
ContentStored = "ContentStored",
ContentValidated = "ContentValidated",
Created = "Created",
Creating = "Creating",
Failed = "Failed",
ModuleDataStored = "ModuleDataStored",
ModuleImportRunbookComplete = "ModuleImportRunbookComplete",
RunningImportModuleRunbook = "RunningImportModuleRunbook",
StartingImportModuleRunbook = "StartingImportModuleRunbook",
Succeeded = "Succeeded",
Updating = "Updating"
}

// @public
export enum KnownProvisioningState {
Completed = "Completed",
Expand Down Expand Up @@ -2064,6 +2087,23 @@ export interface LinuxProperties {
// @public
export type LinuxUpdateClasses = string;

// @public
export interface LogSpecification {
blobDuration?: string;
displayName?: string;
name?: string;
}

// @public
export interface MetricSpecification {
aggregationType?: string;
dimensions?: Dimension[];
displayDescription?: string;
displayName?: string;
name?: string;
unit?: string;
}

// @public
export interface Module extends TrackedResource {
activityCount?: number;
Expand Down Expand Up @@ -2144,7 +2184,7 @@ export interface ModuleOperations {
}

// @public
export type ModuleProvisioningState = "Created" | "Creating" | "StartingImportModuleRunbook" | "RunningImportModuleRunbook" | "ContentRetrieved" | "ContentDownloaded" | "ContentValidated" | "ConnectionTypeImported" | "ContentStored" | "ModuleDataStored" | "ActivitiesStored" | "ModuleImportRunbookComplete" | "Succeeded" | "Failed" | "Cancelled" | "Updating";
export type ModuleProvisioningState = string;

// @public
export interface ModuleUpdateOptionalParams extends coreClient.OperationOptions {
Expand Down Expand Up @@ -2263,10 +2303,13 @@ export type OperatingSystemType = "Windows" | "Linux";
export interface Operation {
display?: OperationDisplay;
name?: string;
origin?: string;
serviceSpecification?: OperationPropertiesFormatServiceSpecification;
}

// @public
export interface OperationDisplay {
description?: string;
operation?: string;
provider?: string;
resource?: string;
Expand All @@ -2277,6 +2320,12 @@ export interface OperationListResult {
value?: Operation[];
}

// @public
export interface OperationPropertiesFormatServiceSpecification {
logSpecifications?: LogSpecification[];
metricSpecifications?: MetricSpecification[];
}

// @public
export interface Operations {
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
Expand Down Expand Up @@ -2430,6 +2479,54 @@ export interface Python2PackageUpdateOptionalParams extends coreClient.Operation
// @public
export type Python2PackageUpdateResponse = Module;

// @public
export interface Python3Package {
createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options?: Python3PackageCreateOrUpdateOptionalParams): Promise<Python3PackageCreateOrUpdateResponse>;
delete(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python3PackageDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python3PackageGetOptionalParams): Promise<Python3PackageGetResponse>;
listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Python3PackageListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Module>;
update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options?: Python3PackageUpdateOptionalParams): Promise<Python3PackageUpdateResponse>;
}

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

// @public
export type Python3PackageCreateOrUpdateResponse = Module;

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

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

// @public
export type Python3PackageGetResponse = Module;

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

// @public
export type Python3PackageListByAutomationAccountNextResponse = ModuleListResult;

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

// @public
export type Python3PackageListByAutomationAccountResponse = ModuleListResult;

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

// @public
export type Python3PackageUpdateResponse = Module;

// @public
export interface PythonPackageCreateParameters {
contentLink: ContentLink;
Expand Down Expand Up @@ -3485,6 +3582,12 @@ export interface UsagesListByAutomationAccountOptionalParams extends coreClient.
// @public
export type UsagesListByAutomationAccountResponse = UsageListResult;

// @public (undocumented)
export interface UserAssignedIdentitiesProperties {
readonly clientId?: string;
readonly principalId?: string;
}

// @public
export interface Variable extends ProxyResource {
creationTime?: Date;
Expand Down
Loading