Skip to content

Commit

Permalink
Generated from 66919b11aede8acb1aa80f779abe46ea9c839f5d
Browse files Browse the repository at this point in the history
Add logArtifactLink property in RunGetLogResult.
  • Loading branch information
SDK Automation committed Jun 12, 2020
1 parent 9fb5e38 commit 4e80ef6
Show file tree
Hide file tree
Showing 51 changed files with 4,558 additions and 89 deletions.
4 changes: 2 additions & 2 deletions sdk/containerregistry/mgmt-v2019_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-containerregistry</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
/**
* 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.containerregistry.v2019_06_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.containerregistry.v2019_06_01_preview.implementation.AgentPoolInner;
import com.microsoft.azure.arm.model.Indexable;
import com.microsoft.azure.arm.model.Refreshable;
import com.microsoft.azure.arm.model.Updatable;
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.containerregistry.v2019_06_01_preview.implementation.ContainerRegistryManager;
import java.util.Map;

/**
* Type representing AgentPool.
*/
public interface AgentPool extends HasInner<AgentPoolInner>, Indexable, Refreshable<AgentPool>, Updatable<AgentPool.Update>, HasManager<ContainerRegistryManager> {
/**
* @return the count value.
*/
Integer count();

/**
* @return the id value.
*/
String id();

/**
* @return the location value.
*/
String location();

/**
* @return the name value.
*/
String name();

/**
* @return the os value.
*/
OS os();

/**
* @return the provisioningState value.
*/
ProvisioningState provisioningState();

/**
* @return the tags value.
*/
Map<String, String> tags();

/**
* @return the tier value.
*/
String tier();

/**
* @return the type value.
*/
String type();

/**
* @return the virtualNetworkSubnetResourceId value.
*/
String virtualNetworkSubnetResourceId();

/**
* The entirety of the AgentPool definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRegistry, DefinitionStages.WithLocation, DefinitionStages.WithCreate {
}

/**
* Grouping of AgentPool definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a AgentPool definition.
*/
interface Blank extends WithRegistry {
}

/**
* The stage of the agentpool definition allowing to specify Registry.
*/
interface WithRegistry {
/**
* Specifies resourceGroupName, registryName.
* @param resourceGroupName The name of the resource group to which the container registry belongs
* @param registryName The name of the container registry
* @return the next definition stage
*/
WithLocation withExistingRegistry(String resourceGroupName, String registryName);
}

/**
* The stage of the agentpool definition allowing to specify Location.
*/
interface WithLocation {
/**
* Specifies location.
* @param location The location of the resource. This cannot be changed after the resource is created
* @return the next definition stage
*/
WithCreate withLocation(String location);
}

/**
* The stage of the agentpool definition allowing to specify Count.
*/
interface WithCount {
/**
* Specifies count.
* @param count The count of agent machine
* @return the next definition stage
*/
WithCreate withCount(Integer count);
}

/**
* The stage of the agentpool definition allowing to specify Os.
*/
interface WithOs {
/**
* Specifies os.
* @param os The OS of agent machine. Possible values include: 'Windows', 'Linux'
* @return the next definition stage
*/
WithCreate withOs(OS os);
}

/**
* The stage of the agentpool definition allowing to specify Tags.
*/
interface WithTags {
/**
* Specifies tags.
* @param tags The tags of the resource
* @return the next definition stage
*/
WithCreate withTags(Map<String, String> tags);
}

/**
* The stage of the agentpool definition allowing to specify Tier.
*/
interface WithTier {
/**
* Specifies tier.
* @param tier The Tier of agent machine
* @return the next definition stage
*/
WithCreate withTier(String tier);
}

/**
* The stage of the agentpool definition allowing to specify VirtualNetworkSubnetResourceId.
*/
interface WithVirtualNetworkSubnetResourceId {
/**
* Specifies virtualNetworkSubnetResourceId.
* @param virtualNetworkSubnetResourceId The Virtual Network Subnet Resource Id of the agent machine
* @return the next definition stage
*/
WithCreate withVirtualNetworkSubnetResourceId(String virtualNetworkSubnetResourceId);
}

/**
* The stage of the definition which contains all the minimum required inputs for
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<AgentPool>, DefinitionStages.WithCount, DefinitionStages.WithOs, DefinitionStages.WithTags, DefinitionStages.WithTier, DefinitionStages.WithVirtualNetworkSubnetResourceId {
}
}
/**
* The template for a AgentPool update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<AgentPool>, UpdateStages.WithCount, UpdateStages.WithTags {
}

/**
* Grouping of AgentPool update stages.
*/
interface UpdateStages {
/**
* The stage of the agentpool update allowing to specify Count.
*/
interface WithCount {
/**
* Specifies count.
* @param count The count of agent machine
* @return the next update stage
*/
Update withCount(Integer count);
}

/**
* The stage of the agentpool update allowing to specify Tags.
*/
interface WithTags {
/**
* Specifies tags.
* @param tags The ARM resource tags
* @return the next update stage
*/
Update withTags(Map<String, String> tags);
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/**
* 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.containerregistry.v2019_06_01_preview;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.containerregistry.v2019_06_01_preview.implementation.ContainerRegistryManager;
import com.microsoft.azure.management.containerregistry.v2019_06_01_preview.implementation.AgentPoolQueueStatusInner;

/**
* Type representing AgentPoolQueueStatus.
*/
public interface AgentPoolQueueStatus extends HasInner<AgentPoolQueueStatusInner>, HasManager<ContainerRegistryManager> {
/**
* @return the count value.
*/
Integer count();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/**
* 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.containerregistry.v2019_06_01_preview;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;

/**
* The parameters for updating an agent pool.
*/
@JsonFlatten
public class AgentPoolUpdateParameters {
/**
* The count of agent machine.
*/
@JsonProperty(value = "properties.count")
private Integer count;

/**
* The ARM resource tags.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;

/**
* Get the count of agent machine.
*
* @return the count value
*/
public Integer count() {
return this.count;
}

/**
* Set the count of agent machine.
*
* @param count the count value to set
* @return the AgentPoolUpdateParameters object itself.
*/
public AgentPoolUpdateParameters withCount(Integer count) {
this.count = count;
return this;
}

/**
* Get the ARM resource tags.
*
* @return the tags value
*/
public Map<String, String> tags() {
return this.tags;
}

/**
* Set the ARM resource tags.
*
* @param tags the tags value to set
* @return the AgentPoolUpdateParameters object itself.
*/
public AgentPoolUpdateParameters withTags(Map<String, String> tags) {
this.tags = tags;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* 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.containerregistry.v2019_06_01_preview;

import com.microsoft.azure.arm.collection.SupportsCreating;
import rx.Completable;
import rx.Observable;
import com.microsoft.azure.management.containerregistry.v2019_06_01_preview.implementation.AgentPoolsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing AgentPools.
*/
public interface AgentPools extends SupportsCreating<AgentPool.DefinitionStages.Blank>, HasInner<AgentPoolsInner> {
/**
* Gets the count of queued runs for a given agent pool.
*
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param agentPoolName The name of the agent pool.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AgentPoolQueueStatus> getQueueStatusAsync(String resourceGroupName, String registryName, String agentPoolName);

/**
* Gets the detailed information for a given agent pool.
*
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param agentPoolName The name of the agent pool.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AgentPool> getAsync(String resourceGroupName, String registryName, String agentPoolName);

/**
* Lists all the agent pools for a specified container registry.
*
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AgentPool> listAsync(final String resourceGroupName, final String registryName);

/**
* Deletes a specified agent pool resource.
*
* @param resourceGroupName The name of the resource group to which the container registry belongs.
* @param registryName The name of the container registry.
* @param agentPoolName The name of the agent pool.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Completable deleteAsync(String resourceGroupName, String registryName, String agentPoolName);

}
Loading

0 comments on commit 4e80ef6

Please sign in to comment.