All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.compute.outputs.ScaleSetPacketCaptureStorageLocation Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.azure.compute.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ScaleSetPacketCaptureStorageLocation {
    /**
     * @return A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For Linux virtual machine it must start with `/var/captures`.
     * 
     */
    private @Nullable String filePath;
    /**
     * @return The ID of the storage account to save the packet capture session
     * 
     * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
     * 
     */
    private @Nullable String storageAccountId;
    /**
     * @return The URI of the storage path where the packet capture sessions are saved to.
     * 
     */
    private @Nullable String storagePath;

    private ScaleSetPacketCaptureStorageLocation() {}
    /**
     * @return A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For Linux virtual machine it must start with `/var/captures`.
     * 
     */
    public Optional filePath() {
        return Optional.ofNullable(this.filePath);
    }
    /**
     * @return The ID of the storage account to save the packet capture session
     * 
     * > **NOTE:** At least one of `file_path` or `storage_account_id` must be specified.
     * 
     */
    public Optional storageAccountId() {
        return Optional.ofNullable(this.storageAccountId);
    }
    /**
     * @return The URI of the storage path where the packet capture sessions are saved to.
     * 
     */
    public Optional storagePath() {
        return Optional.ofNullable(this.storagePath);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ScaleSetPacketCaptureStorageLocation defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String filePath;
        private @Nullable String storageAccountId;
        private @Nullable String storagePath;
        public Builder() {}
        public Builder(ScaleSetPacketCaptureStorageLocation defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.filePath = defaults.filePath;
    	      this.storageAccountId = defaults.storageAccountId;
    	      this.storagePath = defaults.storagePath;
        }

        @CustomType.Setter
        public Builder filePath(@Nullable String filePath) {

            this.filePath = filePath;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountId(@Nullable String storageAccountId) {

            this.storageAccountId = storageAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder storagePath(@Nullable String storagePath) {

            this.storagePath = storagePath;
            return this;
        }
        public ScaleSetPacketCaptureStorageLocation build() {
            final var _resultValue = new ScaleSetPacketCaptureStorageLocation();
            _resultValue.filePath = filePath;
            _resultValue.storageAccountId = storageAccountId;
            _resultValue.storagePath = storagePath;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy