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

[ReleasePR sdk/netapp/mgmt-v2019_05_01] Fix missing type in netapp #7564

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/netapp/mgmt-v2019_05_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-netapp</artifactId>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public interface CapacityPool extends HasInner<CapacityPoolInner>, Indexable, Re
/**
* @return the size value.
*/
Long size();
long size();

/**
* @return the tags value.
Expand All @@ -71,7 +71,7 @@ public interface CapacityPool extends HasInner<CapacityPoolInner>, Indexable, Re
/**
* The entirety of the CapacityPool definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNetAppAccount, DefinitionStages.WithLocation, DefinitionStages.WithCreate {
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithNetAppAccount, DefinitionStages.WithLocation, DefinitionStages.WithServiceLevel, DefinitionStages.WithSize, DefinitionStages.WithCreate {
}

/**
Expand Down Expand Up @@ -106,31 +106,31 @@ interface WithLocation {
* @param location the location parameter value
* @return the next definition stage
*/
WithCreate withLocation(String location);
WithServiceLevel withLocation(String location);
}

/**
* The stage of the capacitypool definition allowing to specify ServiceLevel.
*/
interface WithServiceLevel {
/**
* Specifies serviceLevel.
* @param serviceLevel The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
* @return the next definition stage
*/
WithCreate withServiceLevel(ServiceLevel serviceLevel);
/**
* Specifies serviceLevel.
* @param serviceLevel The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra'
* @return the next definition stage
*/
WithSize withServiceLevel(ServiceLevel serviceLevel);
}

/**
* The stage of the capacitypool definition allowing to specify Size.
*/
interface WithSize {
/**
* Specifies size.
* @param size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104)
* @return the next definition stage
*/
WithCreate withSize(Long size);
/**
* Specifies size.
* @param size Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104)
* @return the next definition stage
*/
WithCreate withSize(long size);
}

/**
Expand All @@ -150,7 +150,7 @@ interface WithTags {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<CapacityPool>, DefinitionStages.WithServiceLevel, DefinitionStages.WithSize, DefinitionStages.WithTags {
interface WithCreate extends Creatable<CapacityPool>, DefinitionStages.WithTags {
}
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
* Defines values for CheckNameResourceTypes.
*/
public final class CheckNameResourceTypes extends ExpandableStringEnum<CheckNameResourceTypes> {
/** Static value Microsoft.NetApp/netAppAccount for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNT = fromString("Microsoft.NetApp/netAppAccount");
/** Static value Microsoft.NetApp/netAppAccounts for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTS = fromString("Microsoft.NetApp/netAppAccounts");

/** Static value Microsoft.NetApp/netAppAccount/capacityPools for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLS = fromString("Microsoft.NetApp/netAppAccount/capacityPools");
/** Static value Microsoft.NetApp/netAppAccounts/capacityPools for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLS = fromString("Microsoft.NetApp/netAppAccounts/capacityPools");

/** Static value Microsoft.NetApp/netAppAccount/capacityPools/volumes for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLSVOLUMES = fromString("Microsoft.NetApp/netAppAccount/capacityPools/volumes");
/** Static value Microsoft.NetApp/netAppAccounts/capacityPools/volumes for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLSVOLUMES = fromString("Microsoft.NetApp/netAppAccounts/capacityPools/volumes");

/** Static value Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTCAPACITY_POOLSVOLUMESSNAPSHOTS = fromString("Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots");
/** Static value Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots for CheckNameResourceTypes. */
public static final CheckNameResourceTypes MICROSOFT_NET_APPNET_APP_ACCOUNTSCAPACITY_POOLSVOLUMESSNAPSHOTS = fromString("Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots");

/**
* Creates or finds a CheckNameResourceTypes from its string representation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public class ExportPolicyRule {
private Boolean nfsv3;

/**
* Allows NFSv4 protocol.
* Deprecated: Will use the NFSv4.1 protocol, please use swagger version
* 2019-07-01 or later.
*/
@JsonProperty(value = "nfsv4")
private Boolean nfsv4;
Expand Down Expand Up @@ -158,7 +159,7 @@ public ExportPolicyRule withNfsv3(Boolean nfsv3) {
}

/**
* Get allows NFSv4 protocol.
* Get deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later.
*
* @return the nfsv4 value
*/
Expand All @@ -167,7 +168,7 @@ public Boolean nfsv4() {
}

/**
* Set allows NFSv4 protocol.
* Set deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later.
*
* @param nfsv4 the nfsv4 value to set
* @return the ExportPolicyRule object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.netapp.v2019_05_01;

import java.util.List;
import com.microsoft.azure.management.netapp.v2019_05_01.implementation.MountTargetInner;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* List of Mount Targets.
*/
public class MountTargetList {
/**
* A list of Mount targets.
*/
@JsonProperty(value = "value")
private List<MountTargetInner> value;

/**
* Get a list of Mount targets.
*
* @return the value value
*/
public List<MountTargetInner> value() {
return this.value;
}

/**
* Set a list of Mount targets.
*
* @param value the value value to set
* @return the MountTargetList object itself.
*/
public MountTargetList withValue(List<MountTargetInner> value) {
this.value = value;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ public class ResourceNameAvailabilityRequest {

/**
* Resource type used for verification. Possible values include:
* 'Microsoft.NetApp/netAppAccount',
* 'Microsoft.NetApp/netAppAccount/capacityPools',
* 'Microsoft.NetApp/netAppAccount/capacityPools/volumes',
* 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
* 'Microsoft.NetApp/netAppAccounts',
* 'Microsoft.NetApp/netAppAccounts/capacityPools',
* 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
* 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*/
@JsonProperty(value = "type", required = true)
private CheckNameResourceTypes type;
Expand Down Expand Up @@ -57,7 +57,7 @@ public ResourceNameAvailabilityRequest withName(String name) {
}

/**
* Get resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccount', 'Microsoft.NetApp/netAppAccount/capacityPools', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
* Get resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccounts', 'Microsoft.NetApp/netAppAccounts/capacityPools', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*
* @return the type value
*/
Expand All @@ -66,7 +66,7 @@ public CheckNameResourceTypes type() {
}

/**
* Set resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccount', 'Microsoft.NetApp/netAppAccount/capacityPools', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes', 'Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots'.
* Set resource type used for verification. Possible values include: 'Microsoft.NetApp/netAppAccounts', 'Microsoft.NetApp/netAppAccounts/capacityPools', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes', 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'.
*
* @param type the type value to set
* @return the ResourceNameAvailabilityRequest object itself.
Expand Down
Loading