com.pulumi.azurenative.containerinstance.inputs.PortArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.containerinstance.inputs;
import com.pulumi.azurenative.containerinstance.enums.ContainerGroupNetworkProtocol;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The port exposed on the container group.
*
*/
public final class PortArgs extends com.pulumi.resources.ResourceArgs {
public static final PortArgs Empty = new PortArgs();
/**
* The port number.
*
*/
@Import(name="port", required=true)
private Output port;
/**
* @return The port number.
*
*/
public Output port() {
return this.port;
}
/**
* The protocol associated with the port.
*
*/
@Import(name="protocol")
private @Nullable Output> protocol;
/**
* @return The protocol associated with the port.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy