com.pulumi.azurenative.security.inputs.GetJitNetworkAccessPolicyArgs 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.security.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetJitNetworkAccessPolicyArgs extends com.pulumi.resources.InvokeArgs {
public static final GetJitNetworkAccessPolicyArgs Empty = new GetJitNetworkAccessPolicyArgs();
/**
* The location where ASC stores the data of the subscription. can be retrieved from Get locations
*
*/
@Import(name="ascLocation", required=true)
private Output ascLocation;
/**
* @return The location where ASC stores the data of the subscription. can be retrieved from Get locations
*
*/
public Output ascLocation() {
return this.ascLocation;
}
/**
* Name of a Just-in-Time access configuration policy.
*
*/
@Import(name="jitNetworkAccessPolicyName", required=true)
private Output jitNetworkAccessPolicyName;
/**
* @return Name of a Just-in-Time access configuration policy.
*
*/
public Output jitNetworkAccessPolicyName() {
return this.jitNetworkAccessPolicyName;
}
/**
* The name of the resource group within the user's subscription. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group within the user's subscription. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetJitNetworkAccessPolicyArgs() {}
private GetJitNetworkAccessPolicyArgs(GetJitNetworkAccessPolicyArgs $) {
this.ascLocation = $.ascLocation;
this.jitNetworkAccessPolicyName = $.jitNetworkAccessPolicyName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJitNetworkAccessPolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetJitNetworkAccessPolicyArgs $;
public Builder() {
$ = new GetJitNetworkAccessPolicyArgs();
}
public Builder(GetJitNetworkAccessPolicyArgs defaults) {
$ = new GetJitNetworkAccessPolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get locations
*
* @return builder
*
*/
public Builder ascLocation(Output ascLocation) {
$.ascLocation = ascLocation;
return this;
}
/**
* @param ascLocation The location where ASC stores the data of the subscription. can be retrieved from Get locations
*
* @return builder
*
*/
public Builder ascLocation(String ascLocation) {
return ascLocation(Output.of(ascLocation));
}
/**
* @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
*
* @return builder
*
*/
public Builder jitNetworkAccessPolicyName(Output jitNetworkAccessPolicyName) {
$.jitNetworkAccessPolicyName = jitNetworkAccessPolicyName;
return this;
}
/**
* @param jitNetworkAccessPolicyName Name of a Just-in-Time access configuration policy.
*
* @return builder
*
*/
public Builder jitNetworkAccessPolicyName(String jitNetworkAccessPolicyName) {
return jitNetworkAccessPolicyName(Output.of(jitNetworkAccessPolicyName));
}
/**
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetJitNetworkAccessPolicyArgs build() {
if ($.ascLocation == null) {
throw new MissingRequiredPropertyException("GetJitNetworkAccessPolicyArgs", "ascLocation");
}
if ($.jitNetworkAccessPolicyName == null) {
throw new MissingRequiredPropertyException("GetJitNetworkAccessPolicyArgs", "jitNetworkAccessPolicyName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetJitNetworkAccessPolicyArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy