hpc

package
v3.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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"`
	// A `defaultAccessPolicy` block as defined below.
	DefaultAccessPolicy CacheDefaultAccessPolicyOutput `pulumi:"defaultAccessPolicy"`
	// A `dns` block as defined below.
	Dns CacheDnsPtrOutput `pulumi:"dns"`
	// 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 NTP server IP Address or FQDN for the HPC Cache. Defaults to `time.windows.com`.
	NtpServer pulumi.StringPtrOutput `pulumi:"ntpServer"`
	// 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 to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	//
	// Deprecated: This property is not functional and will be deprecated in favor of `default_access_policy.0.access_rule.x.root_squash_enabled`, where the scope of access_rule is `default`.
	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) ElementType() reflect.Type

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

func (*Cache) ToCachePtrOutput added in v3.47.1

func (i *Cache) ToCachePtrOutput() CachePtrOutput

func (*Cache) ToCachePtrOutputWithContext added in v3.47.1

func (i *Cache) ToCachePtrOutputWithContext(ctx context.Context) CachePtrOutput

type CacheAccessPolicy added in v3.54.0

type CacheAccessPolicy struct {
	pulumi.CustomResourceState

	// Up to three `accessRule` blocks as defined below.
	AccessRules CacheAccessPolicyAccessRuleArrayOutput `pulumi:"accessRules"`
	// The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
	HpcCacheId pulumi.StringOutput `pulumi:"hpcCacheId"`
	// The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages a HPC Cache Access Policy.

## 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
		}
		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
		}
		_, err = hpc.NewCacheAccessPolicy(ctx, "exampleCacheAccessPolicy", &hpc.CacheAccessPolicyArgs{
			HpcCacheId: exampleCache.ID(),
			AccessRules: hpc.CacheAccessPolicyAccessRuleArray{
				&hpc.CacheAccessPolicyAccessRuleArgs{
					Scope:  pulumi.String("default"),
					Access: pulumi.String("rw"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

HPC Cache Access Policys can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:hpc/cacheAccessPolicy:CacheAccessPolicy example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/cacheAccessPolicies/policy1

```

func GetCacheAccessPolicy added in v3.54.0

func GetCacheAccessPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CacheAccessPolicyState, opts ...pulumi.ResourceOption) (*CacheAccessPolicy, error)

GetCacheAccessPolicy gets an existing CacheAccessPolicy 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 NewCacheAccessPolicy added in v3.54.0

func NewCacheAccessPolicy(ctx *pulumi.Context,
	name string, args *CacheAccessPolicyArgs, opts ...pulumi.ResourceOption) (*CacheAccessPolicy, error)

NewCacheAccessPolicy registers a new resource with the given unique name, arguments, and options.

func (*CacheAccessPolicy) ElementType added in v3.54.0

func (*CacheAccessPolicy) ElementType() reflect.Type

func (*CacheAccessPolicy) ToCacheAccessPolicyOutput added in v3.54.0

func (i *CacheAccessPolicy) ToCacheAccessPolicyOutput() CacheAccessPolicyOutput

func (*CacheAccessPolicy) ToCacheAccessPolicyOutputWithContext added in v3.54.0

func (i *CacheAccessPolicy) ToCacheAccessPolicyOutputWithContext(ctx context.Context) CacheAccessPolicyOutput

func (*CacheAccessPolicy) ToCacheAccessPolicyPtrOutput added in v3.54.0

func (i *CacheAccessPolicy) ToCacheAccessPolicyPtrOutput() CacheAccessPolicyPtrOutput

func (*CacheAccessPolicy) ToCacheAccessPolicyPtrOutputWithContext added in v3.54.0

func (i *CacheAccessPolicy) ToCacheAccessPolicyPtrOutputWithContext(ctx context.Context) CacheAccessPolicyPtrOutput

type CacheAccessPolicyAccessRule added in v3.54.0

type CacheAccessPolicyAccessRule struct {
	// The access level for this rule. Possible values are: `rw`, `ro`, `no`.
	Access string `pulumi:"access"`
	// The anonymous GID used when `rootSquashEnabled` is `true`.
	AnonymousGid *int `pulumi:"anonymousGid"`
	// The anonymous UID used when `rootSquashEnabled` is `true`.
	AnonymousUid *int `pulumi:"anonymousUid"`
	// The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.
	Filter *string `pulumi:"filter"`
	// Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	RootSquashEnabled *bool `pulumi:"rootSquashEnabled"`
	// The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.
	Scope string `pulumi:"scope"`
	// Whether allow access to subdirectories under the root export? Defaults to `false`.
	SubmountAccessEnabled *bool `pulumi:"submountAccessEnabled"`
	// Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.
	SuidEnabled *bool `pulumi:"suidEnabled"`
}

type CacheAccessPolicyAccessRuleArgs added in v3.54.0

type CacheAccessPolicyAccessRuleArgs struct {
	// The access level for this rule. Possible values are: `rw`, `ro`, `no`.
	Access pulumi.StringInput `pulumi:"access"`
	// The anonymous GID used when `rootSquashEnabled` is `true`.
	AnonymousGid pulumi.IntPtrInput `pulumi:"anonymousGid"`
	// The anonymous UID used when `rootSquashEnabled` is `true`.
	AnonymousUid pulumi.IntPtrInput `pulumi:"anonymousUid"`
	// The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	RootSquashEnabled pulumi.BoolPtrInput `pulumi:"rootSquashEnabled"`
	// The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.
	Scope pulumi.StringInput `pulumi:"scope"`
	// Whether allow access to subdirectories under the root export? Defaults to `false`.
	SubmountAccessEnabled pulumi.BoolPtrInput `pulumi:"submountAccessEnabled"`
	// Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.
	SuidEnabled pulumi.BoolPtrInput `pulumi:"suidEnabled"`
}

func (CacheAccessPolicyAccessRuleArgs) ElementType added in v3.54.0

func (CacheAccessPolicyAccessRuleArgs) ToCacheAccessPolicyAccessRuleOutput added in v3.54.0

func (i CacheAccessPolicyAccessRuleArgs) ToCacheAccessPolicyAccessRuleOutput() CacheAccessPolicyAccessRuleOutput

func (CacheAccessPolicyAccessRuleArgs) ToCacheAccessPolicyAccessRuleOutputWithContext added in v3.54.0

func (i CacheAccessPolicyAccessRuleArgs) ToCacheAccessPolicyAccessRuleOutputWithContext(ctx context.Context) CacheAccessPolicyAccessRuleOutput

type CacheAccessPolicyAccessRuleArray added in v3.54.0

type CacheAccessPolicyAccessRuleArray []CacheAccessPolicyAccessRuleInput

func (CacheAccessPolicyAccessRuleArray) ElementType added in v3.54.0

func (CacheAccessPolicyAccessRuleArray) ToCacheAccessPolicyAccessRuleArrayOutput added in v3.54.0

func (i CacheAccessPolicyAccessRuleArray) ToCacheAccessPolicyAccessRuleArrayOutput() CacheAccessPolicyAccessRuleArrayOutput

func (CacheAccessPolicyAccessRuleArray) ToCacheAccessPolicyAccessRuleArrayOutputWithContext added in v3.54.0

func (i CacheAccessPolicyAccessRuleArray) ToCacheAccessPolicyAccessRuleArrayOutputWithContext(ctx context.Context) CacheAccessPolicyAccessRuleArrayOutput

type CacheAccessPolicyAccessRuleArrayInput added in v3.54.0

type CacheAccessPolicyAccessRuleArrayInput interface {
	pulumi.Input

	ToCacheAccessPolicyAccessRuleArrayOutput() CacheAccessPolicyAccessRuleArrayOutput
	ToCacheAccessPolicyAccessRuleArrayOutputWithContext(context.Context) CacheAccessPolicyAccessRuleArrayOutput
}

CacheAccessPolicyAccessRuleArrayInput is an input type that accepts CacheAccessPolicyAccessRuleArray and CacheAccessPolicyAccessRuleArrayOutput values. You can construct a concrete instance of `CacheAccessPolicyAccessRuleArrayInput` via:

CacheAccessPolicyAccessRuleArray{ CacheAccessPolicyAccessRuleArgs{...} }

type CacheAccessPolicyAccessRuleArrayOutput added in v3.54.0

type CacheAccessPolicyAccessRuleArrayOutput struct{ *pulumi.OutputState }

func (CacheAccessPolicyAccessRuleArrayOutput) ElementType added in v3.54.0

func (CacheAccessPolicyAccessRuleArrayOutput) Index added in v3.54.0

func (CacheAccessPolicyAccessRuleArrayOutput) ToCacheAccessPolicyAccessRuleArrayOutput added in v3.54.0

func (o CacheAccessPolicyAccessRuleArrayOutput) ToCacheAccessPolicyAccessRuleArrayOutput() CacheAccessPolicyAccessRuleArrayOutput

func (CacheAccessPolicyAccessRuleArrayOutput) ToCacheAccessPolicyAccessRuleArrayOutputWithContext added in v3.54.0

func (o CacheAccessPolicyAccessRuleArrayOutput) ToCacheAccessPolicyAccessRuleArrayOutputWithContext(ctx context.Context) CacheAccessPolicyAccessRuleArrayOutput

type CacheAccessPolicyAccessRuleInput added in v3.54.0

type CacheAccessPolicyAccessRuleInput interface {
	pulumi.Input

	ToCacheAccessPolicyAccessRuleOutput() CacheAccessPolicyAccessRuleOutput
	ToCacheAccessPolicyAccessRuleOutputWithContext(context.Context) CacheAccessPolicyAccessRuleOutput
}

CacheAccessPolicyAccessRuleInput is an input type that accepts CacheAccessPolicyAccessRuleArgs and CacheAccessPolicyAccessRuleOutput values. You can construct a concrete instance of `CacheAccessPolicyAccessRuleInput` via:

CacheAccessPolicyAccessRuleArgs{...}

type CacheAccessPolicyAccessRuleOutput added in v3.54.0

type CacheAccessPolicyAccessRuleOutput struct{ *pulumi.OutputState }

func (CacheAccessPolicyAccessRuleOutput) Access added in v3.54.0

The access level for this rule. Possible values are: `rw`, `ro`, `no`.

func (CacheAccessPolicyAccessRuleOutput) AnonymousGid added in v3.54.0

The anonymous GID used when `rootSquashEnabled` is `true`.

func (CacheAccessPolicyAccessRuleOutput) AnonymousUid added in v3.54.0

The anonymous UID used when `rootSquashEnabled` is `true`.

func (CacheAccessPolicyAccessRuleOutput) ElementType added in v3.54.0

func (CacheAccessPolicyAccessRuleOutput) Filter added in v3.54.0

The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.

func (CacheAccessPolicyAccessRuleOutput) RootSquashEnabled added in v3.54.0

Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.

func (CacheAccessPolicyAccessRuleOutput) Scope added in v3.54.0

The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.

func (CacheAccessPolicyAccessRuleOutput) SubmountAccessEnabled added in v3.54.0

func (o CacheAccessPolicyAccessRuleOutput) SubmountAccessEnabled() pulumi.BoolPtrOutput

Whether allow access to subdirectories under the root export? Defaults to `false`.

func (CacheAccessPolicyAccessRuleOutput) SuidEnabled added in v3.54.0

Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.

func (CacheAccessPolicyAccessRuleOutput) ToCacheAccessPolicyAccessRuleOutput added in v3.54.0

func (o CacheAccessPolicyAccessRuleOutput) ToCacheAccessPolicyAccessRuleOutput() CacheAccessPolicyAccessRuleOutput

func (CacheAccessPolicyAccessRuleOutput) ToCacheAccessPolicyAccessRuleOutputWithContext added in v3.54.0

func (o CacheAccessPolicyAccessRuleOutput) ToCacheAccessPolicyAccessRuleOutputWithContext(ctx context.Context) CacheAccessPolicyAccessRuleOutput

type CacheAccessPolicyArgs added in v3.54.0

type CacheAccessPolicyArgs struct {
	// Up to three `accessRule` blocks as defined below.
	AccessRules CacheAccessPolicyAccessRuleArrayInput
	// The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
	HpcCacheId pulumi.StringInput
	// The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a CacheAccessPolicy resource.

func (CacheAccessPolicyArgs) ElementType added in v3.54.0

func (CacheAccessPolicyArgs) ElementType() reflect.Type

type CacheAccessPolicyArray added in v3.54.0

type CacheAccessPolicyArray []CacheAccessPolicyInput

func (CacheAccessPolicyArray) ElementType added in v3.54.0

func (CacheAccessPolicyArray) ElementType() reflect.Type

func (CacheAccessPolicyArray) ToCacheAccessPolicyArrayOutput added in v3.54.0

func (i CacheAccessPolicyArray) ToCacheAccessPolicyArrayOutput() CacheAccessPolicyArrayOutput

func (CacheAccessPolicyArray) ToCacheAccessPolicyArrayOutputWithContext added in v3.54.0

func (i CacheAccessPolicyArray) ToCacheAccessPolicyArrayOutputWithContext(ctx context.Context) CacheAccessPolicyArrayOutput

type CacheAccessPolicyArrayInput added in v3.54.0

type CacheAccessPolicyArrayInput interface {
	pulumi.Input

	ToCacheAccessPolicyArrayOutput() CacheAccessPolicyArrayOutput
	ToCacheAccessPolicyArrayOutputWithContext(context.Context) CacheAccessPolicyArrayOutput
}

CacheAccessPolicyArrayInput is an input type that accepts CacheAccessPolicyArray and CacheAccessPolicyArrayOutput values. You can construct a concrete instance of `CacheAccessPolicyArrayInput` via:

CacheAccessPolicyArray{ CacheAccessPolicyArgs{...} }

type CacheAccessPolicyArrayOutput added in v3.54.0

type CacheAccessPolicyArrayOutput struct{ *pulumi.OutputState }

func (CacheAccessPolicyArrayOutput) ElementType added in v3.54.0

func (CacheAccessPolicyArrayOutput) Index added in v3.54.0

func (CacheAccessPolicyArrayOutput) ToCacheAccessPolicyArrayOutput added in v3.54.0

func (o CacheAccessPolicyArrayOutput) ToCacheAccessPolicyArrayOutput() CacheAccessPolicyArrayOutput

func (CacheAccessPolicyArrayOutput) ToCacheAccessPolicyArrayOutputWithContext added in v3.54.0

func (o CacheAccessPolicyArrayOutput) ToCacheAccessPolicyArrayOutputWithContext(ctx context.Context) CacheAccessPolicyArrayOutput

type CacheAccessPolicyInput added in v3.54.0

type CacheAccessPolicyInput interface {
	pulumi.Input

	ToCacheAccessPolicyOutput() CacheAccessPolicyOutput
	ToCacheAccessPolicyOutputWithContext(ctx context.Context) CacheAccessPolicyOutput
}

type CacheAccessPolicyMap added in v3.54.0

type CacheAccessPolicyMap map[string]CacheAccessPolicyInput

func (CacheAccessPolicyMap) ElementType added in v3.54.0

func (CacheAccessPolicyMap) ElementType() reflect.Type

func (CacheAccessPolicyMap) ToCacheAccessPolicyMapOutput added in v3.54.0

func (i CacheAccessPolicyMap) ToCacheAccessPolicyMapOutput() CacheAccessPolicyMapOutput

func (CacheAccessPolicyMap) ToCacheAccessPolicyMapOutputWithContext added in v3.54.0

func (i CacheAccessPolicyMap) ToCacheAccessPolicyMapOutputWithContext(ctx context.Context) CacheAccessPolicyMapOutput

type CacheAccessPolicyMapInput added in v3.54.0

type CacheAccessPolicyMapInput interface {
	pulumi.Input

	ToCacheAccessPolicyMapOutput() CacheAccessPolicyMapOutput
	ToCacheAccessPolicyMapOutputWithContext(context.Context) CacheAccessPolicyMapOutput
}

CacheAccessPolicyMapInput is an input type that accepts CacheAccessPolicyMap and CacheAccessPolicyMapOutput values. You can construct a concrete instance of `CacheAccessPolicyMapInput` via:

CacheAccessPolicyMap{ "key": CacheAccessPolicyArgs{...} }

type CacheAccessPolicyMapOutput added in v3.54.0

type CacheAccessPolicyMapOutput struct{ *pulumi.OutputState }

func (CacheAccessPolicyMapOutput) ElementType added in v3.54.0

func (CacheAccessPolicyMapOutput) ElementType() reflect.Type

func (CacheAccessPolicyMapOutput) MapIndex added in v3.54.0

func (CacheAccessPolicyMapOutput) ToCacheAccessPolicyMapOutput added in v3.54.0

func (o CacheAccessPolicyMapOutput) ToCacheAccessPolicyMapOutput() CacheAccessPolicyMapOutput

func (CacheAccessPolicyMapOutput) ToCacheAccessPolicyMapOutputWithContext added in v3.54.0

func (o CacheAccessPolicyMapOutput) ToCacheAccessPolicyMapOutputWithContext(ctx context.Context) CacheAccessPolicyMapOutput

type CacheAccessPolicyOutput added in v3.54.0

type CacheAccessPolicyOutput struct {
	*pulumi.OutputState
}

func (CacheAccessPolicyOutput) ElementType added in v3.54.0

func (CacheAccessPolicyOutput) ElementType() reflect.Type

func (CacheAccessPolicyOutput) ToCacheAccessPolicyOutput added in v3.54.0

func (o CacheAccessPolicyOutput) ToCacheAccessPolicyOutput() CacheAccessPolicyOutput

func (CacheAccessPolicyOutput) ToCacheAccessPolicyOutputWithContext added in v3.54.0

func (o CacheAccessPolicyOutput) ToCacheAccessPolicyOutputWithContext(ctx context.Context) CacheAccessPolicyOutput

func (CacheAccessPolicyOutput) ToCacheAccessPolicyPtrOutput added in v3.54.0

func (o CacheAccessPolicyOutput) ToCacheAccessPolicyPtrOutput() CacheAccessPolicyPtrOutput

func (CacheAccessPolicyOutput) ToCacheAccessPolicyPtrOutputWithContext added in v3.54.0

func (o CacheAccessPolicyOutput) ToCacheAccessPolicyPtrOutputWithContext(ctx context.Context) CacheAccessPolicyPtrOutput

type CacheAccessPolicyPtrInput added in v3.54.0

type CacheAccessPolicyPtrInput interface {
	pulumi.Input

	ToCacheAccessPolicyPtrOutput() CacheAccessPolicyPtrOutput
	ToCacheAccessPolicyPtrOutputWithContext(ctx context.Context) CacheAccessPolicyPtrOutput
}

type CacheAccessPolicyPtrOutput added in v3.54.0

type CacheAccessPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (CacheAccessPolicyPtrOutput) ElementType added in v3.54.0

func (CacheAccessPolicyPtrOutput) ElementType() reflect.Type

func (CacheAccessPolicyPtrOutput) ToCacheAccessPolicyPtrOutput added in v3.54.0

func (o CacheAccessPolicyPtrOutput) ToCacheAccessPolicyPtrOutput() CacheAccessPolicyPtrOutput

func (CacheAccessPolicyPtrOutput) ToCacheAccessPolicyPtrOutputWithContext added in v3.54.0

func (o CacheAccessPolicyPtrOutput) ToCacheAccessPolicyPtrOutputWithContext(ctx context.Context) CacheAccessPolicyPtrOutput

type CacheAccessPolicyState added in v3.54.0

type CacheAccessPolicyState struct {
	// Up to three `accessRule` blocks as defined below.
	AccessRules CacheAccessPolicyAccessRuleArrayInput
	// The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
	HpcCacheId pulumi.StringPtrInput
	// The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
	Name pulumi.StringPtrInput
}

func (CacheAccessPolicyState) ElementType added in v3.54.0

func (CacheAccessPolicyState) ElementType() reflect.Type

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
	// A `defaultAccessPolicy` block as defined below.
	DefaultAccessPolicy CacheDefaultAccessPolicyPtrInput
	// A `dns` block as defined below.
	Dns CacheDnsPtrInput
	// 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 NTP server IP Address or FQDN for the HPC Cache. Defaults to `time.windows.com`.
	NtpServer 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 to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	//
	// Deprecated: This property is not functional and will be deprecated in favor of `default_access_policy.0.access_rule.x.root_squash_enabled`, where the scope of access_rule is `default`.
	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

func (CacheArgs) ElementType() reflect.Type

type CacheArray added in v3.47.1

type CacheArray []CacheInput

func (CacheArray) ElementType added in v3.47.1

func (CacheArray) ElementType() reflect.Type

func (CacheArray) ToCacheArrayOutput added in v3.47.1

func (i CacheArray) ToCacheArrayOutput() CacheArrayOutput

func (CacheArray) ToCacheArrayOutputWithContext added in v3.47.1

func (i CacheArray) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput

type CacheArrayInput added in v3.47.1

type CacheArrayInput interface {
	pulumi.Input

	ToCacheArrayOutput() CacheArrayOutput
	ToCacheArrayOutputWithContext(context.Context) CacheArrayOutput
}

CacheArrayInput is an input type that accepts CacheArray and CacheArrayOutput values. You can construct a concrete instance of `CacheArrayInput` via:

CacheArray{ CacheArgs{...} }

type CacheArrayOutput added in v3.47.1

type CacheArrayOutput struct{ *pulumi.OutputState }

func (CacheArrayOutput) ElementType added in v3.47.1

func (CacheArrayOutput) ElementType() reflect.Type

func (CacheArrayOutput) Index added in v3.47.1

func (CacheArrayOutput) ToCacheArrayOutput added in v3.47.1

func (o CacheArrayOutput) ToCacheArrayOutput() CacheArrayOutput

func (CacheArrayOutput) ToCacheArrayOutputWithContext added in v3.47.1

func (o CacheArrayOutput) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput

type CacheBlobTarget

type CacheBlobTarget struct {
	pulumi.CustomResourceState

	// The name of the access policy applied to this target. Defaults to `default`.
	AccessPolicyName pulumi.StringPtrOutput `pulumi:"accessPolicyName"`
	// 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

func (*CacheBlobTarget) ToCacheBlobTargetPtrOutput added in v3.47.1

func (i *CacheBlobTarget) ToCacheBlobTargetPtrOutput() CacheBlobTargetPtrOutput

func (*CacheBlobTarget) ToCacheBlobTargetPtrOutputWithContext added in v3.47.1

func (i *CacheBlobTarget) ToCacheBlobTargetPtrOutputWithContext(ctx context.Context) CacheBlobTargetPtrOutput

type CacheBlobTargetArgs

type CacheBlobTargetArgs struct {
	// The name of the access policy applied to this target. Defaults to `default`.
	AccessPolicyName pulumi.StringPtrInput
	// 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 CacheBlobTargetArray added in v3.47.1

type CacheBlobTargetArray []CacheBlobTargetInput

func (CacheBlobTargetArray) ElementType added in v3.47.1

func (CacheBlobTargetArray) ElementType() reflect.Type

func (CacheBlobTargetArray) ToCacheBlobTargetArrayOutput added in v3.47.1

func (i CacheBlobTargetArray) ToCacheBlobTargetArrayOutput() CacheBlobTargetArrayOutput

func (CacheBlobTargetArray) ToCacheBlobTargetArrayOutputWithContext added in v3.47.1

func (i CacheBlobTargetArray) ToCacheBlobTargetArrayOutputWithContext(ctx context.Context) CacheBlobTargetArrayOutput

type CacheBlobTargetArrayInput added in v3.47.1

type CacheBlobTargetArrayInput interface {
	pulumi.Input

	ToCacheBlobTargetArrayOutput() CacheBlobTargetArrayOutput
	ToCacheBlobTargetArrayOutputWithContext(context.Context) CacheBlobTargetArrayOutput
}

CacheBlobTargetArrayInput is an input type that accepts CacheBlobTargetArray and CacheBlobTargetArrayOutput values. You can construct a concrete instance of `CacheBlobTargetArrayInput` via:

CacheBlobTargetArray{ CacheBlobTargetArgs{...} }

type CacheBlobTargetArrayOutput added in v3.47.1

type CacheBlobTargetArrayOutput struct{ *pulumi.OutputState }

func (CacheBlobTargetArrayOutput) ElementType added in v3.47.1

func (CacheBlobTargetArrayOutput) ElementType() reflect.Type

func (CacheBlobTargetArrayOutput) Index added in v3.47.1

func (CacheBlobTargetArrayOutput) ToCacheBlobTargetArrayOutput added in v3.47.1

func (o CacheBlobTargetArrayOutput) ToCacheBlobTargetArrayOutput() CacheBlobTargetArrayOutput

func (CacheBlobTargetArrayOutput) ToCacheBlobTargetArrayOutputWithContext added in v3.47.1

func (o CacheBlobTargetArrayOutput) ToCacheBlobTargetArrayOutputWithContext(ctx context.Context) CacheBlobTargetArrayOutput

type CacheBlobTargetInput added in v3.31.1

type CacheBlobTargetInput interface {
	pulumi.Input

	ToCacheBlobTargetOutput() CacheBlobTargetOutput
	ToCacheBlobTargetOutputWithContext(ctx context.Context) CacheBlobTargetOutput
}

type CacheBlobTargetMap added in v3.47.1

type CacheBlobTargetMap map[string]CacheBlobTargetInput

func (CacheBlobTargetMap) ElementType added in v3.47.1

func (CacheBlobTargetMap) ElementType() reflect.Type

func (CacheBlobTargetMap) ToCacheBlobTargetMapOutput added in v3.47.1

func (i CacheBlobTargetMap) ToCacheBlobTargetMapOutput() CacheBlobTargetMapOutput

func (CacheBlobTargetMap) ToCacheBlobTargetMapOutputWithContext added in v3.47.1

func (i CacheBlobTargetMap) ToCacheBlobTargetMapOutputWithContext(ctx context.Context) CacheBlobTargetMapOutput

type CacheBlobTargetMapInput added in v3.47.1

type CacheBlobTargetMapInput interface {
	pulumi.Input

	ToCacheBlobTargetMapOutput() CacheBlobTargetMapOutput
	ToCacheBlobTargetMapOutputWithContext(context.Context) CacheBlobTargetMapOutput
}

CacheBlobTargetMapInput is an input type that accepts CacheBlobTargetMap and CacheBlobTargetMapOutput values. You can construct a concrete instance of `CacheBlobTargetMapInput` via:

CacheBlobTargetMap{ "key": CacheBlobTargetArgs{...} }

type CacheBlobTargetMapOutput added in v3.47.1

type CacheBlobTargetMapOutput struct{ *pulumi.OutputState }

func (CacheBlobTargetMapOutput) ElementType added in v3.47.1

func (CacheBlobTargetMapOutput) ElementType() reflect.Type

func (CacheBlobTargetMapOutput) MapIndex added in v3.47.1

func (CacheBlobTargetMapOutput) ToCacheBlobTargetMapOutput added in v3.47.1

func (o CacheBlobTargetMapOutput) ToCacheBlobTargetMapOutput() CacheBlobTargetMapOutput

func (CacheBlobTargetMapOutput) ToCacheBlobTargetMapOutputWithContext added in v3.47.1

func (o CacheBlobTargetMapOutput) ToCacheBlobTargetMapOutputWithContext(ctx context.Context) CacheBlobTargetMapOutput

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

func (CacheBlobTargetOutput) ToCacheBlobTargetPtrOutput added in v3.47.1

func (o CacheBlobTargetOutput) ToCacheBlobTargetPtrOutput() CacheBlobTargetPtrOutput

func (CacheBlobTargetOutput) ToCacheBlobTargetPtrOutputWithContext added in v3.47.1

func (o CacheBlobTargetOutput) ToCacheBlobTargetPtrOutputWithContext(ctx context.Context) CacheBlobTargetPtrOutput

type CacheBlobTargetPtrInput added in v3.47.1

type CacheBlobTargetPtrInput interface {
	pulumi.Input

	ToCacheBlobTargetPtrOutput() CacheBlobTargetPtrOutput
	ToCacheBlobTargetPtrOutputWithContext(ctx context.Context) CacheBlobTargetPtrOutput
}

type CacheBlobTargetPtrOutput added in v3.47.1

type CacheBlobTargetPtrOutput struct {
	*pulumi.OutputState
}

func (CacheBlobTargetPtrOutput) ElementType added in v3.47.1

func (CacheBlobTargetPtrOutput) ElementType() reflect.Type

func (CacheBlobTargetPtrOutput) ToCacheBlobTargetPtrOutput added in v3.47.1

func (o CacheBlobTargetPtrOutput) ToCacheBlobTargetPtrOutput() CacheBlobTargetPtrOutput

func (CacheBlobTargetPtrOutput) ToCacheBlobTargetPtrOutputWithContext added in v3.47.1

func (o CacheBlobTargetPtrOutput) ToCacheBlobTargetPtrOutputWithContext(ctx context.Context) CacheBlobTargetPtrOutput

type CacheBlobTargetState

type CacheBlobTargetState struct {
	// The name of the access policy applied to this target. Defaults to `default`.
	AccessPolicyName pulumi.StringPtrInput
	// 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 CacheDefaultAccessPolicy added in v3.54.0

type CacheDefaultAccessPolicy struct {
	// One to three `accessRule` blocks as defined above.
	AccessRules []CacheDefaultAccessPolicyAccessRule `pulumi:"accessRules"`
}

type CacheDefaultAccessPolicyAccessRule added in v3.54.0

type CacheDefaultAccessPolicyAccessRule struct {
	// The access level for this rule. Possible values are: `rw`, `ro`, `no`.
	Access string `pulumi:"access"`
	// The anonymous GID used when `rootSquashEnabled` is `true`.
	AnonymousGid *int `pulumi:"anonymousGid"`
	// The anonymous UID used when `rootSquashEnabled` is `true`.
	AnonymousUid *int `pulumi:"anonymousUid"`
	// The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.
	Filter *string `pulumi:"filter"`
	// Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	RootSquashEnabled *bool `pulumi:"rootSquashEnabled"`
	// The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.
	Scope string `pulumi:"scope"`
	// Whether allow access to subdirectories under the root export? Defaults to `false`.
	SubmountAccessEnabled *bool `pulumi:"submountAccessEnabled"`
	// Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.
	SuidEnabled *bool `pulumi:"suidEnabled"`
}

type CacheDefaultAccessPolicyAccessRuleArgs added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleArgs struct {
	// The access level for this rule. Possible values are: `rw`, `ro`, `no`.
	Access pulumi.StringInput `pulumi:"access"`
	// The anonymous GID used when `rootSquashEnabled` is `true`.
	AnonymousGid pulumi.IntPtrInput `pulumi:"anonymousGid"`
	// The anonymous UID used when `rootSquashEnabled` is `true`.
	AnonymousUid pulumi.IntPtrInput `pulumi:"anonymousUid"`
	// The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	RootSquashEnabled pulumi.BoolPtrInput `pulumi:"rootSquashEnabled"`
	// The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.
	Scope pulumi.StringInput `pulumi:"scope"`
	// Whether allow access to subdirectories under the root export? Defaults to `false`.
	SubmountAccessEnabled pulumi.BoolPtrInput `pulumi:"submountAccessEnabled"`
	// Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.
	SuidEnabled pulumi.BoolPtrInput `pulumi:"suidEnabled"`
}

func (CacheDefaultAccessPolicyAccessRuleArgs) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyAccessRuleArgs) ToCacheDefaultAccessPolicyAccessRuleOutput added in v3.54.0

func (i CacheDefaultAccessPolicyAccessRuleArgs) ToCacheDefaultAccessPolicyAccessRuleOutput() CacheDefaultAccessPolicyAccessRuleOutput

func (CacheDefaultAccessPolicyAccessRuleArgs) ToCacheDefaultAccessPolicyAccessRuleOutputWithContext added in v3.54.0

func (i CacheDefaultAccessPolicyAccessRuleArgs) ToCacheDefaultAccessPolicyAccessRuleOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyAccessRuleOutput

type CacheDefaultAccessPolicyAccessRuleArray added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleArray []CacheDefaultAccessPolicyAccessRuleInput

func (CacheDefaultAccessPolicyAccessRuleArray) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyAccessRuleArray) ToCacheDefaultAccessPolicyAccessRuleArrayOutput added in v3.54.0

func (i CacheDefaultAccessPolicyAccessRuleArray) ToCacheDefaultAccessPolicyAccessRuleArrayOutput() CacheDefaultAccessPolicyAccessRuleArrayOutput

func (CacheDefaultAccessPolicyAccessRuleArray) ToCacheDefaultAccessPolicyAccessRuleArrayOutputWithContext added in v3.54.0

func (i CacheDefaultAccessPolicyAccessRuleArray) ToCacheDefaultAccessPolicyAccessRuleArrayOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyAccessRuleArrayOutput

type CacheDefaultAccessPolicyAccessRuleArrayInput added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleArrayInput interface {
	pulumi.Input

	ToCacheDefaultAccessPolicyAccessRuleArrayOutput() CacheDefaultAccessPolicyAccessRuleArrayOutput
	ToCacheDefaultAccessPolicyAccessRuleArrayOutputWithContext(context.Context) CacheDefaultAccessPolicyAccessRuleArrayOutput
}

CacheDefaultAccessPolicyAccessRuleArrayInput is an input type that accepts CacheDefaultAccessPolicyAccessRuleArray and CacheDefaultAccessPolicyAccessRuleArrayOutput values. You can construct a concrete instance of `CacheDefaultAccessPolicyAccessRuleArrayInput` via:

CacheDefaultAccessPolicyAccessRuleArray{ CacheDefaultAccessPolicyAccessRuleArgs{...} }

type CacheDefaultAccessPolicyAccessRuleArrayOutput added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleArrayOutput struct{ *pulumi.OutputState }

func (CacheDefaultAccessPolicyAccessRuleArrayOutput) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyAccessRuleArrayOutput) Index added in v3.54.0

func (CacheDefaultAccessPolicyAccessRuleArrayOutput) ToCacheDefaultAccessPolicyAccessRuleArrayOutput added in v3.54.0

func (o CacheDefaultAccessPolicyAccessRuleArrayOutput) ToCacheDefaultAccessPolicyAccessRuleArrayOutput() CacheDefaultAccessPolicyAccessRuleArrayOutput

func (CacheDefaultAccessPolicyAccessRuleArrayOutput) ToCacheDefaultAccessPolicyAccessRuleArrayOutputWithContext added in v3.54.0

func (o CacheDefaultAccessPolicyAccessRuleArrayOutput) ToCacheDefaultAccessPolicyAccessRuleArrayOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyAccessRuleArrayOutput

type CacheDefaultAccessPolicyAccessRuleInput added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleInput interface {
	pulumi.Input

	ToCacheDefaultAccessPolicyAccessRuleOutput() CacheDefaultAccessPolicyAccessRuleOutput
	ToCacheDefaultAccessPolicyAccessRuleOutputWithContext(context.Context) CacheDefaultAccessPolicyAccessRuleOutput
}

CacheDefaultAccessPolicyAccessRuleInput is an input type that accepts CacheDefaultAccessPolicyAccessRuleArgs and CacheDefaultAccessPolicyAccessRuleOutput values. You can construct a concrete instance of `CacheDefaultAccessPolicyAccessRuleInput` via:

CacheDefaultAccessPolicyAccessRuleArgs{...}

type CacheDefaultAccessPolicyAccessRuleOutput added in v3.54.0

type CacheDefaultAccessPolicyAccessRuleOutput struct{ *pulumi.OutputState }

func (CacheDefaultAccessPolicyAccessRuleOutput) Access added in v3.54.0

The access level for this rule. Possible values are: `rw`, `ro`, `no`.

func (CacheDefaultAccessPolicyAccessRuleOutput) AnonymousGid added in v3.54.0

The anonymous GID used when `rootSquashEnabled` is `true`.

func (CacheDefaultAccessPolicyAccessRuleOutput) AnonymousUid added in v3.54.0

The anonymous UID used when `rootSquashEnabled` is `true`.

func (CacheDefaultAccessPolicyAccessRuleOutput) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyAccessRuleOutput) Filter added in v3.54.0

The filter applied to the `scope` for this rule. The filter's format depends on its scope: `default` scope matches all clients and has no filter value; `network` scope takes a CIDR format; `host` takes an IP address or fully qualified domain name. If a client does not match any filter rule and there is no default rule, access is denied.

func (CacheDefaultAccessPolicyAccessRuleOutput) RootSquashEnabled added in v3.54.0

Whether to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.

func (CacheDefaultAccessPolicyAccessRuleOutput) Scope added in v3.54.0

The scope of this rule. The `scope` and (potentially) the `filter` determine which clients match the rule. Possible values are: `default`, `network`, `host`.

func (CacheDefaultAccessPolicyAccessRuleOutput) SubmountAccessEnabled added in v3.54.0

Whether allow access to subdirectories under the root export? Defaults to `false`.

func (CacheDefaultAccessPolicyAccessRuleOutput) SuidEnabled added in v3.54.0

Whether [SUID](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#suid) is allowed? Defaults to `false`.

func (CacheDefaultAccessPolicyAccessRuleOutput) ToCacheDefaultAccessPolicyAccessRuleOutput added in v3.54.0

func (o CacheDefaultAccessPolicyAccessRuleOutput) ToCacheDefaultAccessPolicyAccessRuleOutput() CacheDefaultAccessPolicyAccessRuleOutput

func (CacheDefaultAccessPolicyAccessRuleOutput) ToCacheDefaultAccessPolicyAccessRuleOutputWithContext added in v3.54.0

func (o CacheDefaultAccessPolicyAccessRuleOutput) ToCacheDefaultAccessPolicyAccessRuleOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyAccessRuleOutput

type CacheDefaultAccessPolicyArgs added in v3.54.0

type CacheDefaultAccessPolicyArgs struct {
	// One to three `accessRule` blocks as defined above.
	AccessRules CacheDefaultAccessPolicyAccessRuleArrayInput `pulumi:"accessRules"`
}

func (CacheDefaultAccessPolicyArgs) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyOutput added in v3.54.0

func (i CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyOutput() CacheDefaultAccessPolicyOutput

func (CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyOutputWithContext added in v3.54.0

func (i CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyOutput

func (CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyPtrOutput added in v3.54.0

func (i CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyPtrOutput() CacheDefaultAccessPolicyPtrOutput

func (CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyPtrOutputWithContext added in v3.54.0

func (i CacheDefaultAccessPolicyArgs) ToCacheDefaultAccessPolicyPtrOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyPtrOutput

type CacheDefaultAccessPolicyInput added in v3.54.0

type CacheDefaultAccessPolicyInput interface {
	pulumi.Input

	ToCacheDefaultAccessPolicyOutput() CacheDefaultAccessPolicyOutput
	ToCacheDefaultAccessPolicyOutputWithContext(context.Context) CacheDefaultAccessPolicyOutput
}

CacheDefaultAccessPolicyInput is an input type that accepts CacheDefaultAccessPolicyArgs and CacheDefaultAccessPolicyOutput values. You can construct a concrete instance of `CacheDefaultAccessPolicyInput` via:

CacheDefaultAccessPolicyArgs{...}

type CacheDefaultAccessPolicyOutput added in v3.54.0

type CacheDefaultAccessPolicyOutput struct{ *pulumi.OutputState }

func (CacheDefaultAccessPolicyOutput) AccessRules added in v3.54.0

One to three `accessRule` blocks as defined above.

func (CacheDefaultAccessPolicyOutput) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyOutput added in v3.54.0

func (o CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyOutput() CacheDefaultAccessPolicyOutput

func (CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyOutputWithContext added in v3.54.0

func (o CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyOutput

func (CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyPtrOutput added in v3.54.0

func (o CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyPtrOutput() CacheDefaultAccessPolicyPtrOutput

func (CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyPtrOutputWithContext added in v3.54.0

func (o CacheDefaultAccessPolicyOutput) ToCacheDefaultAccessPolicyPtrOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyPtrOutput

type CacheDefaultAccessPolicyPtrInput added in v3.54.0

type CacheDefaultAccessPolicyPtrInput interface {
	pulumi.Input

	ToCacheDefaultAccessPolicyPtrOutput() CacheDefaultAccessPolicyPtrOutput
	ToCacheDefaultAccessPolicyPtrOutputWithContext(context.Context) CacheDefaultAccessPolicyPtrOutput
}

CacheDefaultAccessPolicyPtrInput is an input type that accepts CacheDefaultAccessPolicyArgs, CacheDefaultAccessPolicyPtr and CacheDefaultAccessPolicyPtrOutput values. You can construct a concrete instance of `CacheDefaultAccessPolicyPtrInput` via:

        CacheDefaultAccessPolicyArgs{...}

or:

        nil

func CacheDefaultAccessPolicyPtr added in v3.54.0

func CacheDefaultAccessPolicyPtr(v *CacheDefaultAccessPolicyArgs) CacheDefaultAccessPolicyPtrInput

type CacheDefaultAccessPolicyPtrOutput added in v3.54.0

type CacheDefaultAccessPolicyPtrOutput struct{ *pulumi.OutputState }

func (CacheDefaultAccessPolicyPtrOutput) AccessRules added in v3.54.0

One to three `accessRule` blocks as defined above.

func (CacheDefaultAccessPolicyPtrOutput) Elem added in v3.54.0

func (CacheDefaultAccessPolicyPtrOutput) ElementType added in v3.54.0

func (CacheDefaultAccessPolicyPtrOutput) ToCacheDefaultAccessPolicyPtrOutput added in v3.54.0

func (o CacheDefaultAccessPolicyPtrOutput) ToCacheDefaultAccessPolicyPtrOutput() CacheDefaultAccessPolicyPtrOutput

func (CacheDefaultAccessPolicyPtrOutput) ToCacheDefaultAccessPolicyPtrOutputWithContext added in v3.54.0

func (o CacheDefaultAccessPolicyPtrOutput) ToCacheDefaultAccessPolicyPtrOutputWithContext(ctx context.Context) CacheDefaultAccessPolicyPtrOutput

type CacheDns added in v3.55.0

type CacheDns struct {
	// The DNS search domain for the HPC Cache.
	SearchDomain *string `pulumi:"searchDomain"`
	// A list of DNS servers for the HPC Cache. At most three IP(s) are allowed to set.
	Servers []string `pulumi:"servers"`
}

type CacheDnsArgs added in v3.55.0

type CacheDnsArgs struct {
	// The DNS search domain for the HPC Cache.
	SearchDomain pulumi.StringPtrInput `pulumi:"searchDomain"`
	// A list of DNS servers for the HPC Cache. At most three IP(s) are allowed to set.
	Servers pulumi.StringArrayInput `pulumi:"servers"`
}

func (CacheDnsArgs) ElementType added in v3.55.0

func (CacheDnsArgs) ElementType() reflect.Type

func (CacheDnsArgs) ToCacheDnsOutput added in v3.55.0

func (i CacheDnsArgs) ToCacheDnsOutput() CacheDnsOutput

func (CacheDnsArgs) ToCacheDnsOutputWithContext added in v3.55.0

func (i CacheDnsArgs) ToCacheDnsOutputWithContext(ctx context.Context) CacheDnsOutput

func (CacheDnsArgs) ToCacheDnsPtrOutput added in v3.55.0

func (i CacheDnsArgs) ToCacheDnsPtrOutput() CacheDnsPtrOutput

func (CacheDnsArgs) ToCacheDnsPtrOutputWithContext added in v3.55.0

func (i CacheDnsArgs) ToCacheDnsPtrOutputWithContext(ctx context.Context) CacheDnsPtrOutput

type CacheDnsInput added in v3.55.0

type CacheDnsInput interface {
	pulumi.Input

	ToCacheDnsOutput() CacheDnsOutput
	ToCacheDnsOutputWithContext(context.Context) CacheDnsOutput
}

CacheDnsInput is an input type that accepts CacheDnsArgs and CacheDnsOutput values. You can construct a concrete instance of `CacheDnsInput` via:

CacheDnsArgs{...}

type CacheDnsOutput added in v3.55.0

type CacheDnsOutput struct{ *pulumi.OutputState }

func (CacheDnsOutput) ElementType added in v3.55.0

func (CacheDnsOutput) ElementType() reflect.Type

func (CacheDnsOutput) SearchDomain added in v3.55.0

func (o CacheDnsOutput) SearchDomain() pulumi.StringPtrOutput

The DNS search domain for the HPC Cache.

func (CacheDnsOutput) Servers added in v3.55.0

A list of DNS servers for the HPC Cache. At most three IP(s) are allowed to set.

func (CacheDnsOutput) ToCacheDnsOutput added in v3.55.0

func (o CacheDnsOutput) ToCacheDnsOutput() CacheDnsOutput

func (CacheDnsOutput) ToCacheDnsOutputWithContext added in v3.55.0

func (o CacheDnsOutput) ToCacheDnsOutputWithContext(ctx context.Context) CacheDnsOutput

func (CacheDnsOutput) ToCacheDnsPtrOutput added in v3.55.0

func (o CacheDnsOutput) ToCacheDnsPtrOutput() CacheDnsPtrOutput

func (CacheDnsOutput) ToCacheDnsPtrOutputWithContext added in v3.55.0

func (o CacheDnsOutput) ToCacheDnsPtrOutputWithContext(ctx context.Context) CacheDnsPtrOutput

type CacheDnsPtrInput added in v3.55.0

type CacheDnsPtrInput interface {
	pulumi.Input

	ToCacheDnsPtrOutput() CacheDnsPtrOutput
	ToCacheDnsPtrOutputWithContext(context.Context) CacheDnsPtrOutput
}

CacheDnsPtrInput is an input type that accepts CacheDnsArgs, CacheDnsPtr and CacheDnsPtrOutput values. You can construct a concrete instance of `CacheDnsPtrInput` via:

        CacheDnsArgs{...}

or:

        nil

func CacheDnsPtr added in v3.55.0

func CacheDnsPtr(v *CacheDnsArgs) CacheDnsPtrInput

type CacheDnsPtrOutput added in v3.55.0

type CacheDnsPtrOutput struct{ *pulumi.OutputState }

func (CacheDnsPtrOutput) Elem added in v3.55.0

func (CacheDnsPtrOutput) ElementType added in v3.55.0

func (CacheDnsPtrOutput) ElementType() reflect.Type

func (CacheDnsPtrOutput) SearchDomain added in v3.55.0

func (o CacheDnsPtrOutput) SearchDomain() pulumi.StringPtrOutput

The DNS search domain for the HPC Cache.

func (CacheDnsPtrOutput) Servers added in v3.55.0

A list of DNS servers for the HPC Cache. At most three IP(s) are allowed to set.

func (CacheDnsPtrOutput) ToCacheDnsPtrOutput added in v3.55.0

func (o CacheDnsPtrOutput) ToCacheDnsPtrOutput() CacheDnsPtrOutput

func (CacheDnsPtrOutput) ToCacheDnsPtrOutputWithContext added in v3.55.0

func (o CacheDnsPtrOutput) ToCacheDnsPtrOutputWithContext(ctx context.Context) CacheDnsPtrOutput

type CacheInput added in v3.31.1

type CacheInput interface {
	pulumi.Input

	ToCacheOutput() CacheOutput
	ToCacheOutputWithContext(ctx context.Context) CacheOutput
}

type CacheMap added in v3.47.1

type CacheMap map[string]CacheInput

func (CacheMap) ElementType added in v3.47.1

func (CacheMap) ElementType() reflect.Type

func (CacheMap) ToCacheMapOutput added in v3.47.1

func (i CacheMap) ToCacheMapOutput() CacheMapOutput

func (CacheMap) ToCacheMapOutputWithContext added in v3.47.1

func (i CacheMap) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput

type CacheMapInput added in v3.47.1

type CacheMapInput interface {
	pulumi.Input

	ToCacheMapOutput() CacheMapOutput
	ToCacheMapOutputWithContext(context.Context) CacheMapOutput
}

CacheMapInput is an input type that accepts CacheMap and CacheMapOutput values. You can construct a concrete instance of `CacheMapInput` via:

CacheMap{ "key": CacheArgs{...} }

type CacheMapOutput added in v3.47.1

type CacheMapOutput struct{ *pulumi.OutputState }

func (CacheMapOutput) ElementType added in v3.47.1

func (CacheMapOutput) ElementType() reflect.Type

func (CacheMapOutput) MapIndex added in v3.47.1

func (CacheMapOutput) ToCacheMapOutput added in v3.47.1

func (o CacheMapOutput) ToCacheMapOutput() CacheMapOutput

func (CacheMapOutput) ToCacheMapOutputWithContext added in v3.47.1

func (o CacheMapOutput) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput

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. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`.
	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

func (*CacheNfsTarget) ToCacheNfsTargetPtrOutput added in v3.47.1

func (i *CacheNfsTarget) ToCacheNfsTargetPtrOutput() CacheNfsTargetPtrOutput

func (*CacheNfsTarget) ToCacheNfsTargetPtrOutputWithContext added in v3.47.1

func (i *CacheNfsTarget) ToCacheNfsTargetPtrOutputWithContext(ctx context.Context) CacheNfsTargetPtrOutput

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. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`.
	UsageModel pulumi.StringInput
}

The set of arguments for constructing a CacheNfsTarget resource.

func (CacheNfsTargetArgs) ElementType

func (CacheNfsTargetArgs) ElementType() reflect.Type

type CacheNfsTargetArray added in v3.47.1

type CacheNfsTargetArray []CacheNfsTargetInput

func (CacheNfsTargetArray) ElementType added in v3.47.1

func (CacheNfsTargetArray) ElementType() reflect.Type

func (CacheNfsTargetArray) ToCacheNfsTargetArrayOutput added in v3.47.1

func (i CacheNfsTargetArray) ToCacheNfsTargetArrayOutput() CacheNfsTargetArrayOutput

func (CacheNfsTargetArray) ToCacheNfsTargetArrayOutputWithContext added in v3.47.1

func (i CacheNfsTargetArray) ToCacheNfsTargetArrayOutputWithContext(ctx context.Context) CacheNfsTargetArrayOutput

type CacheNfsTargetArrayInput added in v3.47.1

type CacheNfsTargetArrayInput interface {
	pulumi.Input

	ToCacheNfsTargetArrayOutput() CacheNfsTargetArrayOutput
	ToCacheNfsTargetArrayOutputWithContext(context.Context) CacheNfsTargetArrayOutput
}

CacheNfsTargetArrayInput is an input type that accepts CacheNfsTargetArray and CacheNfsTargetArrayOutput values. You can construct a concrete instance of `CacheNfsTargetArrayInput` via:

CacheNfsTargetArray{ CacheNfsTargetArgs{...} }

type CacheNfsTargetArrayOutput added in v3.47.1

type CacheNfsTargetArrayOutput struct{ *pulumi.OutputState }

func (CacheNfsTargetArrayOutput) ElementType added in v3.47.1

func (CacheNfsTargetArrayOutput) ElementType() reflect.Type

func (CacheNfsTargetArrayOutput) Index added in v3.47.1

func (CacheNfsTargetArrayOutput) ToCacheNfsTargetArrayOutput added in v3.47.1

func (o CacheNfsTargetArrayOutput) ToCacheNfsTargetArrayOutput() CacheNfsTargetArrayOutput

func (CacheNfsTargetArrayOutput) ToCacheNfsTargetArrayOutputWithContext added in v3.47.1

func (o CacheNfsTargetArrayOutput) ToCacheNfsTargetArrayOutputWithContext(ctx context.Context) CacheNfsTargetArrayOutput

type CacheNfsTargetInput added in v3.31.1

type CacheNfsTargetInput interface {
	pulumi.Input

	ToCacheNfsTargetOutput() CacheNfsTargetOutput
	ToCacheNfsTargetOutputWithContext(ctx context.Context) CacheNfsTargetOutput
}

type CacheNfsTargetMap added in v3.47.1

type CacheNfsTargetMap map[string]CacheNfsTargetInput

func (CacheNfsTargetMap) ElementType added in v3.47.1

func (CacheNfsTargetMap) ElementType() reflect.Type

func (CacheNfsTargetMap) ToCacheNfsTargetMapOutput added in v3.47.1

func (i CacheNfsTargetMap) ToCacheNfsTargetMapOutput() CacheNfsTargetMapOutput

func (CacheNfsTargetMap) ToCacheNfsTargetMapOutputWithContext added in v3.47.1

func (i CacheNfsTargetMap) ToCacheNfsTargetMapOutputWithContext(ctx context.Context) CacheNfsTargetMapOutput

type CacheNfsTargetMapInput added in v3.47.1

type CacheNfsTargetMapInput interface {
	pulumi.Input

	ToCacheNfsTargetMapOutput() CacheNfsTargetMapOutput
	ToCacheNfsTargetMapOutputWithContext(context.Context) CacheNfsTargetMapOutput
}

CacheNfsTargetMapInput is an input type that accepts CacheNfsTargetMap and CacheNfsTargetMapOutput values. You can construct a concrete instance of `CacheNfsTargetMapInput` via:

CacheNfsTargetMap{ "key": CacheNfsTargetArgs{...} }

type CacheNfsTargetMapOutput added in v3.47.1

type CacheNfsTargetMapOutput struct{ *pulumi.OutputState }

func (CacheNfsTargetMapOutput) ElementType added in v3.47.1

func (CacheNfsTargetMapOutput) ElementType() reflect.Type

func (CacheNfsTargetMapOutput) MapIndex added in v3.47.1

func (CacheNfsTargetMapOutput) ToCacheNfsTargetMapOutput added in v3.47.1

func (o CacheNfsTargetMapOutput) ToCacheNfsTargetMapOutput() CacheNfsTargetMapOutput

func (CacheNfsTargetMapOutput) ToCacheNfsTargetMapOutputWithContext added in v3.47.1

func (o CacheNfsTargetMapOutput) ToCacheNfsTargetMapOutputWithContext(ctx context.Context) CacheNfsTargetMapOutput

type CacheNfsTargetNamespaceJunction

type CacheNfsTargetNamespaceJunction struct {
	// The name of the access policy applied to this target. Defaults to `default`.
	AccessPolicyName *string `pulumi:"accessPolicyName"`
	// 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 name of the access policy applied to this target. Defaults to `default`.
	AccessPolicyName pulumi.StringPtrInput `pulumi:"accessPolicyName"`
	// 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) 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) 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) Index

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) AccessPolicyName added in v3.55.0

The name of the access policy applied to this target. Defaults to `default`.

func (CacheNfsTargetNamespaceJunctionOutput) ElementType

func (CacheNfsTargetNamespaceJunctionOutput) NamespacePath

The client-facing file path of this NFS target within the HPC Cache NFS Target.

func (CacheNfsTargetNamespaceJunctionOutput) NfsExport

The NFS export of this NFS target within the HPC Cache NFS Target.

func (CacheNfsTargetNamespaceJunctionOutput) TargetPath

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

func (CacheNfsTargetOutput) ToCacheNfsTargetPtrOutput added in v3.47.1

func (o CacheNfsTargetOutput) ToCacheNfsTargetPtrOutput() CacheNfsTargetPtrOutput

func (CacheNfsTargetOutput) ToCacheNfsTargetPtrOutputWithContext added in v3.47.1

func (o CacheNfsTargetOutput) ToCacheNfsTargetPtrOutputWithContext(ctx context.Context) CacheNfsTargetPtrOutput

type CacheNfsTargetPtrInput added in v3.47.1

type CacheNfsTargetPtrInput interface {
	pulumi.Input

	ToCacheNfsTargetPtrOutput() CacheNfsTargetPtrOutput
	ToCacheNfsTargetPtrOutputWithContext(ctx context.Context) CacheNfsTargetPtrOutput
}

type CacheNfsTargetPtrOutput added in v3.47.1

type CacheNfsTargetPtrOutput struct {
	*pulumi.OutputState
}

func (CacheNfsTargetPtrOutput) ElementType added in v3.47.1

func (CacheNfsTargetPtrOutput) ElementType() reflect.Type

func (CacheNfsTargetPtrOutput) ToCacheNfsTargetPtrOutput added in v3.47.1

func (o CacheNfsTargetPtrOutput) ToCacheNfsTargetPtrOutput() CacheNfsTargetPtrOutput

func (CacheNfsTargetPtrOutput) ToCacheNfsTargetPtrOutputWithContext added in v3.47.1

func (o CacheNfsTargetPtrOutput) ToCacheNfsTargetPtrOutputWithContext(ctx context.Context) CacheNfsTargetPtrOutput

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. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`.
	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

func (CacheOutput) ToCachePtrOutput added in v3.47.1

func (o CacheOutput) ToCachePtrOutput() CachePtrOutput

func (CacheOutput) ToCachePtrOutputWithContext added in v3.47.1

func (o CacheOutput) ToCachePtrOutputWithContext(ctx context.Context) CachePtrOutput

type CachePtrInput added in v3.47.1

type CachePtrInput interface {
	pulumi.Input

	ToCachePtrOutput() CachePtrOutput
	ToCachePtrOutputWithContext(ctx context.Context) CachePtrOutput
}

type CachePtrOutput added in v3.47.1

type CachePtrOutput struct {
	*pulumi.OutputState
}

func (CachePtrOutput) ElementType added in v3.47.1

func (CachePtrOutput) ElementType() reflect.Type

func (CachePtrOutput) ToCachePtrOutput added in v3.47.1

func (o CachePtrOutput) ToCachePtrOutput() CachePtrOutput

func (CachePtrOutput) ToCachePtrOutputWithContext added in v3.47.1

func (o CachePtrOutput) ToCachePtrOutputWithContext(ctx context.Context) CachePtrOutput

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
	// A `defaultAccessPolicy` block as defined below.
	DefaultAccessPolicy CacheDefaultAccessPolicyPtrInput
	// A `dns` block as defined below.
	Dns CacheDnsPtrInput
	// 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 NTP server IP Address or FQDN for the HPC Cache. Defaults to `time.windows.com`.
	NtpServer 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 to enable [root squash](https://docs.microsoft.com/en-us/azure/hpc-cache/access-policies#root-squash)? Defaults to `false`.
	//
	// Deprecated: This property is not functional and will be deprecated in favor of `default_access_policy.0.access_rule.x.root_squash_enabled`, where the scope of access_rule is `default`.
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL