Documentation
¶
Index ¶
- type Cache
- type CacheArgs
- type CacheBlobTarget
- type CacheBlobTargetArgs
- type CacheBlobTargetInput
- type CacheBlobTargetOutput
- type CacheBlobTargetState
- type CacheInput
- type CacheNfsTarget
- type CacheNfsTargetArgs
- type CacheNfsTargetInput
- type CacheNfsTargetNamespaceJunction
- type CacheNfsTargetNamespaceJunctionArgs
- func (CacheNfsTargetNamespaceJunctionArgs) ElementType() reflect.Type
- func (i CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutput() CacheNfsTargetNamespaceJunctionOutput
- func (i CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionOutput
- type CacheNfsTargetNamespaceJunctionArray
- func (CacheNfsTargetNamespaceJunctionArray) ElementType() reflect.Type
- func (i CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutput() CacheNfsTargetNamespaceJunctionArrayOutput
- func (i CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionArrayOutput
- type CacheNfsTargetNamespaceJunctionArrayInput
- type CacheNfsTargetNamespaceJunctionArrayOutput
- func (CacheNfsTargetNamespaceJunctionArrayOutput) ElementType() reflect.Type
- func (o CacheNfsTargetNamespaceJunctionArrayOutput) Index(i pulumi.IntInput) CacheNfsTargetNamespaceJunctionOutput
- func (o CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutput() CacheNfsTargetNamespaceJunctionArrayOutput
- func (o CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionArrayOutput
- type CacheNfsTargetNamespaceJunctionInput
- type CacheNfsTargetNamespaceJunctionOutput
- func (CacheNfsTargetNamespaceJunctionOutput) ElementType() reflect.Type
- func (o CacheNfsTargetNamespaceJunctionOutput) NamespacePath() pulumi.StringOutput
- func (o CacheNfsTargetNamespaceJunctionOutput) NfsExport() pulumi.StringOutput
- func (o CacheNfsTargetNamespaceJunctionOutput) TargetPath() pulumi.StringPtrOutput
- func (o CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutput() CacheNfsTargetNamespaceJunctionOutput
- func (o CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionOutput
- type CacheNfsTargetOutput
- type CacheNfsTargetState
- type CacheOutput
- type CacheState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { pulumi.CustomResourceState // The size of the HPC Cache, in GB. Possible values are `3072`, `6144`, `12288`, `24576`, and `49152`. Changing this forces a new resource to be created. CacheSizeInGb pulumi.IntOutput `pulumi:"cacheSizeInGb"` // Specifies the supported Azure Region where the HPC Cache should be created. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // A list of IP Addresses where the HPC Cache can be mounted. MountAddresses pulumi.StringArrayOutput `pulumi:"mountAddresses"` // The IPv4 maximum transmission unit configured for the subnet of the HPC Cache. Possible values range from 576 - 1500. Defaults to 1500. Mtu pulumi.IntPtrOutput `pulumi:"mtu"` // The name of the HPC Cache. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group in which to create the HPC Cache. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Whether root squash property is enabled for this HPC Cache. RootSquashEnabled pulumi.BoolOutput `pulumi:"rootSquashEnabled"` // The SKU of HPC Cache to use. Possible values are `Standard_2G`, `Standard_4G` and `Standard_8G`. Changing this forces a new resource to be created. SkuName pulumi.StringOutput `pulumi:"skuName"` // The ID of the Subnet for the HPC Cache. Changing this forces a new resource to be created. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Manages a HPC Cache.
> **Note**: During the first several months of the GA release, a request must be made to the Azure HPC Cache team to add your subscription to the access list before it can be used to create a cache instance. Fill out [this form](https://aka.ms/onboard-hpc-cache) to request access.
> **NOTE:**: By request of the service team the provider no longer automatically registering the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/hpc" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/24"), }, }) if err != nil { return err } _, err = hpc.NewCache(ctx, "exampleCache", &hpc.CacheArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, CacheSizeInGb: pulumi.Int(3072), SubnetId: exampleSubnet.ID(), SkuName: pulumi.String("Standard_2G"), }) if err != nil { return err } return nil }) }
```
## Import
HPC Caches can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:hpc/cache:Cache example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.StorageCache/caches/cacheName
```
func GetCache ¶
func GetCache(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CacheState, opts ...pulumi.ResourceOption) (*Cache, error)
GetCache gets an existing Cache resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCache ¶
func NewCache(ctx *pulumi.Context, name string, args *CacheArgs, opts ...pulumi.ResourceOption) (*Cache, error)
NewCache registers a new resource with the given unique name, arguments, and options.
func (Cache) ElementType ¶ added in v3.31.1
func (Cache) ToCacheOutput ¶ added in v3.31.1
func (i Cache) ToCacheOutput() CacheOutput
func (Cache) ToCacheOutputWithContext ¶ added in v3.31.1
func (i Cache) ToCacheOutputWithContext(ctx context.Context) CacheOutput
type CacheArgs ¶
type CacheArgs struct { // The size of the HPC Cache, in GB. Possible values are `3072`, `6144`, `12288`, `24576`, and `49152`. Changing this forces a new resource to be created. CacheSizeInGb pulumi.IntInput // Specifies the supported Azure Region where the HPC Cache should be created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The IPv4 maximum transmission unit configured for the subnet of the HPC Cache. Possible values range from 576 - 1500. Defaults to 1500. Mtu pulumi.IntPtrInput // The name of the HPC Cache. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group in which to create the HPC Cache. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Whether root squash property is enabled for this HPC Cache. RootSquashEnabled pulumi.BoolPtrInput // The SKU of HPC Cache to use. Possible values are `Standard_2G`, `Standard_4G` and `Standard_8G`. Changing this forces a new resource to be created. SkuName pulumi.StringInput // The ID of the Subnet for the HPC Cache. Changing this forces a new resource to be created. SubnetId pulumi.StringInput }
The set of arguments for constructing a Cache resource.
func (CacheArgs) ElementType ¶
type CacheBlobTarget ¶
type CacheBlobTarget struct { pulumi.CustomResourceState // The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringOutput `pulumi:"cacheName"` // The name of the HPC Cache Blob Target. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The client-facing file path of the HPC Cache Blob Target. NamespacePath pulumi.StringOutput `pulumi:"namespacePath"` // The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Resource Manager ID of the Storage Container used as the HPC Cache Blob Target. Changing this forces a new resource to be created. StorageContainerId pulumi.StringOutput `pulumi:"storageContainerId"` }
Manages a Blob Target within a HPC Cache.
> **NOTE:**: By request of the service team the provider no longer automatically registering the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/hpc" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/storage" "github.com/pulumi/pulumi-azuread/sdk/v2/go/azuread" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.1.0/24"), }, }) if err != nil { return err } exampleCache, err := hpc.NewCache(ctx, "exampleCache", &hpc.CacheArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, CacheSizeInGb: pulumi.Int(3072), SubnetId: exampleSubnet.ID(), SkuName: pulumi.String("Standard_2G"), }) if err != nil { return err } exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, AccountTier: pulumi.String("Standard"), AccountReplicationType: pulumi.String("LRS"), }) if err != nil { return err } exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{ StorageAccountName: exampleAccount.Name, }) if err != nil { return err } opt0 := "HPC Cache Resource Provider" exampleServicePrincipal, err := azuread.LookupServicePrincipal(ctx, &azuread.LookupServicePrincipalArgs{ DisplayName: &opt0, }, nil) if err != nil { return err } _, err = authorization.NewAssignment(ctx, "exampleStorageAccountContrib", &authorization.AssignmentArgs{ Scope: exampleAccount.ID(), RoleDefinitionName: pulumi.String("Storage Account Contributor"), PrincipalId: pulumi.String(exampleServicePrincipal.ObjectId), }) if err != nil { return err } _, err = authorization.NewAssignment(ctx, "exampleStorageBlobDataContrib", &authorization.AssignmentArgs{ Scope: exampleAccount.ID(), RoleDefinitionName: pulumi.String("Storage Blob Data Contributor"), PrincipalId: pulumi.String(exampleServicePrincipal.ObjectId), }) if err != nil { return err } _, err = hpc.NewCacheBlobTarget(ctx, "exampleCacheBlobTarget", &hpc.CacheBlobTargetArgs{ ResourceGroupName: exampleResourceGroup.Name, CacheName: exampleCache.Name, StorageContainerId: exampleContainer.ResourceManagerId, NamespacePath: pulumi.String("/blob_storage"), }) if err != nil { return err } return nil }) }
```
## Import
Blob Targets within an HPC Cache can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:hpc/cacheBlobTarget:CacheBlobTarget example azurerm_hpc_cache_blob_target.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/storageTargets/target1
```
func GetCacheBlobTarget ¶
func GetCacheBlobTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CacheBlobTargetState, opts ...pulumi.ResourceOption) (*CacheBlobTarget, error)
GetCacheBlobTarget gets an existing CacheBlobTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCacheBlobTarget ¶
func NewCacheBlobTarget(ctx *pulumi.Context, name string, args *CacheBlobTargetArgs, opts ...pulumi.ResourceOption) (*CacheBlobTarget, error)
NewCacheBlobTarget registers a new resource with the given unique name, arguments, and options.
func (CacheBlobTarget) ElementType ¶ added in v3.31.1
func (CacheBlobTarget) ElementType() reflect.Type
func (CacheBlobTarget) ToCacheBlobTargetOutput ¶ added in v3.31.1
func (i CacheBlobTarget) ToCacheBlobTargetOutput() CacheBlobTargetOutput
func (CacheBlobTarget) ToCacheBlobTargetOutputWithContext ¶ added in v3.31.1
func (i CacheBlobTarget) ToCacheBlobTargetOutputWithContext(ctx context.Context) CacheBlobTargetOutput
type CacheBlobTargetArgs ¶
type CacheBlobTargetArgs struct { // The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringInput // The name of the HPC Cache Blob Target. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The client-facing file path of the HPC Cache Blob Target. NamespacePath pulumi.StringInput // The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Resource Manager ID of the Storage Container used as the HPC Cache Blob Target. Changing this forces a new resource to be created. StorageContainerId pulumi.StringInput }
The set of arguments for constructing a CacheBlobTarget resource.
func (CacheBlobTargetArgs) ElementType ¶
func (CacheBlobTargetArgs) ElementType() reflect.Type
type CacheBlobTargetInput ¶ added in v3.31.1
type CacheBlobTargetInput interface { pulumi.Input ToCacheBlobTargetOutput() CacheBlobTargetOutput ToCacheBlobTargetOutputWithContext(ctx context.Context) CacheBlobTargetOutput }
type CacheBlobTargetOutput ¶ added in v3.31.1
type CacheBlobTargetOutput struct {
*pulumi.OutputState
}
func (CacheBlobTargetOutput) ElementType ¶ added in v3.31.1
func (CacheBlobTargetOutput) ElementType() reflect.Type
func (CacheBlobTargetOutput) ToCacheBlobTargetOutput ¶ added in v3.31.1
func (o CacheBlobTargetOutput) ToCacheBlobTargetOutput() CacheBlobTargetOutput
func (CacheBlobTargetOutput) ToCacheBlobTargetOutputWithContext ¶ added in v3.31.1
func (o CacheBlobTargetOutput) ToCacheBlobTargetOutputWithContext(ctx context.Context) CacheBlobTargetOutput
type CacheBlobTargetState ¶
type CacheBlobTargetState struct { // The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringPtrInput // The name of the HPC Cache Blob Target. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The client-facing file path of the HPC Cache Blob Target. NamespacePath pulumi.StringPtrInput // The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Resource Manager ID of the Storage Container used as the HPC Cache Blob Target. Changing this forces a new resource to be created. StorageContainerId pulumi.StringPtrInput }
func (CacheBlobTargetState) ElementType ¶
func (CacheBlobTargetState) ElementType() reflect.Type
type CacheInput ¶ added in v3.31.1
type CacheInput interface { pulumi.Input ToCacheOutput() CacheOutput ToCacheOutputWithContext(ctx context.Context) CacheOutput }
type CacheNfsTarget ¶
type CacheNfsTarget struct { pulumi.CustomResourceState // The name HPC Cache, which the HPC Cache NFS Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringOutput `pulumi:"cacheName"` // The name of the HPC Cache NFS Target. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Can be specified multiple times to define multiple `namespaceJunction`. Each `namespaceJuntion` block supports fields documented below. NamespaceJunctions CacheNfsTargetNamespaceJunctionArrayOutput `pulumi:"namespaceJunctions"` // The name of the Resource Group in which to create the HPC Cache NFS Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The IP address or fully qualified domain name (FQDN) of the HPC Cache NFS target. Changing this forces a new resource to be created. TargetHostName pulumi.StringOutput `pulumi:"targetHostName"` // The type of usage of the HPC Cache NFS Target. UsageModel pulumi.StringOutput `pulumi:"usageModel"` }
Manages a NFS Target within a HPC Cache.
> **NOTE:**: By request of the service team the provider no longer automatically registering the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`.
## Import
NFS Target within a HPC Cache can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:hpc/cacheNfsTarget:CacheNfsTarget example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/storageTargets/target1
```
func GetCacheNfsTarget ¶
func GetCacheNfsTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CacheNfsTargetState, opts ...pulumi.ResourceOption) (*CacheNfsTarget, error)
GetCacheNfsTarget gets an existing CacheNfsTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCacheNfsTarget ¶
func NewCacheNfsTarget(ctx *pulumi.Context, name string, args *CacheNfsTargetArgs, opts ...pulumi.ResourceOption) (*CacheNfsTarget, error)
NewCacheNfsTarget registers a new resource with the given unique name, arguments, and options.
func (CacheNfsTarget) ElementType ¶ added in v3.31.1
func (CacheNfsTarget) ElementType() reflect.Type
func (CacheNfsTarget) ToCacheNfsTargetOutput ¶ added in v3.31.1
func (i CacheNfsTarget) ToCacheNfsTargetOutput() CacheNfsTargetOutput
func (CacheNfsTarget) ToCacheNfsTargetOutputWithContext ¶ added in v3.31.1
func (i CacheNfsTarget) ToCacheNfsTargetOutputWithContext(ctx context.Context) CacheNfsTargetOutput
type CacheNfsTargetArgs ¶
type CacheNfsTargetArgs struct { // The name HPC Cache, which the HPC Cache NFS Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringInput // The name of the HPC Cache NFS Target. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Can be specified multiple times to define multiple `namespaceJunction`. Each `namespaceJuntion` block supports fields documented below. NamespaceJunctions CacheNfsTargetNamespaceJunctionArrayInput // The name of the Resource Group in which to create the HPC Cache NFS Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The IP address or fully qualified domain name (FQDN) of the HPC Cache NFS target. Changing this forces a new resource to be created. TargetHostName pulumi.StringInput // The type of usage of the HPC Cache NFS Target. UsageModel pulumi.StringInput }
The set of arguments for constructing a CacheNfsTarget resource.
func (CacheNfsTargetArgs) ElementType ¶
func (CacheNfsTargetArgs) ElementType() reflect.Type
type CacheNfsTargetInput ¶ added in v3.31.1
type CacheNfsTargetInput interface { pulumi.Input ToCacheNfsTargetOutput() CacheNfsTargetOutput ToCacheNfsTargetOutputWithContext(ctx context.Context) CacheNfsTargetOutput }
type CacheNfsTargetNamespaceJunction ¶
type CacheNfsTargetNamespaceJunction struct { // The client-facing file path of this NFS target within the HPC Cache NFS Target. NamespacePath string `pulumi:"namespacePath"` // The NFS export of this NFS target within the HPC Cache NFS Target. NfsExport string `pulumi:"nfsExport"` // The relative subdirectory path from the `nfsExport` to map to the `namespacePath`. Defaults to `""`, in which case the whole `nfsExport` is exported. TargetPath *string `pulumi:"targetPath"` }
type CacheNfsTargetNamespaceJunctionArgs ¶
type CacheNfsTargetNamespaceJunctionArgs struct { // The client-facing file path of this NFS target within the HPC Cache NFS Target. NamespacePath pulumi.StringInput `pulumi:"namespacePath"` // The NFS export of this NFS target within the HPC Cache NFS Target. NfsExport pulumi.StringInput `pulumi:"nfsExport"` // The relative subdirectory path from the `nfsExport` to map to the `namespacePath`. Defaults to `""`, in which case the whole `nfsExport` is exported. TargetPath pulumi.StringPtrInput `pulumi:"targetPath"` }
func (CacheNfsTargetNamespaceJunctionArgs) ElementType ¶
func (CacheNfsTargetNamespaceJunctionArgs) ElementType() reflect.Type
func (CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutput ¶
func (i CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutput() CacheNfsTargetNamespaceJunctionOutput
func (CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutputWithContext ¶
func (i CacheNfsTargetNamespaceJunctionArgs) ToCacheNfsTargetNamespaceJunctionOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionOutput
type CacheNfsTargetNamespaceJunctionArray ¶
type CacheNfsTargetNamespaceJunctionArray []CacheNfsTargetNamespaceJunctionInput
func (CacheNfsTargetNamespaceJunctionArray) ElementType ¶
func (CacheNfsTargetNamespaceJunctionArray) ElementType() reflect.Type
func (CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutput ¶
func (i CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutput() CacheNfsTargetNamespaceJunctionArrayOutput
func (CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext ¶
func (i CacheNfsTargetNamespaceJunctionArray) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionArrayOutput
type CacheNfsTargetNamespaceJunctionArrayInput ¶
type CacheNfsTargetNamespaceJunctionArrayInput interface { pulumi.Input ToCacheNfsTargetNamespaceJunctionArrayOutput() CacheNfsTargetNamespaceJunctionArrayOutput ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext(context.Context) CacheNfsTargetNamespaceJunctionArrayOutput }
CacheNfsTargetNamespaceJunctionArrayInput is an input type that accepts CacheNfsTargetNamespaceJunctionArray and CacheNfsTargetNamespaceJunctionArrayOutput values. You can construct a concrete instance of `CacheNfsTargetNamespaceJunctionArrayInput` via:
CacheNfsTargetNamespaceJunctionArray{ CacheNfsTargetNamespaceJunctionArgs{...} }
type CacheNfsTargetNamespaceJunctionArrayOutput ¶
type CacheNfsTargetNamespaceJunctionArrayOutput struct{ *pulumi.OutputState }
func (CacheNfsTargetNamespaceJunctionArrayOutput) ElementType ¶
func (CacheNfsTargetNamespaceJunctionArrayOutput) ElementType() reflect.Type
func (CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutput ¶
func (o CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutput() CacheNfsTargetNamespaceJunctionArrayOutput
func (CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext ¶
func (o CacheNfsTargetNamespaceJunctionArrayOutput) ToCacheNfsTargetNamespaceJunctionArrayOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionArrayOutput
type CacheNfsTargetNamespaceJunctionInput ¶
type CacheNfsTargetNamespaceJunctionInput interface { pulumi.Input ToCacheNfsTargetNamespaceJunctionOutput() CacheNfsTargetNamespaceJunctionOutput ToCacheNfsTargetNamespaceJunctionOutputWithContext(context.Context) CacheNfsTargetNamespaceJunctionOutput }
CacheNfsTargetNamespaceJunctionInput is an input type that accepts CacheNfsTargetNamespaceJunctionArgs and CacheNfsTargetNamespaceJunctionOutput values. You can construct a concrete instance of `CacheNfsTargetNamespaceJunctionInput` via:
CacheNfsTargetNamespaceJunctionArgs{...}
type CacheNfsTargetNamespaceJunctionOutput ¶
type CacheNfsTargetNamespaceJunctionOutput struct{ *pulumi.OutputState }
func (CacheNfsTargetNamespaceJunctionOutput) ElementType ¶
func (CacheNfsTargetNamespaceJunctionOutput) ElementType() reflect.Type
func (CacheNfsTargetNamespaceJunctionOutput) NamespacePath ¶
func (o CacheNfsTargetNamespaceJunctionOutput) NamespacePath() pulumi.StringOutput
The client-facing file path of this NFS target within the HPC Cache NFS Target.
func (CacheNfsTargetNamespaceJunctionOutput) NfsExport ¶
func (o CacheNfsTargetNamespaceJunctionOutput) NfsExport() pulumi.StringOutput
The NFS export of this NFS target within the HPC Cache NFS Target.
func (CacheNfsTargetNamespaceJunctionOutput) TargetPath ¶
func (o CacheNfsTargetNamespaceJunctionOutput) TargetPath() pulumi.StringPtrOutput
The relative subdirectory path from the `nfsExport` to map to the `namespacePath`. Defaults to `""`, in which case the whole `nfsExport` is exported.
func (CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutput ¶
func (o CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutput() CacheNfsTargetNamespaceJunctionOutput
func (CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutputWithContext ¶
func (o CacheNfsTargetNamespaceJunctionOutput) ToCacheNfsTargetNamespaceJunctionOutputWithContext(ctx context.Context) CacheNfsTargetNamespaceJunctionOutput
type CacheNfsTargetOutput ¶ added in v3.31.1
type CacheNfsTargetOutput struct {
*pulumi.OutputState
}
func (CacheNfsTargetOutput) ElementType ¶ added in v3.31.1
func (CacheNfsTargetOutput) ElementType() reflect.Type
func (CacheNfsTargetOutput) ToCacheNfsTargetOutput ¶ added in v3.31.1
func (o CacheNfsTargetOutput) ToCacheNfsTargetOutput() CacheNfsTargetOutput
func (CacheNfsTargetOutput) ToCacheNfsTargetOutputWithContext ¶ added in v3.31.1
func (o CacheNfsTargetOutput) ToCacheNfsTargetOutputWithContext(ctx context.Context) CacheNfsTargetOutput
type CacheNfsTargetState ¶
type CacheNfsTargetState struct { // The name HPC Cache, which the HPC Cache NFS Target will be added to. Changing this forces a new resource to be created. CacheName pulumi.StringPtrInput // The name of the HPC Cache NFS Target. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Can be specified multiple times to define multiple `namespaceJunction`. Each `namespaceJuntion` block supports fields documented below. NamespaceJunctions CacheNfsTargetNamespaceJunctionArrayInput // The name of the Resource Group in which to create the HPC Cache NFS Target. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The IP address or fully qualified domain name (FQDN) of the HPC Cache NFS target. Changing this forces a new resource to be created. TargetHostName pulumi.StringPtrInput // The type of usage of the HPC Cache NFS Target. UsageModel pulumi.StringPtrInput }
func (CacheNfsTargetState) ElementType ¶
func (CacheNfsTargetState) ElementType() reflect.Type
type CacheOutput ¶ added in v3.31.1
type CacheOutput struct {
*pulumi.OutputState
}
func (CacheOutput) ElementType ¶ added in v3.31.1
func (CacheOutput) ElementType() reflect.Type
func (CacheOutput) ToCacheOutput ¶ added in v3.31.1
func (o CacheOutput) ToCacheOutput() CacheOutput
func (CacheOutput) ToCacheOutputWithContext ¶ added in v3.31.1
func (o CacheOutput) ToCacheOutputWithContext(ctx context.Context) CacheOutput
type CacheState ¶
type CacheState struct { // The size of the HPC Cache, in GB. Possible values are `3072`, `6144`, `12288`, `24576`, and `49152`. Changing this forces a new resource to be created. CacheSizeInGb pulumi.IntPtrInput // Specifies the supported Azure Region where the HPC Cache should be created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A list of IP Addresses where the HPC Cache can be mounted. MountAddresses pulumi.StringArrayInput // The IPv4 maximum transmission unit configured for the subnet of the HPC Cache. Possible values range from 576 - 1500. Defaults to 1500. Mtu pulumi.IntPtrInput // The name of the HPC Cache. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group in which to create the HPC Cache. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Whether root squash property is enabled for this HPC Cache. RootSquashEnabled pulumi.BoolPtrInput // The SKU of HPC Cache to use. Possible values are `Standard_2G`, `Standard_4G` and `Standard_8G`. Changing this forces a new resource to be created. SkuName pulumi.StringPtrInput // The ID of the Subnet for the HPC Cache. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrInput }
func (CacheState) ElementType ¶
func (CacheState) ElementType() reflect.Type