Skip to content
Open
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/azurestack/mgmt-v2017_06_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-azurestack</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
@@ -0,0 +1,41 @@
/**
* 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.azurestack.v2017_06_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for Category.
*/
public final class Category extends ExpandableStringEnum<Category> {
/** Static value AzureAD for Category. */
public static final Category AZURE_AD = fromString("AzureAD");

/** Static value ADFS for Category. */
public static final Category ADFS = fromString("ADFS");

/**
* Creates or finds a Category from its string representation.
* @param name a name to look for
* @return the corresponding Category
*/
@JsonCreator
public static Category fromString(String name) {
return fromString(name, Category.class);
}

/**
* @return known Category values
*/
public static Collection<Category> values() {
return values(Category.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
/**
* 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.azurestack.v2017_06_01;

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

/**
* Cloud specific manifest data for AzureStack deployment.
*/
@JsonFlatten
public class CloudManifestFileDeploymentData {
/**
* Dsms external certificates.
*/
@JsonProperty(value = "externalDsmsCertificates")
private String externalDsmsCertificates;

/**
* Signing verification public key.
*/
@JsonProperty(value = "customCloudVerificationKey")
private String customCloudVerificationKey;

/**
* ARM endpoint.
*/
@JsonProperty(value = "customEnvironmentEndpoints.customCloudArmEndpoint")
private String customCloudArmEndpoint;

/**
* Dsms endpoint.
*/
@JsonProperty(value = "customEnvironmentEndpoints.externalDsmsEndpoint")
private String externalDsmsEndpoint;

/**
* Get dsms external certificates.
*
* @return the externalDsmsCertificates value
*/
public String externalDsmsCertificates() {
return this.externalDsmsCertificates;
}

/**
* Set dsms external certificates.
*
* @param externalDsmsCertificates the externalDsmsCertificates value to set
* @return the CloudManifestFileDeploymentData object itself.
*/
public CloudManifestFileDeploymentData withExternalDsmsCertificates(String externalDsmsCertificates) {
this.externalDsmsCertificates = externalDsmsCertificates;
return this;
}

/**
* Get signing verification public key.
*
* @return the customCloudVerificationKey value
*/
public String customCloudVerificationKey() {
return this.customCloudVerificationKey;
}

/**
* Set signing verification public key.
*
* @param customCloudVerificationKey the customCloudVerificationKey value to set
* @return the CloudManifestFileDeploymentData object itself.
*/
public CloudManifestFileDeploymentData withCustomCloudVerificationKey(String customCloudVerificationKey) {
this.customCloudVerificationKey = customCloudVerificationKey;
return this;
}

/**
* Get aRM endpoint.
*
* @return the customCloudArmEndpoint value
*/
public String customCloudArmEndpoint() {
return this.customCloudArmEndpoint;
}

/**
* Set aRM endpoint.
*
* @param customCloudArmEndpoint the customCloudArmEndpoint value to set
* @return the CloudManifestFileDeploymentData object itself.
*/
public CloudManifestFileDeploymentData withCustomCloudArmEndpoint(String customCloudArmEndpoint) {
this.customCloudArmEndpoint = customCloudArmEndpoint;
return this;
}

/**
* Get dsms endpoint.
*
* @return the externalDsmsEndpoint value
*/
public String externalDsmsEndpoint() {
return this.externalDsmsEndpoint;
}

/**
* Set dsms endpoint.
*
* @param externalDsmsEndpoint the externalDsmsEndpoint value to set
* @return the CloudManifestFileDeploymentData object itself.
*/
public CloudManifestFileDeploymentData withExternalDsmsEndpoint(String externalDsmsEndpoint) {
this.externalDsmsEndpoint = externalDsmsEndpoint;
return this;
}

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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Cloud specific manifest JSON properties.
*/
public class CloudManifestFileProperties {
/**
* Cloud specific manifest data.
*/
@JsonProperty(value = "deploymentData")
private CloudManifestFileDeploymentData deploymentData;

/**
* Signature of the cloud specific manifest data.
*/
@JsonProperty(value = "signature")
private String signature;

/**
* Get cloud specific manifest data.
*
* @return the deploymentData value
*/
public CloudManifestFileDeploymentData deploymentData() {
return this.deploymentData;
}

/**
* Set cloud specific manifest data.
*
* @param deploymentData the deploymentData value to set
* @return the CloudManifestFileProperties object itself.
*/
public CloudManifestFileProperties withDeploymentData(CloudManifestFileDeploymentData deploymentData) {
this.deploymentData = deploymentData;
return this;
}

/**
* Get signature of the cloud specific manifest data.
*
* @return the signature value
*/
public String signature() {
return this.signature;
}

/**
* Set signature of the cloud specific manifest data.
*
* @param signature the signature value to set
* @return the CloudManifestFileProperties object itself.
*/
public CloudManifestFileProperties withSignature(String signature) {
this.signature = signature;
return this;
}

}
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.azurestack.v2017_06_01;

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.azurestack.v2017_06_01.implementation.AzureStackManager;
import com.microsoft.azure.management.azurestack.v2017_06_01.implementation.CloudManifestFileResponseInner;

/**
* Type representing CloudManifestFileResponse.
*/
public interface CloudManifestFileResponse extends HasInner<CloudManifestFileResponseInner>, HasManager<AzureStackManager> {
/**
* @return the etag value.
*/
String etag();

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

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

/**
* @return the properties value.
*/
CloudManifestFileProperties properties();

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

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

import rx.Observable;
import com.microsoft.azure.management.azurestack.v2017_06_01.implementation.CloudManifestFilesInner;
import com.microsoft.azure.arm.model.HasInner;

/**
* Type representing CloudManifestFiles.
*/
public interface CloudManifestFiles extends HasInner<CloudManifestFilesInner> {
/**
* Returns a cloud specific manifest JSON file.
*
* @param verificationVersion Signing verification key version.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<CloudManifestFileResponse> getAsync(String verificationVersion);

/**
* Returns a cloud specific manifest JSON file with latest version.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<CloudManifestFileResponse> listAsync();

}
Loading