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 sdk/storagecache/mgmt-v2019_11_01] Change storagecache name max length from 31 to 80 #1937

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
Expand Up @@ -53,11 +53,6 @@ public interface StorageTarget extends HasInner<StorageTargetInner>, Indexable,
*/
ProvisioningStateType provisioningState();

/**
* @return the targetType value.
*/
StorageTargetType targetType();

/**
* @return the type value.
*/
Expand Down Expand Up @@ -145,18 +140,6 @@ interface WithProvisioningState {
WithCreate withProvisioningState(ProvisioningStateType provisioningState);
}

/**
* The stage of the storagetarget definition allowing to specify TargetType.
*/
interface WithTargetType {
/**
* Specifies targetType.
* @param targetType Type of the Storage Target. Possible values include: 'nfs3', 'clfs', 'unknown'
* @return the next definition stage
*/
WithCreate withTargetType(StorageTargetType targetType);
}

/**
* The stage of the storagetarget definition allowing to specify Unknown.
*/
Expand All @@ -174,13 +157,13 @@ interface WithUnknown {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<StorageTarget>, DefinitionStages.WithClfs, DefinitionStages.WithJunctions, DefinitionStages.WithNfs3, DefinitionStages.WithProvisioningState, DefinitionStages.WithTargetType, DefinitionStages.WithUnknown {
interface WithCreate extends Creatable<StorageTarget>, DefinitionStages.WithClfs, DefinitionStages.WithJunctions, DefinitionStages.WithNfs3, DefinitionStages.WithProvisioningState, DefinitionStages.WithUnknown {
}
}
/**
* The template for a StorageTarget update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<StorageTarget>, UpdateStages.WithClfs, UpdateStages.WithJunctions, UpdateStages.WithNfs3, UpdateStages.WithProvisioningState, UpdateStages.WithTargetType, UpdateStages.WithUnknown {
interface Update extends Appliable<StorageTarget>, UpdateStages.WithClfs, UpdateStages.WithJunctions, UpdateStages.WithNfs3, UpdateStages.WithProvisioningState, UpdateStages.WithUnknown {
}

/**
Expand Down Expand Up @@ -235,18 +218,6 @@ interface WithProvisioningState {
Update withProvisioningState(ProvisioningStateType provisioningState);
}

/**
* The stage of the storagetarget update allowing to specify TargetType.
*/
interface WithTargetType {
/**
* Specifies targetType.
* @param targetType Type of the Storage Target. Possible values include: 'nfs3', 'clfs', 'unknown'
* @return the next update stage
*/
Update withTargetType(StorageTargetType targetType);
}

/**
* The stage of the storagetarget update allowing to specify Unknown.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import rx.Observable;
import java.util.List;
import com.microsoft.azure.management.storagecache.v2019_11_01.NamespaceJunction;
import com.microsoft.azure.management.storagecache.v2019_11_01.StorageTargetType;
import com.microsoft.azure.management.storagecache.v2019_11_01.ProvisioningStateType;
import com.microsoft.azure.management.storagecache.v2019_11_01.Nfs3Target;
import com.microsoft.azure.management.storagecache.v2019_11_01.ClfsTarget;
Expand Down Expand Up @@ -106,11 +105,6 @@ public ProvisioningStateType provisioningState() {
return this.inner().provisioningState();
}

@Override
public StorageTargetType targetType() {
return this.inner().targetType();
}

@Override
public String type() {
return this.inner().type();
Expand Down Expand Up @@ -152,12 +146,6 @@ public StorageTargetImpl withProvisioningState(ProvisioningStateType provisionin
return this;
}

@Override
public StorageTargetImpl withTargetType(StorageTargetType targetType) {
this.inner().withTargetType(targetType);
return this;
}

@Override
public StorageTargetImpl withUnknown(UnknownTarget unknown) {
this.inner().withUnknown(unknown);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import java.util.List;
import com.microsoft.azure.management.storagecache.v2019_11_01.NamespaceJunction;
import com.microsoft.azure.management.storagecache.v2019_11_01.StorageTargetType;
import com.microsoft.azure.management.storagecache.v2019_11_01.ProvisioningStateType;
import com.microsoft.azure.management.storagecache.v2019_11_01.Nfs3Target;
import com.microsoft.azure.management.storagecache.v2019_11_01.ClfsTarget;
Expand All @@ -30,13 +29,6 @@ public class StorageTargetInner extends ProxyResource {
@JsonProperty(value = "properties.junctions")
private List<NamespaceJunction> junctions;

/**
* Type of the Storage Target. Possible values include: 'nfs3', 'clfs',
* 'unknown'.
*/
@JsonProperty(value = "properties.targetType")
private StorageTargetType targetType;

/**
* ARM provisioning state, see
* https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
Expand Down Expand Up @@ -84,26 +76,6 @@ public StorageTargetInner withJunctions(List<NamespaceJunction> junctions) {
return this;
}

/**
* Get type of the Storage Target. Possible values include: 'nfs3', 'clfs', 'unknown'.
*
* @return the targetType value
*/
public StorageTargetType targetType() {
return this.targetType;
}

/**
* Set type of the Storage Target. Possible values include: 'nfs3', 'clfs', 'unknown'.
*
* @param targetType the targetType value to set
* @return the StorageTargetInner object itself.
*/
public StorageTargetInner withTargetType(StorageTargetType targetType) {
this.targetType = targetType;
return this;
}

/**
* Get aRM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'.
*
Expand Down