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-deviceprovisioningservices] deviceprovisioningservices: updating the Swagger Tags to match the Operation ID Prefix #1334

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
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Release History

## 5.1.0 (2022-08-04)

**Features**

## 5.0.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface ProvisioningServiceDescription

## 5.0.1 (2022-04-27)

**Features**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "846ef3b64b068ad7e3c02bd2f6066fba88271000",
"commit": "de0eff09ea6e57e79fc454a2e3fe13e40e592ae5",
"readme": "specification/deviceprovisioningservices/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\deviceprovisioningservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220523.1",
"autorest_command": "",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.1",
"use": "@autorest/typescript@6.0.0-alpha.19.20220523.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.1",
"use": "@autorest/typescript@6.0.0-rc.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for IotDpsClient.",
"version": "5.0.2",
"version": "5.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -98,8 +98,7 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -111,4 +110,4 @@
]
},
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -438,109 +438,73 @@ export type IpFilterTargetType = "all" | "serviceApi" | "deviceApi";

// @public
export enum KnownAccessRightsDescription {
// (undocumented)
DeviceConnect = "DeviceConnect",
// (undocumented)
EnrollmentRead = "EnrollmentRead",
// (undocumented)
EnrollmentWrite = "EnrollmentWrite",
// (undocumented)
RegistrationStatusRead = "RegistrationStatusRead",
// (undocumented)
RegistrationStatusWrite = "RegistrationStatusWrite",
// (undocumented)
ServiceConfig = "ServiceConfig"
}

// @public
export enum KnownAllocationPolicy {
// (undocumented)
GeoLatency = "GeoLatency",
// (undocumented)
Hashed = "Hashed",
// (undocumented)
Static = "Static"
}

// @public
export enum KnownCertificatePurpose {
// (undocumented)
ClientAuthentication = "clientAuthentication",
// (undocumented)
ServerAuthentication = "serverAuthentication"
}

// @public
export enum KnownCreatedByType {
// (undocumented)
Application = "Application",
// (undocumented)
Key = "Key",
// (undocumented)
ManagedIdentity = "ManagedIdentity",
// (undocumented)
User = "User"
}

// @public
export enum KnownIotDpsSku {
// (undocumented)
S1 = "S1"
}

// @public
export enum KnownNameUnavailabilityReason {
// (undocumented)
AlreadyExists = "AlreadyExists",
// (undocumented)
Invalid = "Invalid"
}

// @public
export enum KnownPrivateLinkServiceConnectionStatus {
// (undocumented)
Approved = "Approved",
// (undocumented)
Disconnected = "Disconnected",
// (undocumented)
Pending = "Pending",
// (undocumented)
Rejected = "Rejected"
}

// @public
export enum KnownPublicNetworkAccess {
// (undocumented)
Disabled = "Disabled",
// (undocumented)
Enabled = "Enabled"
}

// @public
export enum KnownState {
// (undocumented)
Activating = "Activating",
// (undocumented)
ActivationFailed = "ActivationFailed",
// (undocumented)
Active = "Active",
// (undocumented)
Deleted = "Deleted",
// (undocumented)
Deleting = "Deleting",
// (undocumented)
DeletionFailed = "DeletionFailed",
// (undocumented)
FailingOver = "FailingOver",
// (undocumented)
FailoverFailed = "FailoverFailed",
// (undocumented)
Resuming = "Resuming",
// (undocumented)
Suspended = "Suspended",
// (undocumented)
Suspending = "Suspending",
// (undocumented)
Transitioning = "Transitioning"
}

