Skip to content
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
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.network;

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

/**
* Defines values for ExpressRoutePeeringState.
*/
public final class ExpressRoutePeeringState extends ExpandableStringEnum<ExpressRoutePeeringState> {
/** Static value Disabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState DISABLED = fromString("Disabled");

/** Static value Enabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState ENABLED = fromString("Enabled");

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

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

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

/**
* Defines values for ExpressRoutePeeringType.
*/
public final class ExpressRoutePeeringType extends ExpandableStringEnum<ExpressRoutePeeringType> {
/** Static value AzurePublicPeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType AZURE_PUBLIC_PEERING = fromString("AzurePublicPeering");

/** Static value AzurePrivatePeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType AZURE_PRIVATE_PEERING = fromString("AzurePrivatePeering");

/** Static value MicrosoftPeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType MICROSOFT_PEERING = fromString("MicrosoftPeering");

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

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

import java.util.List;
import com.microsoft.azure.SubResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;

/**
* A DDoS protection plan in a resource group.
*/
@JsonFlatten
public class DdosProtectionPlanInner extends Resource {
/**
* The resource GUID property of the DDoS protection plan resource. It
* uniquely identifies the resource, even if the user changes its name or
* migrate the resource across subscriptions or resource groups.
*/
@JsonProperty(value = "properties.resourceGuid", access = JsonProperty.Access.WRITE_ONLY)
private String resourceGuid;

/**
* The provisioning state of the DDoS protection plan resource. Possible
* values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private String provisioningState;

/**
* The list of virtual networks associated with the DDoS protection plan
* resource. This list is read-only.
*/
@JsonProperty(value = "properties.virtualNetworks", access = JsonProperty.Access.WRITE_ONLY)
private List<SubResource> virtualNetworks;

/**
* A unique read-only string that changes whenever the resource is updated.
*/
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;

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

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

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

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

}
Loading