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 servicebus/resource-manager] typo: servicebus/resource-manager/Microsoft.ServiceBus #724

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
2 changes: 1 addition & 1 deletion packages/@azure/arm-servicebus/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 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
8 changes: 4 additions & 4 deletions packages/@azure/arm-servicebus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for ServiceBusManagementClient.

### How to Install

```
```bash
npm install @azure/arm-servicebus
```

Expand All @@ -19,13 +19,13 @@ npm install @azure/arm-servicebus

##### Install @azure/ms-rest-nodeauth

```
```bash
npm install @azure/ms-rest-nodeauth
```

##### Sample code

```ts
```typescript
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
Expand All @@ -47,7 +47,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => {

##### Install @azure/ms-rest-browserauth

```
```bash
npm install @azure/ms-rest-browserauth
```

Expand Down
18 changes: 9 additions & 9 deletions packages/@azure/arm-servicebus/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export interface SBSku {
*/
export interface SBNamespace extends TrackedResource {
/**
* @member {SBSku} [sku] Porperties of Sku
* @member {SBSku} [sku] Properties of Sku
*/
sku?: SBSku;
/**
Expand Down Expand Up @@ -156,7 +156,7 @@ export interface SBNamespace extends TrackedResource {
*/
export interface SBNamespaceUpdateParameters extends ResourceNamespacePatch {
/**
* @member {SBSku} [sku] Porperties of Sku
* @member {SBSku} [sku] Properties of Sku
*/
sku?: SBSku;
/**
Expand Down Expand Up @@ -295,7 +295,7 @@ export interface AccessKeys {
* @interface
* An interface representing RegenerateAccessKeyParameters.
* Parameters supplied to the Regenerate Authorization Rule operation,
* specifies which key neeeds to be reset.
* specifies which key needs to be reset.
*
*/
export interface RegenerateAccessKeyParameters {
Expand Down Expand Up @@ -527,7 +527,7 @@ export interface SBTopic extends Resource {
*/
readonly subscriptionCount?: number;
/**
* @member {MessageCountDetails} [countDetails] Message count deatils
* @member {MessageCountDetails} [countDetails] Message count details
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
Expand Down Expand Up @@ -706,8 +706,8 @@ export interface SBSubscription extends Resource {
*/
export interface CheckNameAvailability {
/**
* @member {string} name The Name to check the namespce name availability and
* The namespace name can contain only letters, numbers, and hyphens. The
* @member {string} name The Name to check the namespace name availability
* and The namespace name can contain only letters, numbers, and hyphens. The
* namespace must start with a letter, and it must end with a letter or
* number.
*/
Expand Down Expand Up @@ -793,7 +793,7 @@ export interface Operation {
/**
* @interface
* An interface representing ErrorResponse.
* Error reponse indicates ServiceBus service is not able to process the
* Error response indicates ServiceBus service is not able to process the
* incoming request. The reason is provided in the error message.
*
*/
Expand Down Expand Up @@ -1130,12 +1130,12 @@ export interface ArmDisasterRecovery extends Resource {
readonly pendingReplicationOperationsCount?: number;
/**
* @member {string} [partnerNamespace] ARM Id of the Primary/Secondary
* eventhub namespace name, which is part of GEO DR pairning
* eventhub namespace name, which is part of GEO DR pairing
*/
partnerNamespace?: string;
/**
* @member {string} [alternateName] Primary/Secondary eventhub namespace
* name, which is part of GEO DR pairning
* name, which is part of GEO DR pairing
*/
alternateName?: string;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export class DisasterRecoveryConfigs {
}

/**
* envokes GEO DR failover and reconfigure the alias to point to the secondary namespace
* Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
Expand Down Expand Up @@ -320,7 +320,7 @@ export class DisasterRecoveryConfigs {
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param [options] The optional parameters
* @returns Promise<Models.DisasterRecoveryConfigsGetAuthorizationRuleResponse>
*/
Expand All @@ -329,15 +329,15 @@ export class DisasterRecoveryConfigs {
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param callback The callback
*/
getAuthorizationRule(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.SBAuthorizationRule>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -360,7 +360,7 @@ export class DisasterRecoveryConfigs {
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param [options] The optional parameters
* @returns Promise<Models.DisasterRecoveryConfigsListKeysResponse>
*/
Expand All @@ -369,15 +369,15 @@ export class DisasterRecoveryConfigs {
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param callback The callback
*/
listKeys(resourceGroupName: string, namespaceName: string, alias: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param alias The Disaster Recovery configuration name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param options The optional parameters
* @param callback The callback
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class MigrationConfigs {
}

/**
* Creates Migration configuration and starts migration of enties from Standard to Premium
* Creates Migration configuration and starts migration of entities from Standard to Premium
* namespace
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
Expand Down Expand Up @@ -139,7 +139,7 @@ export class MigrationConfigs {

/**
* This operation Completes Migration of entities by pointing the connection strings to Premium
* namespace and any enties created after the operation will be under Premium Namespace.
* namespace and any entities created after the operation will be under Premium Namespace.
* CompleteMigration operation will fail when entity migration is in-progress.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
Expand Down Expand Up @@ -204,7 +204,7 @@ export class MigrationConfigs {
}

/**
* Creates Migration configuration and starts migration of enties from Standard to Premium
* Creates Migration configuration and starts migration of entities from Standard to Premium
* namespace
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
Expand Down
30 changes: 15 additions & 15 deletions packages/@azure/arm-servicebus/lib/operations/namespaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class Namespaces {
* Creates or updates an authorization rule for a namespace.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters The shared access authorization rule.
* @param [options] The optional parameters
* @returns Promise<Models.NamespacesCreateOrUpdateAuthorizationRuleResponse>
Expand All @@ -248,15 +248,15 @@ export class Namespaces {
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters The shared access authorization rule.
* @param callback The callback
*/
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.SBAuthorizationRule, callback: msRest.ServiceCallback<Models.SBAuthorizationRule>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters The shared access authorization rule.
* @param options The optional parameters
* @param callback The callback
Expand All @@ -279,22 +279,22 @@ export class Namespaces {
* Deletes a namespace authorization rule.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param [options] The optional parameters
* @returns Promise<msRest.RestResponse>
*/
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param callback The callback
*/
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -315,22 +315,22 @@ export class Namespaces {
* Gets an authorization rule for a namespace by rule name.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param [options] The optional parameters
* @returns Promise<Models.NamespacesGetAuthorizationRuleResponse>
*/
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.NamespacesGetAuthorizationRuleResponse>;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param callback The callback
*/
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.SBAuthorizationRule>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -351,22 +351,22 @@ export class Namespaces {
* Gets the primary and secondary connection strings for the namespace.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param [options] The optional parameters
* @returns Promise<Models.NamespacesListKeysResponse>
*/
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.NamespacesListKeysResponse>;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param callback The callback
*/
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -387,7 +387,7 @@ export class Namespaces {
* Regenerates the primary or secondary connection strings for the namespace.
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters Parameters supplied to regenerate the authorization rule.
* @param [options] The optional parameters
* @returns Promise<Models.NamespacesRegenerateKeysResponse>
Expand All @@ -396,15 +396,15 @@ export class Namespaces {
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters Parameters supplied to regenerate the authorization rule.
* @param callback The callback
*/
regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
/**
* @param resourceGroupName Name of the Resource group within the Azure subscription.
* @param namespaceName The namespace name
* @param authorizationRuleName The authorizationrule name.
* @param authorizationRuleName The authorization rule name.
* @param parameters Parameters supplied to regenerate the authorization rule.
* @param options The optional parameters
* @param callback The callback
Expand Down
Loading