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-resourcemanager-confluent] Fixing spellcheck and updating readme files #11739

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
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
4 changes: 3 additions & 1 deletion sdk/confluent/azure-resourcemanager-confluent/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2021-12-14)

- Azure Resource Manager Confluent client library for Java. This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-2021-12-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
4 changes: 2 additions & 2 deletions sdk/confluent/azure-resourcemanager-confluent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Confluent client library for Java.

This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-preview-2021-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Confluent Management SDK. Package tag package-2021-12-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-confluent</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
20 changes: 10 additions & 10 deletions sdk/confluent/azure-resourcemanager-confluent/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import com.azure.core.util.Context;
/** Samples for MarketplaceAgreements Create. */
public final class MarketplaceAgreementsCreateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/MarketplaceAgreements_Create.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/MarketplaceAgreements_Create.json
*/
/**
* Sample code: MarketplaceAgreements_Create.
Expand All @@ -51,7 +51,7 @@ import com.azure.core.util.Context;
/** Samples for MarketplaceAgreements List. */
public final class MarketplaceAgreementsListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/MarketplaceAgreements_List.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/MarketplaceAgreements_List.json
*/
/**
* Sample code: MarketplaceAgreements_List.
Expand All @@ -75,7 +75,7 @@ import java.util.Map;
/** Samples for Organization Create. */
public final class OrganizationCreateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Create.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Create.json
*/
/**
* Sample code: Organization_Create.
Expand Down Expand Up @@ -125,7 +125,7 @@ import com.azure.core.util.Context;
/** Samples for Organization Delete. */
public final class OrganizationDeleteSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Delete.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Delete.json
*/
/**
* Sample code: Confluent_Delete.
Expand All @@ -146,7 +146,7 @@ import com.azure.core.util.Context;
/** Samples for Organization GetByResourceGroup. */
public final class OrganizationGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Get.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Get.json
*/
/**
* Sample code: Organization_Get.
Expand All @@ -167,7 +167,7 @@ import com.azure.core.util.Context;
/** Samples for Organization List. */
public final class OrganizationListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_ListBySubscription.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_ListBySubscription.json
*/
/**
* Sample code: Organization_ListBySubscription.
Expand All @@ -188,7 +188,7 @@ import com.azure.core.util.Context;
/** Samples for Organization ListByResourceGroup. */
public final class OrganizationListByResourceGroupSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_ListByResourceGroup.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_ListByResourceGroup.json
*/
/**
* Sample code: Organization_ListByResourceGroup.
Expand All @@ -212,7 +212,7 @@ import java.util.Map;
/** Samples for Organization Update. */
public final class OrganizationUpdateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Update.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Update.json
*/
/**
* Sample code: Confluent_Update.
Expand Down Expand Up @@ -249,7 +249,7 @@ import com.azure.core.util.Context;
/** Samples for OrganizationOperations List. */
public final class OrganizationOperationsListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/OrganizationOperations_List.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/OrganizationOperations_List.json
*/
/**
* Sample code: OrganizationOperations_List.
Expand All @@ -275,7 +275,7 @@ import java.util.Map;
/** Samples for Validations ValidateOrganization. */
public final class ValidationsValidateOrganizationSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Validations_ValidateOrganizations.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Validations_ValidateOrganizations.json
*/
/**
* Sample code: Validations_ValidateOrganizations.
Expand Down
2 changes: 1 addition & 1 deletion sdk/confluent/azure-resourcemanager-confluent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Confluent Management</name>
<description>This package contains Microsoft Azure SDK for Confluent Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-preview-2021-09.</description>
<description>This package contains Microsoft Azure SDK for Confluent Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2021-12-01.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public ConfluentManager authenticate(TokenCredential credential, AzureProfile pr
.append("-")
.append("com.azure.resourcemanager.confluent")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public ValidationsClient getValidations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2021-09-01-preview";
this.apiVersion = "2021-12-01";
this.marketplaceAgreements = new MarketplaceAgreementsClientImpl(this);
this.organizationOperations = new OrganizationOperationsClientImpl(this);
this.organizations = new OrganizationsClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ private PollerFlux<PollResult<OrganizationResourceInner>, OrganizationResourceIn
this.client.getHttpPipeline(),
OrganizationResourceInner.class,
OrganizationResourceInner.class,
Context.NONE);
this.client.getContext());
}

/**
Expand Down Expand Up @@ -1235,7 +1235,8 @@ private PollerFlux<PollResult<Void>, Void> beginDeleteAsync(String resourceGroup
Mono<Response<Flux<ByteBuffer>>> mono = deleteWithResponseAsync(resourceGroupName, organizationName);
return this
.client
.<Void, Void>getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, Context.NONE);
.<Void, Void>getLroResult(
mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public final class OfferDetail {
/*
* SaaSOfferStatus SaaS Offer Status
*/
@JsonProperty(value = "status")
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private SaaSOfferStatus status;

/**
Expand Down Expand Up @@ -159,17 +159,6 @@ public SaaSOfferStatus status() {
return this.status;
}

/**
* Set the status property: SaaSOfferStatus SaaS Offer Status.
*
* @param status the status value to set.
* @return the OfferDetail object itself.
*/
public OfferDetail withStatus(SaaSOfferStatus status) {
this.status = status;
return this;
}

/**
* Validates the instance.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for MarketplaceAgreements Create. */
public final class MarketplaceAgreementsCreateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/MarketplaceAgreements_Create.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/MarketplaceAgreements_Create.json
*/
/**
* Sample code: MarketplaceAgreements_Create.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for MarketplaceAgreements List. */
public final class MarketplaceAgreementsListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/MarketplaceAgreements_List.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/MarketplaceAgreements_List.json
*/
/**
* Sample code: MarketplaceAgreements_List.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/** Samples for Organization Create. */
public final class OrganizationCreateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Create.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Create.json
*/
/**
* Sample code: Organization_Create.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for Organization Delete. */
public final class OrganizationDeleteSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Delete.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Delete.json
*/
/**
* Sample code: Confluent_Delete.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for Organization GetByResourceGroup. */
public final class OrganizationGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Get.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Get.json
*/
/**
* Sample code: Organization_Get.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for Organization ListByResourceGroup. */
public final class OrganizationListByResourceGroupSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_ListByResourceGroup.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_ListByResourceGroup.json
*/
/**
* Sample code: Organization_ListByResourceGroup.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for Organization List. */
public final class OrganizationListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_ListBySubscription.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_ListBySubscription.json
*/
/**
* Sample code: Organization_ListBySubscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/** Samples for OrganizationOperations List. */
public final class OrganizationOperationsListSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/OrganizationOperations_List.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/OrganizationOperations_List.json
*/
/**
* Sample code: OrganizationOperations_List.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/** Samples for Organization Update. */
public final class OrganizationUpdateSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Organization_Update.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Organization_Update.json
*/
/**
* Sample code: Confluent_Update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/** Samples for Validations ValidateOrganization. */
public final class ValidationsValidateOrganizationSamples {
/*
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/preview/2021-09-01-preview/examples/Validations_ValidateOrganizations.json
* x-ms-original-file: specification/confluent/resource-manager/Microsoft.Confluent/stable/2021-12-01/examples/Validations_ValidateOrganizations.json
*/
/**
* Sample code: Validations_ValidateOrganizations.
Expand Down