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 sql/resource-manager] [DO NOT MERGE] Update jobs.json to latest generated swagger file as well as it's updated examples #95

Merged
merged 4 commits into from
May 17, 2018
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

Large diffs are not rendered by default.

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.sql;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Properties for an Azure SQL Database Vulnerability Assessment rule
* baseline's result.
*/
public class DatabaseVulnerabilityAssessmentRuleBaselineItem {
/**
* The rule baseline result.
*/
@JsonProperty(value = "result", required = true)
private List<String> result;

/**
* Get the result value.
*
* @return the result value
*/
public List<String> result() {
return this.result;
}

/**
* Set the result value.
*
* @param result the result value to set
* @return the DatabaseVulnerabilityAssessmentRuleBaselineItem object itself.
*/
public DatabaseVulnerabilityAssessmentRuleBaselineItem withResult(List<String> result) {
this.result = result;
return this;
}

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

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

/**
* An elastic pool update.
*/
@JsonFlatten
public class ElasticPoolUpdate {
/**
* The sku property.
*/
@JsonProperty(value = "sku")
private Sku sku;

/**
* The storage limit for the database elastic pool in bytes.
*/
@JsonProperty(value = "properties.maxSizeBytes")
private Long maxSizeBytes;

/**
* The per database settings for the elastic pool.
*/
@JsonProperty(value = "properties.perDatabaseSettings")
private ElasticPoolPerDatabaseSettings perDatabaseSettings;

/**
* Whether or not this elastic pool is zone redundant, which means the
* replicas of this elastic pool will be spread across multiple
* availability zones.
*/
@JsonProperty(value = "properties.zoneRedundant")
private Boolean zoneRedundant;

/**
* The license type to apply for this elastic pool. Possible values
* include: 'LicenseIncluded', 'BasePrice'.
*/
@JsonProperty(value = "properties.licenseType")
private ElasticPoolLicenseType licenseType;

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

/**
* Get the sku value.
*
* @return the sku value
*/
public Sku sku() {
return this.sku;
}

/**
* Set the sku value.
*
* @param sku the sku value to set
* @return the ElasticPoolUpdate object itself.
*/
public ElasticPoolUpdate withSku(Sku sku) {
this.sku = sku;
return this;
}

/**
* Get the maxSizeBytes value.
*
* @return the maxSizeBytes value
*/
public Long maxSizeBytes() {
return this.maxSizeBytes;
}

/**
* Set the maxSizeBytes value.
*
* @param maxSizeBytes the maxSizeBytes value to set
* @return the ElasticPoolUpdate object itself.
*/
public ElasticPoolUpdate withMaxSizeBytes(Long maxSizeBytes) {
this.maxSizeBytes = maxSizeBytes;
return this;
}

/**
* Get the perDatabaseSettings value.
*
* @return the perDatabaseSettings value
*/
public ElasticPoolPerDatabaseSettings perDatabaseSettings() {
return this.perDatabaseSettings;
}

/**
* Set the perDatabaseSettings value.
*
* @param perDatabaseSettings the perDatabaseSettings value to set
* @return the ElasticPoolUpdate object itself.
*/
public ElasticPoolUpdate withPerDatabaseSettings(ElasticPoolPerDatabaseSettings perDatabaseSettings) {
this.perDatabaseSettings = perDatabaseSettings;
return this;
}

/**
* Get the zoneRedundant value.
*
* @return the zoneRedundant value
*/
public Boolean zoneRedundant() {
return this.zoneRedundant;
}

/**
* Set the zoneRedundant value.
*
* @param zoneRedundant the zoneRedundant value to set
* @return the ElasticPoolUpdate object itself.
*/
public ElasticPoolUpdate withZoneRedundant(Boolean zoneRedundant) {
this.zoneRedundant = zoneRedundant;
return this;
}

/**
* Get the licenseType value.
*
* @return the licenseType value
*/
public ElasticPoolLicenseType licenseType() {
return this.licenseType;
}

/**
* Set the licenseType value.
*
* @param licenseType the licenseType value to set
* @return the ElasticPoolUpdate object itself.
*/
public ElasticPoolUpdate withLicenseType(ElasticPoolLicenseType licenseType) {
this.licenseType = licenseType;
return this;
}

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

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

}
Loading