Expand Down Expand Up @@ -633,12 +597,12 @@ export interface PrivateLinkServiceConnectionState {
export type PrivateLinkServiceConnectionStatus = string;

// @public
export type ProvisioningServiceDescription = Resource & {
export interface ProvisioningServiceDescription extends Resource {
etag?: string;
properties: IotDpsPropertiesDescription;
sku: IotDpsSkuInfo;
readonly systemData?: SystemData;
};
}

// @public
export interface ProvisioningServiceDescriptionListResult {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class IotDpsClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-deviceprovisioningservices/5.0.2`;
const packageDetails = `azsdk-js-arm-deviceprovisioningservices/5.1.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -127,7 +127,7 @@ export class IotDpsClient extends coreClient.ServiceClient {
if (param.length > 1) {
const newParams = param[1].split("&").map((item) => {
if (item.indexOf("api-version") > -1) {
return item.replace(/(?<==).*$/, apiVersion);
return "api-version=" + apiVersion;
} else {
return item;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export interface CertificateBodyDescription {
}

/** The description of the provisioning service. */
export type ProvisioningServiceDescription = Resource & {
export interface ProvisioningServiceDescription extends Resource {
/** The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. */
etag?: string;
/** Service specific properties for a provisioning service */
Expand All @@ -519,7 +519,7 @@ export type ProvisioningServiceDescription = Resource & {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly systemData?: SystemData;
};
}

/** Defines headers for IotDpsResource_deletePrivateEndpointConnection operation. */
export interface IotDpsResourceDeletePrivateEndpointConnectionHeaders {
Expand All @@ -533,9 +533,13 @@ export interface IotDpsResourceDeletePrivateEndpointConnectionHeaders {

/** Known values of {@link CreatedByType} that the service accepts. */
export enum KnownCreatedByType {
/** User */
User = "User",
/** Application */
Application = "Application",
/** ManagedIdentity */
ManagedIdentity = "ManagedIdentity",
/** Key */
Key = "Key"
}

Expand All @@ -553,7 +557,9 @@ export type CreatedByType = string;

/** Known values of {@link CertificatePurpose} that the service accepts. */
export enum KnownCertificatePurpose {
/** ClientAuthentication */
ClientAuthentication = "clientAuthentication",
/** ServerAuthentication */
ServerAuthentication = "serverAuthentication"
}

Expand All @@ -569,17 +575,29 @@ export type CertificatePurpose = string;

/** Known values of {@link State} that the service accepts. */
export enum KnownState {
/** Activating */
Activating = "Activating",
/** Active */
Active = "Active",
/** Deleting */
Deleting = "Deleting",
/** Deleted */
Deleted = "Deleted",
/** ActivationFailed */
ActivationFailed = "ActivationFailed",
/** DeletionFailed */
DeletionFailed = "DeletionFailed",
/** Transitioning */
Transitioning = "Transitioning",
/** Suspending */
Suspending = "Suspending",
/** Suspended */
Suspended = "Suspended",
/** Resuming */
Resuming = "Resuming",
/** FailingOver */
FailingOver = "FailingOver",
/** FailoverFailed */
FailoverFailed = "FailoverFailed"
}

Expand All @@ -605,7 +623,9 @@ export type State = string;

/** Known values of {@link PublicNetworkAccess} that the service accepts. */
export enum KnownPublicNetworkAccess {
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled"
}

Expand All @@ -621,9 +641,13 @@ export type PublicNetworkAccess = string;

/** Known values of {@link PrivateLinkServiceConnectionStatus} that the service accepts. */
export enum KnownPrivateLinkServiceConnectionStatus {
/** Pending */
Pending = "Pending",
/** Approved */
Approved = "Approved",
/** Rejected */
Rejected = "Rejected",
/** Disconnected */
Disconnected = "Disconnected"
}

Expand All @@ -641,8 +665,11 @@ export type PrivateLinkServiceConnectionStatus = string;

/** Known values of {@link AllocationPolicy} that the service accepts. */
export enum KnownAllocationPolicy {
/** Hashed */
Hashed = "Hashed",
/** GeoLatency */
GeoLatency = "GeoLatency",
/** Static */
Static = "Static"
}

Expand All @@ -659,11 +686,17 @@ export type AllocationPolicy = string;

/** Known values of {@link AccessRightsDescription} that the service accepts. */
export enum KnownAccessRightsDescription {
/** ServiceConfig */
ServiceConfig = "ServiceConfig",
/** EnrollmentRead */
EnrollmentRead = "EnrollmentRead",
/** EnrollmentWrite */
EnrollmentWrite = "EnrollmentWrite",
/** DeviceConnect */
DeviceConnect = "DeviceConnect",
/** RegistrationStatusRead */
RegistrationStatusRead = "RegistrationStatusRead",
/** RegistrationStatusWrite */
RegistrationStatusWrite = "RegistrationStatusWrite"
}

Expand All @@ -683,6 +716,7 @@ export type AccessRightsDescription = string;

/** Known values of {@link IotDpsSku} that the service accepts. */
export enum KnownIotDpsSku {
/** S1 */
S1 = "S1"
}

Expand All @@ -697,7 +731,9 @@ export type IotDpsSku = string;

/** Known values of {@link NameUnavailabilityReason} that the service accepts. */
export enum KnownNameUnavailabilityReason {
/** Invalid */
Invalid = "Invalid",
/** AlreadyExists */
AlreadyExists = "AlreadyExists"
}

Expand Down