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-workloads] Update readme.python.md #4226

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
4 changes: 3 additions & 1 deletion sdk/workloads/azure-resourcemanager-workloads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2023-03-03)

- Azure Resource Manager Workloads client library for Java. This package contains Microsoft Azure SDK for Workloads Management SDK. Workloads client provides access to various workload operations.<br>Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms) for legal notices applicable to Azure Center for SAP solutions. Package tag package-2023-04. 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/workloads/azure-resourcemanager-workloads/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Workloads client library for Java.

This package contains Microsoft Azure SDK for Workloads Management SDK. Workloads client provides access to various workload operations. Package tag package-preview-2022-11. 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 Workloads Management SDK. Workloads client provides access to various workload operations.<br>Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms) for legal notices applicable to Azure Center for SAP solutions. Package tag package-2023-04. 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-workloads</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
994 changes: 498 additions & 496 deletions sdk/workloads/azure-resourcemanager-workloads/SAMPLE.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions sdk/workloads/azure-resourcemanager-workloads/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright (c) Microsoft Corporation. All rights reserved.
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) AutoRest Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -13,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Workloads Management</name>
<description>This package contains Microsoft Azure SDK for Workloads Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Workloads client provides access to various workload operations. Package tag package-preview-2022-11.</description>
<description>This package contains Microsoft Azure SDK for Workloads Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Workloads client provides access to various workload operations.&lt;br&gt;Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms) for legal notices applicable to Azure Center for SAP solutions. Package tag package-2023-04.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -38,7 +43,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@
import java.util.Objects;
import java.util.stream.Collectors;

