Skip to content
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
8 changes: 4 additions & 4 deletions devspaces/resource-manager/v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.0.0</version>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-devspaces</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DevSpaces Management</name>
<description>This package contains Microsoft DevSpaces Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* 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.devspaces.v2018_06_01_preview;

import rx.Observable;
import com.microsoft.azure.management.devspaces.v2018_06_01_preview.implementation.ContainerHostMappingsInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing ContainerHostMappings.
*/
public interface ContainerHostMappings extends HasInner<ContainerHostMappingsInner> {
/**
* Returns container host mapping object for a container host resource ID if an associated controller exists.
*
* @param location Location of the container host.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<Object> getContainerHostMappingAsync(String location);

}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
interface WithHostSuffix {
/**
* Specifies hostSuffix.
*/
* @param hostSuffix DNS suffix for public endpoints running in the Azure Dev Spaces Controller
* @return the next definition stage
*/
WithSku withHostSuffix(String hostSuffix);
}

Expand All @@ -92,7 +94,9 @@ interface WithHostSuffix {
interface WithSku {
/**
* Specifies sku.
*/
* @param sku the sku parameter value
* @return the next definition stage
*/
WithTargetContainerHostCredentialsBase64 withSku(Sku sku);
}

Expand All @@ -102,7 +106,9 @@ interface WithSku {
interface WithTargetContainerHostCredentialsBase64 {
/**
* Specifies targetContainerHostCredentialsBase64.
*/
* @param targetContainerHostCredentialsBase64 Credentials of the target container host (base64)
* @return the next definition stage
*/
WithTargetContainerHostResourceId withTargetContainerHostCredentialsBase64(String targetContainerHostCredentialsBase64);
}

Expand All @@ -112,7 +118,9 @@ interface WithTargetContainerHostCredentialsBase64 {
interface WithTargetContainerHostResourceId {
/**
* Specifies targetContainerHostResourceId.
*/
* @param targetContainerHostResourceId Resource ID of the target container host
* @return the next definition stage
*/
WithCreate withTargetContainerHostResourceId(String targetContainerHostResourceId);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
* The KubernetesConnectionDetails model.
* Contains information used to connect to a Kubernetes cluster.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("Kubernetes")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* The OrchestratorSpecificConnectionDetails model.
* Base class for types that supply values used to connect to container
* orchestrators.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "instanceType")
@JsonTypeName("OrchestratorSpecificConnectionDetails")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public final class ProvisioningState extends ExpandableStringEnum<ProvisioningSt
/** Static value Deleting for ProvisioningState. */
public static final ProvisioningState DELETING = fromString("Deleting");

/** Static value Deleted for ProvisioningState. */
public static final ProvisioningState DELETED = fromString("Deleted");

/**
* Creates or finds a ProvisioningState from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/**
* 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.devspaces.v2018_06_01_preview.implementation;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Container host mapping object specifying the Container host resource ID and
* its associated Controller resource.
*/
public class ContainerHostMappingInner {
/**
* ARM ID of the Container Host resource.
*/
@JsonProperty(value = "containerHostResourceId")
private String containerHostResourceId;

/**
* ARM ID of the mapped Controller resource.
*/
@JsonProperty(value = "mappedControllerResourceId", access = JsonProperty.Access.WRITE_ONLY)
private String mappedControllerResourceId;

/**
* Get aRM ID of the Container Host resource.
*
* @return the containerHostResourceId value
*/
public String containerHostResourceId() {
return this.containerHostResourceId;
}

/**
* Set aRM ID of the Container Host resource.
*
* @param containerHostResourceId the containerHostResourceId value to set
* @return the ContainerHostMappingInner object itself.
*/
public ContainerHostMappingInner withContainerHostResourceId(String containerHostResourceId) {
this.containerHostResourceId = containerHostResourceId;
return this;
}

/**
* Get aRM ID of the mapped Controller resource.
*
* @return the mappedControllerResourceId value
*/
public String mappedControllerResourceId() {
return this.mappedControllerResourceId;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* 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.
* abc
*/

package com.microsoft.azure.management.devspaces.v2018_06_01_preview.implementation;

import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.devspaces.v2018_06_01_preview.ContainerHostMappings;
import rx.functions.Func1;
import rx.Observable;

class ContainerHostMappingsImpl extends WrapperImpl<ContainerHostMappingsInner> implements ContainerHostMappings {
private final DevSpacesManager manager;

ContainerHostMappingsImpl(DevSpacesManager manager) {
super(manager.inner().containerHostMappings());
this.manager = manager;
}

public DevSpacesManager manager() {
return this.manager;
}

@Override
public Observable<Object> getContainerHostMappingAsync(String location) {
ContainerHostMappingsInner client = this.inner();
return client.getContainerHostMappingAsync(location)
;}

}
Loading