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 resources/resource-manager/v2019_05_01] Adding a new api version 2019-06-01 for Microsoft.Authorization policy artifacts #234

Merged
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
8 changes: 3 additions & 5 deletions resources/resource-manager/v2019_05_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Resources Management</name>
<description>This package contains Microsoft Resources Management SDK.</description>
Expand Down Expand Up @@ -71,8 +71,6 @@
<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 @@ -49,7 +49,7 @@ public interface DeploymentExtended extends HasInner<DeploymentExtendedInner>, I
/**
* The entirety of the DeploymentExtended definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithMicrosoftResource, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithMicrosoft.Resource, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
}

/**
Expand All @@ -59,19 +59,19 @@ interface DefinitionStages {
/**
* The first stage of a DeploymentExtended definition.
*/
interface Blank extends WithMicrosoftResource {
interface Blank extends WithMicrosoft.Resource {
}

/**
* The stage of the deploymentextended definition allowing to specify Microsoft.Resource.
*/
interface WithMicrosoftResource {
interface WithMicrosoft.Resource {
/**
* Specifies groupId.
* @param groupId The management group ID
* @return the next definition stage
*/
WithProperties withExistingMicrosoftResource(String groupId);
WithProperties withExistingMicrosoft.Resource(String groupId);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public String type() {
}

@Override
public DeploymentExtendedImpl withExistingMicrosoftResource(String groupId) {
public DeploymentExtendedImpl withExistingMicrosoft.Resource(String groupId) {
this.groupId = groupId;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,10 @@ public DeploymentOperation call(DeploymentOperationInner inner) {
public Observable<DeploymentOperation> getAtManagementGroupScopeAsync(String groupId, String deploymentName, String operationId) {
DeploymentOperationsInner client = this.inner();
return client.getAtManagementGroupScopeAsync(groupId, deploymentName, operationId)
.flatMap(new Func1<DeploymentOperationInner, Observable<DeploymentOperation>>() {
.map(new Func1<DeploymentOperationInner, DeploymentOperation>() {
@Override
public Observable<DeploymentOperation> call(DeploymentOperationInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((DeploymentOperation)wrapModel(inner));
}
public DeploymentOperation call(DeploymentOperationInner inner) {
return wrapModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,10 @@ public Provider call(ProviderInner inner) {
public Observable<Provider> getAsync(String resourceProviderNamespace) {
ProvidersInner client = this.inner();
return client.getAsync(resourceProviderNamespace)
.flatMap(new Func1<ProviderInner, Observable<Provider>>() {
.map(new Func1<ProviderInner, Provider>() {
@Override
public Observable<Provider> call(ProviderInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((Provider)wrapModel(inner));
}
public Provider call(ProviderInner inner) {
return wrapModel(inner);
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,10 @@ public ResourceGroup call(ResourceGroupInner inner) {
public Observable<ResourceGroup> getAsync(String resourceGroupName) {
ResourceGroupsInner client = this.inner();
return client.getAsync(resourceGroupName)
.flatMap(new Func1<ResourceGroupInner, Observable<ResourceGroup>>() {
.map(new Func1<ResourceGroupInner, ResourceGroup>() {
@Override
public Observable<ResourceGroup> call(ResourceGroupInner inner) {
if (inner == null) {
return Observable.empty();
} else {
return Observable.just((ResourceGroup)wrapModel(inner));
}
public ResourceGroup call(ResourceGroupInner inner) {
return wrapModel(inner);
}
});
}
Expand Down