/** Entry point to WorkloadsManager. Workloads client provides access to various workload operations. */
/**
* Entry point to WorkloadsManager. Workloads client provides access to various workload operations.&lt;br&gt;Azure
* Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions - Legal
* Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms)
* for legal notices applicable to Azure Center for SAP solutions.
*/
public final class WorkloadsManager {
private ResourceProviders resourceProviders;

Expand Down Expand Up @@ -235,7 +240,7 @@ public WorkloadsManager authenticate(TokenCredential credential, AzureProfile pr
.append("-")
.append("com.azure.resourcemanager.workloads")
.append("/")
.append("1.0.0-beta.2");
.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 @@ -19,7 +19,7 @@
@Fluent
public final class MonitorInner extends Resource {
/*
* Managed service identity (user assigned identities)
* [currently not in use] Managed service identity(user assigned identities)
*/
@JsonProperty(value = "identity")
private UserAssignedServiceIdentity identity;
Expand All @@ -41,7 +41,7 @@ public MonitorInner() {
}

/**
* Get the identity property: Managed service identity (user assigned identities).
* Get the identity property: [currently not in use] Managed service identity(user assigned identities).
*
* @return the identity value.
*/
Expand All @@ -50,7 +50,7 @@ public UserAssignedServiceIdentity identity() {
}

/**
* Set the identity property: Managed service identity (user assigned identities).
* Set the identity property: [currently not in use] Managed service identity(user assigned identities).
*
* @param identity the identity value to set.
* @return the MonitorInner object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@Fluent
public final class ProviderInstanceInner extends ProxyResource {
/*
* Managed service identity (user assigned identities)
* [currently not in use] Managed service identity(user assigned identities)
*/
@JsonProperty(value = "identity")
private UserAssignedServiceIdentity identity;
Expand All @@ -39,7 +39,7 @@ public ProviderInstanceInner() {
}

/**
* Get the identity property: Managed service identity (user assigned identities).
* Get the identity property: [currently not in use] Managed service identity(user assigned identities).
*
* @return the identity value.
*/
Expand All @@ -48,7 +48,7 @@ public UserAssignedServiceIdentity identity() {
}

/**
* Set the identity property: Managed service identity (user assigned identities).
* Set the identity property: [currently not in use] Managed service identity(user assigned identities).
*
* @param identity the identity value to set.
* @return the ProviderInstanceInner object itself.
Expand Down Expand Up @@ -95,7 +95,7 @@ public ProviderInstancePropertiesErrors errors() {
}

/**
* Get the providerSettings property: Defines the provider instance errors.
* Get the providerSettings property: Defines the provider specific properties.
*
* @return the providerSettings value.
*/
Expand All @@ -104,7 +104,7 @@ public ProviderSpecificProperties providerSettings() {
}

/**
* Set the providerSettings property: Defines the provider instance errors.
* Set the providerSettings property: Defines the provider specific properties.
*
* @param providerSettings the providerSettings value to set.
* @return the ProviderInstanceInner object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class ProviderInstanceProperties {
private ProviderInstancePropertiesErrors errors;

/*
* Defines the provider instance errors.
* Defines the provider specific properties.
*/
@JsonProperty(value = "providerSettings")
private ProviderSpecificProperties providerSettings;
Expand Down Expand Up @@ -54,7 +54,7 @@ public ProviderInstancePropertiesErrors errors() {
}

/**
* Get the providerSettings property: Defines the provider instance errors.
* Get the providerSettings property: Defines the provider specific properties.
*
* @return the providerSettings value.
*/
Expand All @@ -63,7 +63,7 @@ public ProviderSpecificProperties providerSettings() {
}

/**
* Set the providerSettings property: Defines the provider instance errors.
* Set the providerSettings property: Defines the provider specific properties.
*
* @param providerSettings the providerSettings value to set.
* @return the ProviderInstanceProperties object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
@Fluent
public final class SapVirtualInstanceInner extends Resource {
/*
* Managed service identity (user assigned identities)
* A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles
* required, visit the ACSS how-to-guide.
*/
@JsonProperty(value = "identity")
private UserAssignedServiceIdentity identity;
Expand All @@ -47,7 +48,8 @@ public SapVirtualInstanceInner() {
}

/**
* Get the identity property: Managed service identity (user assigned identities).
* Get the identity property: A pre-created user assigned identity with appropriate roles assigned. To learn more on
* identity and roles required, visit the ACSS how-to-guide.
*
* @return the identity value.
*/
Expand All @@ -56,7 +58,8 @@ public UserAssignedServiceIdentity identity() {
}

/**
* Set the identity property: Managed service identity (user assigned identities).
* Set the identity property: A pre-created user assigned identity with appropriate roles assigned. To learn more on
* identity and roles required, visit the ACSS how-to-guide.
*
* @param identity the identity value to set.
* @return the SapVirtualInstanceInner object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

/**
* Package containing the inner data models for WorkloadsClient. Workloads client provides access to various workload
* operations.
* operations.&lt;br&gt;Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions
* - Legal
* Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms)
* for legal notices applicable to Azure Center for SAP solutions.
*/
package com.azure.resourcemanager.workloads.fluent.models;
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

/**
* Package containing the service clients for WorkloadsClient. Workloads client provides access to various workload
* operations.
* operations.&lt;br&gt;Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions
* - Legal
* Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms)
* for legal notices applicable to Azure Center for SAP solutions.
*/
package com.azure.resourcemanager.workloads.fluent;
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public OperationsClient getOperations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2022-11-01-preview";
this.apiVersion = "2023-04-01";
this.resourceProviders = new ResourceProvidersClientImpl(this);
this.sapVirtualInstances = new SapVirtualInstancesClientImpl(this);
this.sapCentralInstances = new SapCentralInstancesClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

/**
* Package containing the implementations for WorkloadsClient. Workloads client provides access to various workload
* operations.
* operations.&lt;br&gt;Azure Center for SAP solutions is currently in PREVIEW. See the [Azure Center for SAP solutions
* - Legal
* Terms](https://learn.microsoft.com/en-us/legal/azure-center-for-sap-solutions/azure-center-for-sap-solutions-legal-terms)
* for legal notices applicable to Azure Center for SAP solutions.
*/
package com.azure.resourcemanager.workloads.implementation;
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;

/** Gets or sets the file share configuration for file share created with the VIS case. */
/**
* Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of
* the create infra flow. Please pre-create the resource group you intend to place the transport directory in. The
* storage account and fileshare will be auto-created by the ACSS and doesn’t need to pre-created.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "configurationType")
@JsonTypeName("CreateAndMount")
@Fluent
public final class CreateAndMountFileShareConfiguration extends FileShareConfiguration {
/*
* The name of file share resource group. The app rg is used in case of missing input.
* The name of transport file share resource group. This should be pre created by the customer. The app rg is used
* in case of missing input.
*/
@JsonProperty(value = "resourceGroup")
private String resourceGroup;
Expand All @@ -31,8 +36,8 @@ public CreateAndMountFileShareConfiguration() {
}

/**
* Get the resourceGroup property: The name of file share resource group. The app rg is used in case of missing
* input.
* Get the resourceGroup property: The name of transport file share resource group. This should be pre created by
* the customer. The app rg is used in case of missing input.
*
* @return the resourceGroup value.
*/
Expand All @@ -41,8 +46,8 @@ public String resourceGroup() {
}

/**
* Set the resourceGroup property: The name of file share resource group. The app rg is used in case of missing
* input.
* Set the resourceGroup property: The name of transport file share resource group. This should be pre created by
* the customer. The app rg is used in case of missing input.
*
* @param resourceGroup the resourceGroup value to set.
* @return the CreateAndMountFileShareConfiguration object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@Fluent
public final class DiskDetails {
/*
* The disk sku.
* The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS.
*/
@JsonProperty(value = "sku")
private DiskSku sku;
Expand Down Expand Up @@ -57,7 +57,7 @@ public DiskDetails() {
}

/**
* Get the sku property: The disk sku.
* Get the sku property: The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS.
*
* @return the sku value.
*/
Expand All @@ -66,7 +66,7 @@ public DiskSku sku() {
}

/**
* Set the sku property: The disk sku.
* Set the sku property: The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS.
*
* @param sku the sku value to set.
* @return the DiskDetails object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The disk sku. */
/** The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS. */
@Fluent
public final class DiskSku {
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@ public final class ImageReference {
@JsonProperty(value = "version")
private String version;

/*
* Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual
* machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
*/
@JsonProperty(value = "exactVersion", access = JsonProperty.Access.WRITE_ONLY)
private String exactVersion;

/*
* Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image
* GET call.
*/
@JsonProperty(value = "sharedGalleryImageId")
private String sharedGalleryImageId;

/** Creates an instance of ImageReference class. */
public ImageReference() {
}
Expand Down Expand Up @@ -148,39 +134,6 @@ public ImageReference withVersion(String version) {
return this;
}

/**
* Get the exactVersion property: Specifies in decimal numbers, the version of platform image or marketplace image
* used to create the virtual machine. This readonly field differs from 'version', only if the value specified in
* 'version' field is 'latest'.
*
* @return the exactVersion value.
*/
public String exactVersion() {
return this.exactVersion;
}

/**
* Get the sharedGalleryImageId property: Specified the shared gallery image unique id for vm deployment. This can
* be fetched from shared gallery image GET call.
*
* @return the sharedGalleryImageId value.
*/
public String sharedGalleryImageId() {
return this.sharedGalleryImageId;
}

/**
* Set the sharedGalleryImageId property: Specified the shared gallery image unique id for vm deployment. This can
* be fetched from shared gallery image GET call.
*
* @param sharedGalleryImageId the sharedGalleryImageId value to set.
* @return the ImageReference object itself.
*/
public ImageReference withSharedGalleryImageId(String sharedGalleryImageId) {
this.sharedGalleryImageId = sharedGalleryImageId;
return this;
}

/**
* Validates the instance.
*
Expand Down
Loading