Documentation ¶
Index ¶
- type Account
- type AccountActiveDirectory
- type AccountActiveDirectoryArgs
- func (AccountActiveDirectoryArgs) ElementType() reflect.Type
- func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput
- func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput
- func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
- func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
- type AccountActiveDirectoryInput
- type AccountActiveDirectoryOutput
- func (o AccountActiveDirectoryOutput) DnsServers() pulumi.StringArrayOutput
- func (o AccountActiveDirectoryOutput) Domain() pulumi.StringOutput
- func (AccountActiveDirectoryOutput) ElementType() reflect.Type
- func (o AccountActiveDirectoryOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o AccountActiveDirectoryOutput) Password() pulumi.StringOutput
- func (o AccountActiveDirectoryOutput) SmbServerName() pulumi.StringOutput
- func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput
- func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput
- func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
- func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
- func (o AccountActiveDirectoryOutput) Username() pulumi.StringOutput
- type AccountActiveDirectoryPtrInput
- type AccountActiveDirectoryPtrOutput
- func (o AccountActiveDirectoryPtrOutput) DnsServers() pulumi.StringArrayOutput
- func (o AccountActiveDirectoryPtrOutput) Domain() pulumi.StringPtrOutput
- func (o AccountActiveDirectoryPtrOutput) Elem() AccountActiveDirectoryOutput
- func (AccountActiveDirectoryPtrOutput) ElementType() reflect.Type
- func (o AccountActiveDirectoryPtrOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o AccountActiveDirectoryPtrOutput) Password() pulumi.StringPtrOutput
- func (o AccountActiveDirectoryPtrOutput) SmbServerName() pulumi.StringPtrOutput
- func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
- func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
- func (o AccountActiveDirectoryPtrOutput) Username() pulumi.StringPtrOutput
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- type AccountState
- type GetSnapshotPolicyDailySchedule
- type GetSnapshotPolicyDailyScheduleArgs
- func (GetSnapshotPolicyDailyScheduleArgs) ElementType() reflect.Type
- func (i GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutput() GetSnapshotPolicyDailyScheduleOutput
- func (i GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleOutput
- type GetSnapshotPolicyDailyScheduleArray
- func (GetSnapshotPolicyDailyScheduleArray) ElementType() reflect.Type
- func (i GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutput() GetSnapshotPolicyDailyScheduleArrayOutput
- func (i GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleArrayOutput
- type GetSnapshotPolicyDailyScheduleArrayInput
- type GetSnapshotPolicyDailyScheduleArrayOutput
- func (GetSnapshotPolicyDailyScheduleArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyDailyScheduleArrayOutput) Index(i pulumi.IntInput) GetSnapshotPolicyDailyScheduleOutput
- func (o GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutput() GetSnapshotPolicyDailyScheduleArrayOutput
- func (o GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleArrayOutput
- type GetSnapshotPolicyDailyScheduleInput
- type GetSnapshotPolicyDailyScheduleOutput
- func (GetSnapshotPolicyDailyScheduleOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyDailyScheduleOutput) Hour() pulumi.IntOutput
- func (o GetSnapshotPolicyDailyScheduleOutput) Minute() pulumi.IntOutput
- func (o GetSnapshotPolicyDailyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutput() GetSnapshotPolicyDailyScheduleOutput
- func (o GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleOutput
- type GetSnapshotPolicyHourlySchedule
- type GetSnapshotPolicyHourlyScheduleArgs
- func (GetSnapshotPolicyHourlyScheduleArgs) ElementType() reflect.Type
- func (i GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutput() GetSnapshotPolicyHourlyScheduleOutput
- func (i GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleOutput
- type GetSnapshotPolicyHourlyScheduleArray
- func (GetSnapshotPolicyHourlyScheduleArray) ElementType() reflect.Type
- func (i GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutput() GetSnapshotPolicyHourlyScheduleArrayOutput
- func (i GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleArrayOutput
- type GetSnapshotPolicyHourlyScheduleArrayInput
- type GetSnapshotPolicyHourlyScheduleArrayOutput
- func (GetSnapshotPolicyHourlyScheduleArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyHourlyScheduleArrayOutput) Index(i pulumi.IntInput) GetSnapshotPolicyHourlyScheduleOutput
- func (o GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutput() GetSnapshotPolicyHourlyScheduleArrayOutput
- func (o GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleArrayOutput
- type GetSnapshotPolicyHourlyScheduleInput
- type GetSnapshotPolicyHourlyScheduleOutput
- func (GetSnapshotPolicyHourlyScheduleOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyHourlyScheduleOutput) Minute() pulumi.IntOutput
- func (o GetSnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutput() GetSnapshotPolicyHourlyScheduleOutput
- func (o GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleOutput
- type GetSnapshotPolicyMonthlySchedule
- type GetSnapshotPolicyMonthlyScheduleArgs
- func (GetSnapshotPolicyMonthlyScheduleArgs) ElementType() reflect.Type
- func (i GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutput() GetSnapshotPolicyMonthlyScheduleOutput
- func (i GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleOutput
- type GetSnapshotPolicyMonthlyScheduleArray
- func (GetSnapshotPolicyMonthlyScheduleArray) ElementType() reflect.Type
- func (i GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutput() GetSnapshotPolicyMonthlyScheduleArrayOutput
- func (i GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleArrayOutput
- type GetSnapshotPolicyMonthlyScheduleArrayInput
- type GetSnapshotPolicyMonthlyScheduleArrayOutput
- func (GetSnapshotPolicyMonthlyScheduleArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyMonthlyScheduleArrayOutput) Index(i pulumi.IntInput) GetSnapshotPolicyMonthlyScheduleOutput
- func (o GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutput() GetSnapshotPolicyMonthlyScheduleArrayOutput
- func (o GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleArrayOutput
- type GetSnapshotPolicyMonthlyScheduleInput
- type GetSnapshotPolicyMonthlyScheduleOutput
- func (o GetSnapshotPolicyMonthlyScheduleOutput) DaysOfMonths() pulumi.IntArrayOutput
- func (GetSnapshotPolicyMonthlyScheduleOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyMonthlyScheduleOutput) Hour() pulumi.IntOutput
- func (o GetSnapshotPolicyMonthlyScheduleOutput) Minute() pulumi.IntOutput
- func (o GetSnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutput() GetSnapshotPolicyMonthlyScheduleOutput
- func (o GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleOutput
- type GetSnapshotPolicyWeeklySchedule
- type GetSnapshotPolicyWeeklyScheduleArgs
- func (GetSnapshotPolicyWeeklyScheduleArgs) ElementType() reflect.Type
- func (i GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutput() GetSnapshotPolicyWeeklyScheduleOutput
- func (i GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleOutput
- type GetSnapshotPolicyWeeklyScheduleArray
- func (GetSnapshotPolicyWeeklyScheduleArray) ElementType() reflect.Type
- func (i GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutput() GetSnapshotPolicyWeeklyScheduleArrayOutput
- func (i GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleArrayOutput
- type GetSnapshotPolicyWeeklyScheduleArrayInput
- type GetSnapshotPolicyWeeklyScheduleArrayOutput
- func (GetSnapshotPolicyWeeklyScheduleArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyWeeklyScheduleArrayOutput) Index(i pulumi.IntInput) GetSnapshotPolicyWeeklyScheduleOutput
- func (o GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutput() GetSnapshotPolicyWeeklyScheduleArrayOutput
- func (o GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleArrayOutput
- type GetSnapshotPolicyWeeklyScheduleInput
- type GetSnapshotPolicyWeeklyScheduleOutput
- func (o GetSnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
- func (GetSnapshotPolicyWeeklyScheduleOutput) ElementType() reflect.Type
- func (o GetSnapshotPolicyWeeklyScheduleOutput) Hour() pulumi.IntOutput
- func (o GetSnapshotPolicyWeeklyScheduleOutput) Minute() pulumi.IntOutput
- func (o GetSnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutput() GetSnapshotPolicyWeeklyScheduleOutput
- func (o GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleOutput
- type GetVolumeDataProtectionReplication
- type GetVolumeDataProtectionReplicationArgs
- func (GetVolumeDataProtectionReplicationArgs) ElementType() reflect.Type
- func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput
- func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput
- type GetVolumeDataProtectionReplicationArray
- func (GetVolumeDataProtectionReplicationArray) ElementType() reflect.Type
- func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput
- func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput
- type GetVolumeDataProtectionReplicationArrayInput
- type GetVolumeDataProtectionReplicationArrayOutput
- func (GetVolumeDataProtectionReplicationArrayOutput) ElementType() reflect.Type
- func (o GetVolumeDataProtectionReplicationArrayOutput) Index(i pulumi.IntInput) GetVolumeDataProtectionReplicationOutput
- func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput
- func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput
- type GetVolumeDataProtectionReplicationInput
- type GetVolumeDataProtectionReplicationOutput
- func (GetVolumeDataProtectionReplicationOutput) ElementType() reflect.Type
- func (o GetVolumeDataProtectionReplicationOutput) EndpointType() pulumi.StringOutput
- func (o GetVolumeDataProtectionReplicationOutput) RemoteVolumeLocation() pulumi.StringOutput
- func (o GetVolumeDataProtectionReplicationOutput) RemoteVolumeResourceId() pulumi.StringOutput
- func (o GetVolumeDataProtectionReplicationOutput) ReplicationFrequency() pulumi.StringOutput
- func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput
- func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput
- type LookupAccountArgs
- type LookupAccountOutputArgs
- type LookupAccountResult
- type LookupAccountResultOutput
- func (LookupAccountResultOutput) ElementType() reflect.Type
- func (o LookupAccountResultOutput) Id() pulumi.StringOutput
- func (o LookupAccountResultOutput) Location() pulumi.StringOutput
- func (o LookupAccountResultOutput) Name() pulumi.StringOutput
- func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
- func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
- type LookupPoolArgs
- type LookupPoolOutputArgs
- type LookupPoolResult
- type LookupPoolResultOutput
- func (o LookupPoolResultOutput) AccountName() pulumi.StringOutput
- func (LookupPoolResultOutput) ElementType() reflect.Type
- func (o LookupPoolResultOutput) Id() pulumi.StringOutput
- func (o LookupPoolResultOutput) Location() pulumi.StringOutput
- func (o LookupPoolResultOutput) Name() pulumi.StringOutput
- func (o LookupPoolResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupPoolResultOutput) ServiceLevel() pulumi.StringOutput
- func (o LookupPoolResultOutput) SizeInTb() pulumi.IntOutput
- func (o LookupPoolResultOutput) ToLookupPoolResultOutput() LookupPoolResultOutput
- func (o LookupPoolResultOutput) ToLookupPoolResultOutputWithContext(ctx context.Context) LookupPoolResultOutput
- type LookupSnapshotArgs
- type LookupSnapshotOutputArgs
- type LookupSnapshotPolicyArgs
- type LookupSnapshotPolicyOutputArgs
- type LookupSnapshotPolicyResult
- type LookupSnapshotPolicyResultOutput
- func (o LookupSnapshotPolicyResultOutput) AccountName() pulumi.StringOutput
- func (o LookupSnapshotPolicyResultOutput) DailySchedules() GetSnapshotPolicyDailyScheduleArrayOutput
- func (LookupSnapshotPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotPolicyResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupSnapshotPolicyResultOutput) HourlySchedules() GetSnapshotPolicyHourlyScheduleArrayOutput
- func (o LookupSnapshotPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupSnapshotPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupSnapshotPolicyResultOutput) MonthlySchedules() GetSnapshotPolicyMonthlyScheduleArrayOutput
- func (o LookupSnapshotPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupSnapshotPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupSnapshotPolicyResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutput() LookupSnapshotPolicyResultOutput
- func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutputWithContext(ctx context.Context) LookupSnapshotPolicyResultOutput
- func (o LookupSnapshotPolicyResultOutput) WeeklySchedules() GetSnapshotPolicyWeeklyScheduleArrayOutput
- type LookupSnapshotResult
- type LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) AccountName() pulumi.StringOutput
- func (LookupSnapshotResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Location() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) PoolName() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) VolumeName() pulumi.StringOutput
- type LookupVolumeArgs
- type LookupVolumeOutputArgs
- type LookupVolumeResult
- type LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) AccountName() pulumi.StringOutput
- func (o LookupVolumeResultOutput) DataProtectionReplications() GetVolumeDataProtectionReplicationArrayOutput
- func (LookupVolumeResultOutput) ElementType() reflect.Type
- func (o LookupVolumeResultOutput) Id() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Location() pulumi.StringOutput
- func (o LookupVolumeResultOutput) MountIpAddresses() pulumi.StringArrayOutput
- func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
- func (o LookupVolumeResultOutput) PoolName() pulumi.StringOutput
- func (o LookupVolumeResultOutput) Protocols() pulumi.StringArrayOutput
- func (o LookupVolumeResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupVolumeResultOutput) SecurityStyle() pulumi.StringPtrOutput
- func (o LookupVolumeResultOutput) ServiceLevel() pulumi.StringOutput
- func (o LookupVolumeResultOutput) StorageQuotaInGb() pulumi.IntOutput
- func (o LookupVolumeResultOutput) SubnetId() pulumi.StringOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
- func (o LookupVolumeResultOutput) VolumePath() pulumi.StringOutput
- type Pool
- type PoolArgs
- type PoolArray
- type PoolArrayInput
- type PoolArrayOutput
- type PoolInput
- type PoolMap
- type PoolMapInput
- type PoolMapOutput
- type PoolOutput
- type PoolState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- type SnapshotPolicy
- type SnapshotPolicyArgs
- type SnapshotPolicyArray
- type SnapshotPolicyArrayInput
- type SnapshotPolicyArrayOutput
- func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
- func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
- func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
- type SnapshotPolicyDailySchedule
- type SnapshotPolicyDailyScheduleArgs
- func (SnapshotPolicyDailyScheduleArgs) ElementType() reflect.Type
- func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutput() SnapshotPolicyDailyScheduleOutput
- func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyDailyScheduleOutput
- func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
- func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
- type SnapshotPolicyDailyScheduleInput
- type SnapshotPolicyDailyScheduleOutput
- func (SnapshotPolicyDailyScheduleOutput) ElementType() reflect.Type
- func (o SnapshotPolicyDailyScheduleOutput) Hour() pulumi.IntOutput
- func (o SnapshotPolicyDailyScheduleOutput) Minute() pulumi.IntOutput
- func (o SnapshotPolicyDailyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutput() SnapshotPolicyDailyScheduleOutput
- func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyDailyScheduleOutput
- func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
- func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
- type SnapshotPolicyDailySchedulePtrInput
- type SnapshotPolicyDailySchedulePtrOutput
- func (o SnapshotPolicyDailySchedulePtrOutput) Elem() SnapshotPolicyDailyScheduleOutput
- func (SnapshotPolicyDailySchedulePtrOutput) ElementType() reflect.Type
- func (o SnapshotPolicyDailySchedulePtrOutput) Hour() pulumi.IntPtrOutput
- func (o SnapshotPolicyDailySchedulePtrOutput) Minute() pulumi.IntPtrOutput
- func (o SnapshotPolicyDailySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
- func (o SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
- func (o SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
- type SnapshotPolicyHourlySchedule
- type SnapshotPolicyHourlyScheduleArgs
- func (SnapshotPolicyHourlyScheduleArgs) ElementType() reflect.Type
- func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutput() SnapshotPolicyHourlyScheduleOutput
- func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyHourlyScheduleOutput
- func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
- func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
- type SnapshotPolicyHourlyScheduleInput
- type SnapshotPolicyHourlyScheduleOutput
- func (SnapshotPolicyHourlyScheduleOutput) ElementType() reflect.Type
- func (o SnapshotPolicyHourlyScheduleOutput) Minute() pulumi.IntOutput
- func (o SnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutput() SnapshotPolicyHourlyScheduleOutput
- func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyHourlyScheduleOutput
- func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
- func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
- type SnapshotPolicyHourlySchedulePtrInput
- type SnapshotPolicyHourlySchedulePtrOutput
- func (o SnapshotPolicyHourlySchedulePtrOutput) Elem() SnapshotPolicyHourlyScheduleOutput
- func (SnapshotPolicyHourlySchedulePtrOutput) ElementType() reflect.Type
- func (o SnapshotPolicyHourlySchedulePtrOutput) Minute() pulumi.IntPtrOutput
- func (o SnapshotPolicyHourlySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
- func (o SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
- func (o SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
- type SnapshotPolicyInput
- type SnapshotPolicyMap
- type SnapshotPolicyMapInput
- type SnapshotPolicyMapOutput
- func (SnapshotPolicyMapOutput) ElementType() reflect.Type
- func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
- func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
- type SnapshotPolicyMonthlySchedule
- type SnapshotPolicyMonthlyScheduleArgs
- func (SnapshotPolicyMonthlyScheduleArgs) ElementType() reflect.Type
- func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutput() SnapshotPolicyMonthlyScheduleOutput
- func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyMonthlyScheduleOutput
- func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
- func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
- type SnapshotPolicyMonthlyScheduleInput
- type SnapshotPolicyMonthlyScheduleOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) DaysOfMonths() pulumi.IntArrayOutput
- func (SnapshotPolicyMonthlyScheduleOutput) ElementType() reflect.Type
- func (o SnapshotPolicyMonthlyScheduleOutput) Hour() pulumi.IntOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) Minute() pulumi.IntOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutput() SnapshotPolicyMonthlyScheduleOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyMonthlyScheduleOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
- func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
- type SnapshotPolicyMonthlySchedulePtrInput
- type SnapshotPolicyMonthlySchedulePtrOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) DaysOfMonths() pulumi.IntArrayOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) Elem() SnapshotPolicyMonthlyScheduleOutput
- func (SnapshotPolicyMonthlySchedulePtrOutput) ElementType() reflect.Type
- func (o SnapshotPolicyMonthlySchedulePtrOutput) Hour() pulumi.IntPtrOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) Minute() pulumi.IntPtrOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
- func (o SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
- type SnapshotPolicyOutput
- type SnapshotPolicyState
- type SnapshotPolicyWeeklySchedule
- type SnapshotPolicyWeeklyScheduleArgs
- func (SnapshotPolicyWeeklyScheduleArgs) ElementType() reflect.Type
- func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutput() SnapshotPolicyWeeklyScheduleOutput
- func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyWeeklyScheduleOutput
- func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
- func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
- type SnapshotPolicyWeeklyScheduleInput
- type SnapshotPolicyWeeklyScheduleOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
- func (SnapshotPolicyWeeklyScheduleOutput) ElementType() reflect.Type
- func (o SnapshotPolicyWeeklyScheduleOutput) Hour() pulumi.IntOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) Minute() pulumi.IntOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutput() SnapshotPolicyWeeklyScheduleOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyWeeklyScheduleOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
- func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
- type SnapshotPolicyWeeklySchedulePtrInput
- type SnapshotPolicyWeeklySchedulePtrOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) DaysOfWeeks() pulumi.StringArrayOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) Elem() SnapshotPolicyWeeklyScheduleOutput
- func (SnapshotPolicyWeeklySchedulePtrOutput) ElementType() reflect.Type
- func (o SnapshotPolicyWeeklySchedulePtrOutput) Hour() pulumi.IntPtrOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) Minute() pulumi.IntPtrOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
- func (o SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
- type SnapshotState
- type Volume
- type VolumeArgs
- type VolumeArray
- type VolumeArrayInput
- type VolumeArrayOutput
- type VolumeDataProtectionReplication
- type VolumeDataProtectionReplicationArgs
- func (VolumeDataProtectionReplicationArgs) ElementType() reflect.Type
- func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput
- func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput
- func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
- func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
- type VolumeDataProtectionReplicationInput
- type VolumeDataProtectionReplicationOutput
- func (VolumeDataProtectionReplicationOutput) ElementType() reflect.Type
- func (o VolumeDataProtectionReplicationOutput) EndpointType() pulumi.StringPtrOutput
- func (o VolumeDataProtectionReplicationOutput) RemoteVolumeLocation() pulumi.StringOutput
- func (o VolumeDataProtectionReplicationOutput) RemoteVolumeResourceId() pulumi.StringOutput
- func (o VolumeDataProtectionReplicationOutput) ReplicationFrequency() pulumi.StringOutput
- func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput
- func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput
- func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
- func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
- type VolumeDataProtectionReplicationPtrInput
- type VolumeDataProtectionReplicationPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) Elem() VolumeDataProtectionReplicationOutput
- func (VolumeDataProtectionReplicationPtrOutput) ElementType() reflect.Type
- func (o VolumeDataProtectionReplicationPtrOutput) EndpointType() pulumi.StringPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) RemoteVolumeLocation() pulumi.StringPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) RemoteVolumeResourceId() pulumi.StringPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) ReplicationFrequency() pulumi.StringPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
- func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
- type VolumeDataProtectionSnapshotPolicy
- type VolumeDataProtectionSnapshotPolicyArgs
- func (VolumeDataProtectionSnapshotPolicyArgs) ElementType() reflect.Type
- func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutput() VolumeDataProtectionSnapshotPolicyOutput
- func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyOutput
- func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
- func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
- type VolumeDataProtectionSnapshotPolicyInput
- type VolumeDataProtectionSnapshotPolicyOutput
- func (VolumeDataProtectionSnapshotPolicyOutput) ElementType() reflect.Type
- func (o VolumeDataProtectionSnapshotPolicyOutput) SnapshotPolicyId() pulumi.StringOutput
- func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutput() VolumeDataProtectionSnapshotPolicyOutput
- func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyOutput
- func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
- func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
- type VolumeDataProtectionSnapshotPolicyPtrInput
- type VolumeDataProtectionSnapshotPolicyPtrOutput
- func (o VolumeDataProtectionSnapshotPolicyPtrOutput) Elem() VolumeDataProtectionSnapshotPolicyOutput
- func (VolumeDataProtectionSnapshotPolicyPtrOutput) ElementType() reflect.Type
- func (o VolumeDataProtectionSnapshotPolicyPtrOutput) SnapshotPolicyId() pulumi.StringPtrOutput
- func (o VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
- func (o VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
- type VolumeExportPolicyRule
- type VolumeExportPolicyRuleArgs
- type VolumeExportPolicyRuleArray
- func (VolumeExportPolicyRuleArray) ElementType() reflect.Type
- func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput
- func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput
- type VolumeExportPolicyRuleArrayInput
- type VolumeExportPolicyRuleArrayOutput
- func (VolumeExportPolicyRuleArrayOutput) ElementType() reflect.Type
- func (o VolumeExportPolicyRuleArrayOutput) Index(i pulumi.IntInput) VolumeExportPolicyRuleOutput
- func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput
- func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput
- type VolumeExportPolicyRuleInput
- type VolumeExportPolicyRuleOutput
- func (o VolumeExportPolicyRuleOutput) AllowedClients() pulumi.StringArrayOutput
- func (VolumeExportPolicyRuleOutput) ElementType() reflect.Type
- func (o VolumeExportPolicyRuleOutput) ProtocolsEnabled() pulumi.StringPtrOutput
- func (o VolumeExportPolicyRuleOutput) RootAccessEnabled() pulumi.BoolPtrOutput
- func (o VolumeExportPolicyRuleOutput) RuleIndex() pulumi.IntOutput
- func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput
- func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutputWithContext(ctx context.Context) VolumeExportPolicyRuleOutput
- func (o VolumeExportPolicyRuleOutput) UnixReadOnly() pulumi.BoolPtrOutput
- func (o VolumeExportPolicyRuleOutput) UnixReadWrite() pulumi.BoolPtrOutput
- type VolumeInput
- type VolumeMap
- type VolumeMapInput
- type VolumeMapOutput
- type VolumeOutput
- type VolumeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { pulumi.CustomResourceState // A `activeDirectory` block as defined below. ActiveDirectory AccountActiveDirectoryPtrOutput `pulumi:"activeDirectory"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the NetApp Account. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a NetApp Account.
> **NOTE:** Azure allows only one active directory can be joined to a single subscription at a time for NetApp Account.
## NetApp Account Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/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 } _, err = netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, ActiveDirectory: &netapp.AccountActiveDirectoryArgs{ Username: pulumi.String("aduser"), Password: pulumi.String("aduserpwd"), SmbServerName: pulumi.String("SMBSERVER"), DnsServers: pulumi.StringArray{ pulumi.String("1.2.3.4"), }, Domain: pulumi.String("westcentralus.com"), OrganizationalUnit: pulumi.String("OU=FirstLevel"), }, }) if err != nil { return err } return nil }) }
```
## Import
NetApp Accounts can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:netapp/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1
```
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account 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 NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountActiveDirectory ¶
type AccountActiveDirectory struct { // A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address. DnsServers []string `pulumi:"dnsServers"` // The name of the Active Directory domain. Domain string `pulumi:"domain"` // The Organizational Unit (OU) within the Active Directory Domain. OrganizationalUnit *string `pulumi:"organizationalUnit"` // The password associated with the `username`. Password string `pulumi:"password"` // The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes. SmbServerName string `pulumi:"smbServerName"` // The Username of Active Directory Domain Administrator. Username string `pulumi:"username"` }
type AccountActiveDirectoryArgs ¶
type AccountActiveDirectoryArgs struct { // A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address. DnsServers pulumi.StringArrayInput `pulumi:"dnsServers"` // The name of the Active Directory domain. Domain pulumi.StringInput `pulumi:"domain"` // The Organizational Unit (OU) within the Active Directory Domain. OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"` // The password associated with the `username`. Password pulumi.StringInput `pulumi:"password"` // The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes. SmbServerName pulumi.StringInput `pulumi:"smbServerName"` // The Username of Active Directory Domain Administrator. Username pulumi.StringInput `pulumi:"username"` }
func (AccountActiveDirectoryArgs) ElementType ¶
func (AccountActiveDirectoryArgs) ElementType() reflect.Type
func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutput ¶
func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput
func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutputWithContext ¶
func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput
func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutput ¶
func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
func (AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutputWithContext ¶
func (i AccountActiveDirectoryArgs) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
type AccountActiveDirectoryInput ¶
type AccountActiveDirectoryInput interface { pulumi.Input ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput ToAccountActiveDirectoryOutputWithContext(context.Context) AccountActiveDirectoryOutput }
AccountActiveDirectoryInput is an input type that accepts AccountActiveDirectoryArgs and AccountActiveDirectoryOutput values. You can construct a concrete instance of `AccountActiveDirectoryInput` via:
AccountActiveDirectoryArgs{...}
type AccountActiveDirectoryOutput ¶
type AccountActiveDirectoryOutput struct{ *pulumi.OutputState }
func (AccountActiveDirectoryOutput) DnsServers ¶
func (o AccountActiveDirectoryOutput) DnsServers() pulumi.StringArrayOutput
A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.
func (AccountActiveDirectoryOutput) Domain ¶
func (o AccountActiveDirectoryOutput) Domain() pulumi.StringOutput
The name of the Active Directory domain.
func (AccountActiveDirectoryOutput) ElementType ¶
func (AccountActiveDirectoryOutput) ElementType() reflect.Type
func (AccountActiveDirectoryOutput) OrganizationalUnit ¶
func (o AccountActiveDirectoryOutput) OrganizationalUnit() pulumi.StringPtrOutput
The Organizational Unit (OU) within the Active Directory Domain.
func (AccountActiveDirectoryOutput) Password ¶
func (o AccountActiveDirectoryOutput) Password() pulumi.StringOutput
The password associated with the `username`.
func (AccountActiveDirectoryOutput) SmbServerName ¶
func (o AccountActiveDirectoryOutput) SmbServerName() pulumi.StringOutput
The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.
func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutput ¶
func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutput() AccountActiveDirectoryOutput
func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutputWithContext ¶
func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryOutputWithContext(ctx context.Context) AccountActiveDirectoryOutput
func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutput ¶
func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
func (AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutputWithContext ¶
func (o AccountActiveDirectoryOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
func (AccountActiveDirectoryOutput) Username ¶
func (o AccountActiveDirectoryOutput) Username() pulumi.StringOutput
The Username of Active Directory Domain Administrator.
type AccountActiveDirectoryPtrInput ¶
type AccountActiveDirectoryPtrInput interface { pulumi.Input ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput ToAccountActiveDirectoryPtrOutputWithContext(context.Context) AccountActiveDirectoryPtrOutput }
AccountActiveDirectoryPtrInput is an input type that accepts AccountActiveDirectoryArgs, AccountActiveDirectoryPtr and AccountActiveDirectoryPtrOutput values. You can construct a concrete instance of `AccountActiveDirectoryPtrInput` via:
AccountActiveDirectoryArgs{...} or: nil
func AccountActiveDirectoryPtr ¶
func AccountActiveDirectoryPtr(v *AccountActiveDirectoryArgs) AccountActiveDirectoryPtrInput
type AccountActiveDirectoryPtrOutput ¶
type AccountActiveDirectoryPtrOutput struct{ *pulumi.OutputState }
func (AccountActiveDirectoryPtrOutput) DnsServers ¶
func (o AccountActiveDirectoryPtrOutput) DnsServers() pulumi.StringArrayOutput
A list of DNS server IP addresses for the Active Directory domain. Only allows `IPv4` address.
func (AccountActiveDirectoryPtrOutput) Domain ¶
func (o AccountActiveDirectoryPtrOutput) Domain() pulumi.StringPtrOutput
The name of the Active Directory domain.
func (AccountActiveDirectoryPtrOutput) Elem ¶
func (o AccountActiveDirectoryPtrOutput) Elem() AccountActiveDirectoryOutput
func (AccountActiveDirectoryPtrOutput) ElementType ¶
func (AccountActiveDirectoryPtrOutput) ElementType() reflect.Type
func (AccountActiveDirectoryPtrOutput) OrganizationalUnit ¶
func (o AccountActiveDirectoryPtrOutput) OrganizationalUnit() pulumi.StringPtrOutput
The Organizational Unit (OU) within the Active Directory Domain.
func (AccountActiveDirectoryPtrOutput) Password ¶
func (o AccountActiveDirectoryPtrOutput) Password() pulumi.StringPtrOutput
The password associated with the `username`.
func (AccountActiveDirectoryPtrOutput) SmbServerName ¶
func (o AccountActiveDirectoryPtrOutput) SmbServerName() pulumi.StringPtrOutput
The NetBIOS name which should be used for the NetApp SMB Server, which will be registered as a computer account in the AD and used to mount volumes.
func (AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutput ¶
func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutput() AccountActiveDirectoryPtrOutput
func (AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutputWithContext ¶
func (o AccountActiveDirectoryPtrOutput) ToAccountActiveDirectoryPtrOutputWithContext(ctx context.Context) AccountActiveDirectoryPtrOutput
func (AccountActiveDirectoryPtrOutput) Username ¶
func (o AccountActiveDirectoryPtrOutput) Username() pulumi.StringPtrOutput
The Username of Active Directory Domain Administrator.
type AccountArgs ¶
type AccountArgs struct { // A `activeDirectory` block as defined below. ActiveDirectory AccountActiveDirectoryPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct{ *pulumi.OutputState }
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountState ¶
type AccountState struct { // A `activeDirectory` block as defined below. ActiveDirectory AccountActiveDirectoryPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Account. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the NetApp Account should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type GetSnapshotPolicyDailyScheduleArgs ¶
type GetSnapshotPolicyDailyScheduleArgs struct { // Hour of the day that the snapshots will be created. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (GetSnapshotPolicyDailyScheduleArgs) ElementType ¶
func (GetSnapshotPolicyDailyScheduleArgs) ElementType() reflect.Type
func (GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutput ¶
func (i GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutput() GetSnapshotPolicyDailyScheduleOutput
func (GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutputWithContext ¶
func (i GetSnapshotPolicyDailyScheduleArgs) ToGetSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleOutput
type GetSnapshotPolicyDailyScheduleArray ¶
type GetSnapshotPolicyDailyScheduleArray []GetSnapshotPolicyDailyScheduleInput
func (GetSnapshotPolicyDailyScheduleArray) ElementType ¶
func (GetSnapshotPolicyDailyScheduleArray) ElementType() reflect.Type
func (GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutput ¶
func (i GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutput() GetSnapshotPolicyDailyScheduleArrayOutput
func (GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext ¶
func (i GetSnapshotPolicyDailyScheduleArray) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleArrayOutput
type GetSnapshotPolicyDailyScheduleArrayInput ¶
type GetSnapshotPolicyDailyScheduleArrayInput interface { pulumi.Input ToGetSnapshotPolicyDailyScheduleArrayOutput() GetSnapshotPolicyDailyScheduleArrayOutput ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext(context.Context) GetSnapshotPolicyDailyScheduleArrayOutput }
GetSnapshotPolicyDailyScheduleArrayInput is an input type that accepts GetSnapshotPolicyDailyScheduleArray and GetSnapshotPolicyDailyScheduleArrayOutput values. You can construct a concrete instance of `GetSnapshotPolicyDailyScheduleArrayInput` via:
GetSnapshotPolicyDailyScheduleArray{ GetSnapshotPolicyDailyScheduleArgs{...} }
type GetSnapshotPolicyDailyScheduleArrayOutput ¶
type GetSnapshotPolicyDailyScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyDailyScheduleArrayOutput) ElementType ¶
func (GetSnapshotPolicyDailyScheduleArrayOutput) ElementType() reflect.Type
func (GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutput ¶
func (o GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutput() GetSnapshotPolicyDailyScheduleArrayOutput
func (GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext ¶
func (o GetSnapshotPolicyDailyScheduleArrayOutput) ToGetSnapshotPolicyDailyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleArrayOutput
type GetSnapshotPolicyDailyScheduleInput ¶
type GetSnapshotPolicyDailyScheduleInput interface { pulumi.Input ToGetSnapshotPolicyDailyScheduleOutput() GetSnapshotPolicyDailyScheduleOutput ToGetSnapshotPolicyDailyScheduleOutputWithContext(context.Context) GetSnapshotPolicyDailyScheduleOutput }
GetSnapshotPolicyDailyScheduleInput is an input type that accepts GetSnapshotPolicyDailyScheduleArgs and GetSnapshotPolicyDailyScheduleOutput values. You can construct a concrete instance of `GetSnapshotPolicyDailyScheduleInput` via:
GetSnapshotPolicyDailyScheduleArgs{...}
type GetSnapshotPolicyDailyScheduleOutput ¶
type GetSnapshotPolicyDailyScheduleOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyDailyScheduleOutput) ElementType ¶
func (GetSnapshotPolicyDailyScheduleOutput) ElementType() reflect.Type
func (GetSnapshotPolicyDailyScheduleOutput) Hour ¶
func (o GetSnapshotPolicyDailyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created.
func (GetSnapshotPolicyDailyScheduleOutput) Minute ¶
func (o GetSnapshotPolicyDailyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created.
func (GetSnapshotPolicyDailyScheduleOutput) SnapshotsToKeep ¶
func (o GetSnapshotPolicyDailyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep.
func (GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutput ¶
func (o GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutput() GetSnapshotPolicyDailyScheduleOutput
func (GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutputWithContext ¶
func (o GetSnapshotPolicyDailyScheduleOutput) ToGetSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyDailyScheduleOutput
type GetSnapshotPolicyHourlyScheduleArgs ¶
type GetSnapshotPolicyHourlyScheduleArgs struct { // Minute of the hour that the snapshots will be created. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (GetSnapshotPolicyHourlyScheduleArgs) ElementType ¶
func (GetSnapshotPolicyHourlyScheduleArgs) ElementType() reflect.Type
func (GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutput ¶
func (i GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutput() GetSnapshotPolicyHourlyScheduleOutput
func (GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutputWithContext ¶
func (i GetSnapshotPolicyHourlyScheduleArgs) ToGetSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleOutput
type GetSnapshotPolicyHourlyScheduleArray ¶
type GetSnapshotPolicyHourlyScheduleArray []GetSnapshotPolicyHourlyScheduleInput
func (GetSnapshotPolicyHourlyScheduleArray) ElementType ¶
func (GetSnapshotPolicyHourlyScheduleArray) ElementType() reflect.Type
func (GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutput ¶
func (i GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutput() GetSnapshotPolicyHourlyScheduleArrayOutput
func (GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext ¶
func (i GetSnapshotPolicyHourlyScheduleArray) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleArrayOutput
type GetSnapshotPolicyHourlyScheduleArrayInput ¶
type GetSnapshotPolicyHourlyScheduleArrayInput interface { pulumi.Input ToGetSnapshotPolicyHourlyScheduleArrayOutput() GetSnapshotPolicyHourlyScheduleArrayOutput ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext(context.Context) GetSnapshotPolicyHourlyScheduleArrayOutput }
GetSnapshotPolicyHourlyScheduleArrayInput is an input type that accepts GetSnapshotPolicyHourlyScheduleArray and GetSnapshotPolicyHourlyScheduleArrayOutput values. You can construct a concrete instance of `GetSnapshotPolicyHourlyScheduleArrayInput` via:
GetSnapshotPolicyHourlyScheduleArray{ GetSnapshotPolicyHourlyScheduleArgs{...} }
type GetSnapshotPolicyHourlyScheduleArrayOutput ¶
type GetSnapshotPolicyHourlyScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyHourlyScheduleArrayOutput) ElementType ¶
func (GetSnapshotPolicyHourlyScheduleArrayOutput) ElementType() reflect.Type
func (GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutput ¶
func (o GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutput() GetSnapshotPolicyHourlyScheduleArrayOutput
func (GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext ¶
func (o GetSnapshotPolicyHourlyScheduleArrayOutput) ToGetSnapshotPolicyHourlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleArrayOutput
type GetSnapshotPolicyHourlyScheduleInput ¶
type GetSnapshotPolicyHourlyScheduleInput interface { pulumi.Input ToGetSnapshotPolicyHourlyScheduleOutput() GetSnapshotPolicyHourlyScheduleOutput ToGetSnapshotPolicyHourlyScheduleOutputWithContext(context.Context) GetSnapshotPolicyHourlyScheduleOutput }
GetSnapshotPolicyHourlyScheduleInput is an input type that accepts GetSnapshotPolicyHourlyScheduleArgs and GetSnapshotPolicyHourlyScheduleOutput values. You can construct a concrete instance of `GetSnapshotPolicyHourlyScheduleInput` via:
GetSnapshotPolicyHourlyScheduleArgs{...}
type GetSnapshotPolicyHourlyScheduleOutput ¶
type GetSnapshotPolicyHourlyScheduleOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyHourlyScheduleOutput) ElementType ¶
func (GetSnapshotPolicyHourlyScheduleOutput) ElementType() reflect.Type
func (GetSnapshotPolicyHourlyScheduleOutput) Minute ¶
func (o GetSnapshotPolicyHourlyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created.
func (GetSnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep ¶
func (o GetSnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep.
func (GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutput ¶
func (o GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutput() GetSnapshotPolicyHourlyScheduleOutput
func (GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutputWithContext ¶
func (o GetSnapshotPolicyHourlyScheduleOutput) ToGetSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyHourlyScheduleOutput
type GetSnapshotPolicyMonthlySchedule ¶
type GetSnapshotPolicyMonthlySchedule struct { DaysOfMonths []int `pulumi:"daysOfMonths"` // Hour of the day that the snapshots will be created. Hour int `pulumi:"hour"` // Minute of the hour that the snapshots will be created. Minute int `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep int `pulumi:"snapshotsToKeep"` }
type GetSnapshotPolicyMonthlyScheduleArgs ¶
type GetSnapshotPolicyMonthlyScheduleArgs struct { DaysOfMonths pulumi.IntArrayInput `pulumi:"daysOfMonths"` // Hour of the day that the snapshots will be created. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (GetSnapshotPolicyMonthlyScheduleArgs) ElementType ¶
func (GetSnapshotPolicyMonthlyScheduleArgs) ElementType() reflect.Type
func (GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutput ¶
func (i GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutput() GetSnapshotPolicyMonthlyScheduleOutput
func (GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext ¶
func (i GetSnapshotPolicyMonthlyScheduleArgs) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleOutput
type GetSnapshotPolicyMonthlyScheduleArray ¶
type GetSnapshotPolicyMonthlyScheduleArray []GetSnapshotPolicyMonthlyScheduleInput
func (GetSnapshotPolicyMonthlyScheduleArray) ElementType ¶
func (GetSnapshotPolicyMonthlyScheduleArray) ElementType() reflect.Type
func (GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutput ¶
func (i GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutput() GetSnapshotPolicyMonthlyScheduleArrayOutput
func (GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext ¶
func (i GetSnapshotPolicyMonthlyScheduleArray) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleArrayOutput
type GetSnapshotPolicyMonthlyScheduleArrayInput ¶
type GetSnapshotPolicyMonthlyScheduleArrayInput interface { pulumi.Input ToGetSnapshotPolicyMonthlyScheduleArrayOutput() GetSnapshotPolicyMonthlyScheduleArrayOutput ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext(context.Context) GetSnapshotPolicyMonthlyScheduleArrayOutput }
GetSnapshotPolicyMonthlyScheduleArrayInput is an input type that accepts GetSnapshotPolicyMonthlyScheduleArray and GetSnapshotPolicyMonthlyScheduleArrayOutput values. You can construct a concrete instance of `GetSnapshotPolicyMonthlyScheduleArrayInput` via:
GetSnapshotPolicyMonthlyScheduleArray{ GetSnapshotPolicyMonthlyScheduleArgs{...} }
type GetSnapshotPolicyMonthlyScheduleArrayOutput ¶
type GetSnapshotPolicyMonthlyScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyMonthlyScheduleArrayOutput) ElementType ¶
func (GetSnapshotPolicyMonthlyScheduleArrayOutput) ElementType() reflect.Type
func (GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutput ¶
func (o GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutput() GetSnapshotPolicyMonthlyScheduleArrayOutput
func (GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext ¶
func (o GetSnapshotPolicyMonthlyScheduleArrayOutput) ToGetSnapshotPolicyMonthlyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleArrayOutput
type GetSnapshotPolicyMonthlyScheduleInput ¶
type GetSnapshotPolicyMonthlyScheduleInput interface { pulumi.Input ToGetSnapshotPolicyMonthlyScheduleOutput() GetSnapshotPolicyMonthlyScheduleOutput ToGetSnapshotPolicyMonthlyScheduleOutputWithContext(context.Context) GetSnapshotPolicyMonthlyScheduleOutput }
GetSnapshotPolicyMonthlyScheduleInput is an input type that accepts GetSnapshotPolicyMonthlyScheduleArgs and GetSnapshotPolicyMonthlyScheduleOutput values. You can construct a concrete instance of `GetSnapshotPolicyMonthlyScheduleInput` via:
GetSnapshotPolicyMonthlyScheduleArgs{...}
type GetSnapshotPolicyMonthlyScheduleOutput ¶
type GetSnapshotPolicyMonthlyScheduleOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyMonthlyScheduleOutput) DaysOfMonths ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) DaysOfMonths() pulumi.IntArrayOutput
func (GetSnapshotPolicyMonthlyScheduleOutput) ElementType ¶
func (GetSnapshotPolicyMonthlyScheduleOutput) ElementType() reflect.Type
func (GetSnapshotPolicyMonthlyScheduleOutput) Hour ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created.
func (GetSnapshotPolicyMonthlyScheduleOutput) Minute ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created.
func (GetSnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep.
func (GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutput ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutput() GetSnapshotPolicyMonthlyScheduleOutput
func (GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext ¶
func (o GetSnapshotPolicyMonthlyScheduleOutput) ToGetSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyMonthlyScheduleOutput
type GetSnapshotPolicyWeeklySchedule ¶
type GetSnapshotPolicyWeeklySchedule struct { // List of the week days using English names when the snapshots will be created. DaysOfWeeks []string `pulumi:"daysOfWeeks"` // Hour of the day that the snapshots will be created. Hour int `pulumi:"hour"` // Minute of the hour that the snapshots will be created. Minute int `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep int `pulumi:"snapshotsToKeep"` }
type GetSnapshotPolicyWeeklyScheduleArgs ¶
type GetSnapshotPolicyWeeklyScheduleArgs struct { // List of the week days using English names when the snapshots will be created. DaysOfWeeks pulumi.StringArrayInput `pulumi:"daysOfWeeks"` // Hour of the day that the snapshots will be created. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (GetSnapshotPolicyWeeklyScheduleArgs) ElementType ¶
func (GetSnapshotPolicyWeeklyScheduleArgs) ElementType() reflect.Type
func (GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutput ¶
func (i GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutput() GetSnapshotPolicyWeeklyScheduleOutput
func (GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext ¶
func (i GetSnapshotPolicyWeeklyScheduleArgs) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleOutput
type GetSnapshotPolicyWeeklyScheduleArray ¶
type GetSnapshotPolicyWeeklyScheduleArray []GetSnapshotPolicyWeeklyScheduleInput
func (GetSnapshotPolicyWeeklyScheduleArray) ElementType ¶
func (GetSnapshotPolicyWeeklyScheduleArray) ElementType() reflect.Type
func (GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutput ¶
func (i GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutput() GetSnapshotPolicyWeeklyScheduleArrayOutput
func (GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext ¶
func (i GetSnapshotPolicyWeeklyScheduleArray) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleArrayOutput
type GetSnapshotPolicyWeeklyScheduleArrayInput ¶
type GetSnapshotPolicyWeeklyScheduleArrayInput interface { pulumi.Input ToGetSnapshotPolicyWeeklyScheduleArrayOutput() GetSnapshotPolicyWeeklyScheduleArrayOutput ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext(context.Context) GetSnapshotPolicyWeeklyScheduleArrayOutput }
GetSnapshotPolicyWeeklyScheduleArrayInput is an input type that accepts GetSnapshotPolicyWeeklyScheduleArray and GetSnapshotPolicyWeeklyScheduleArrayOutput values. You can construct a concrete instance of `GetSnapshotPolicyWeeklyScheduleArrayInput` via:
GetSnapshotPolicyWeeklyScheduleArray{ GetSnapshotPolicyWeeklyScheduleArgs{...} }
type GetSnapshotPolicyWeeklyScheduleArrayOutput ¶
type GetSnapshotPolicyWeeklyScheduleArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyWeeklyScheduleArrayOutput) ElementType ¶
func (GetSnapshotPolicyWeeklyScheduleArrayOutput) ElementType() reflect.Type
func (GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutput ¶
func (o GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutput() GetSnapshotPolicyWeeklyScheduleArrayOutput
func (GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext ¶
func (o GetSnapshotPolicyWeeklyScheduleArrayOutput) ToGetSnapshotPolicyWeeklyScheduleArrayOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleArrayOutput
type GetSnapshotPolicyWeeklyScheduleInput ¶
type GetSnapshotPolicyWeeklyScheduleInput interface { pulumi.Input ToGetSnapshotPolicyWeeklyScheduleOutput() GetSnapshotPolicyWeeklyScheduleOutput ToGetSnapshotPolicyWeeklyScheduleOutputWithContext(context.Context) GetSnapshotPolicyWeeklyScheduleOutput }
GetSnapshotPolicyWeeklyScheduleInput is an input type that accepts GetSnapshotPolicyWeeklyScheduleArgs and GetSnapshotPolicyWeeklyScheduleOutput values. You can construct a concrete instance of `GetSnapshotPolicyWeeklyScheduleInput` via:
GetSnapshotPolicyWeeklyScheduleArgs{...}
type GetSnapshotPolicyWeeklyScheduleOutput ¶
type GetSnapshotPolicyWeeklyScheduleOutput struct{ *pulumi.OutputState }
func (GetSnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
List of the week days using English names when the snapshots will be created.
func (GetSnapshotPolicyWeeklyScheduleOutput) ElementType ¶
func (GetSnapshotPolicyWeeklyScheduleOutput) ElementType() reflect.Type
func (GetSnapshotPolicyWeeklyScheduleOutput) Hour ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created.
func (GetSnapshotPolicyWeeklyScheduleOutput) Minute ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created.
func (GetSnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep.
func (GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutput ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutput() GetSnapshotPolicyWeeklyScheduleOutput
func (GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext ¶
func (o GetSnapshotPolicyWeeklyScheduleOutput) ToGetSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) GetSnapshotPolicyWeeklyScheduleOutput
type GetVolumeDataProtectionReplication ¶
type GetVolumeDataProtectionReplication struct { // The endpoint type. EndpointType string `pulumi:"endpointType"` // Location of the primary volume. RemoteVolumeLocation string `pulumi:"remoteVolumeLocation"` // Resource ID of the primary volume. RemoteVolumeResourceId string `pulumi:"remoteVolumeResourceId"` // Frequency of replication. ReplicationFrequency string `pulumi:"replicationFrequency"` }
type GetVolumeDataProtectionReplicationArgs ¶
type GetVolumeDataProtectionReplicationArgs struct { // The endpoint type. EndpointType pulumi.StringInput `pulumi:"endpointType"` // Location of the primary volume. RemoteVolumeLocation pulumi.StringInput `pulumi:"remoteVolumeLocation"` // Resource ID of the primary volume. RemoteVolumeResourceId pulumi.StringInput `pulumi:"remoteVolumeResourceId"` // Frequency of replication. ReplicationFrequency pulumi.StringInput `pulumi:"replicationFrequency"` }
func (GetVolumeDataProtectionReplicationArgs) ElementType ¶
func (GetVolumeDataProtectionReplicationArgs) ElementType() reflect.Type
func (GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutput ¶
func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput
func (GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutputWithContext ¶
func (i GetVolumeDataProtectionReplicationArgs) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput
type GetVolumeDataProtectionReplicationArray ¶
type GetVolumeDataProtectionReplicationArray []GetVolumeDataProtectionReplicationInput
func (GetVolumeDataProtectionReplicationArray) ElementType ¶
func (GetVolumeDataProtectionReplicationArray) ElementType() reflect.Type
func (GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutput ¶
func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput
func (GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutputWithContext ¶
func (i GetVolumeDataProtectionReplicationArray) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput
type GetVolumeDataProtectionReplicationArrayInput ¶
type GetVolumeDataProtectionReplicationArrayInput interface { pulumi.Input ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput ToGetVolumeDataProtectionReplicationArrayOutputWithContext(context.Context) GetVolumeDataProtectionReplicationArrayOutput }
GetVolumeDataProtectionReplicationArrayInput is an input type that accepts GetVolumeDataProtectionReplicationArray and GetVolumeDataProtectionReplicationArrayOutput values. You can construct a concrete instance of `GetVolumeDataProtectionReplicationArrayInput` via:
GetVolumeDataProtectionReplicationArray{ GetVolumeDataProtectionReplicationArgs{...} }
type GetVolumeDataProtectionReplicationArrayOutput ¶
type GetVolumeDataProtectionReplicationArrayOutput struct{ *pulumi.OutputState }
func (GetVolumeDataProtectionReplicationArrayOutput) ElementType ¶
func (GetVolumeDataProtectionReplicationArrayOutput) ElementType() reflect.Type
func (GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutput ¶
func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutput() GetVolumeDataProtectionReplicationArrayOutput
func (GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutputWithContext ¶
func (o GetVolumeDataProtectionReplicationArrayOutput) ToGetVolumeDataProtectionReplicationArrayOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationArrayOutput
type GetVolumeDataProtectionReplicationInput ¶
type GetVolumeDataProtectionReplicationInput interface { pulumi.Input ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput ToGetVolumeDataProtectionReplicationOutputWithContext(context.Context) GetVolumeDataProtectionReplicationOutput }
GetVolumeDataProtectionReplicationInput is an input type that accepts GetVolumeDataProtectionReplicationArgs and GetVolumeDataProtectionReplicationOutput values. You can construct a concrete instance of `GetVolumeDataProtectionReplicationInput` via:
GetVolumeDataProtectionReplicationArgs{...}
type GetVolumeDataProtectionReplicationOutput ¶
type GetVolumeDataProtectionReplicationOutput struct{ *pulumi.OutputState }
func (GetVolumeDataProtectionReplicationOutput) ElementType ¶
func (GetVolumeDataProtectionReplicationOutput) ElementType() reflect.Type
func (GetVolumeDataProtectionReplicationOutput) EndpointType ¶
func (o GetVolumeDataProtectionReplicationOutput) EndpointType() pulumi.StringOutput
The endpoint type.
func (GetVolumeDataProtectionReplicationOutput) RemoteVolumeLocation ¶
func (o GetVolumeDataProtectionReplicationOutput) RemoteVolumeLocation() pulumi.StringOutput
Location of the primary volume.
func (GetVolumeDataProtectionReplicationOutput) RemoteVolumeResourceId ¶
func (o GetVolumeDataProtectionReplicationOutput) RemoteVolumeResourceId() pulumi.StringOutput
Resource ID of the primary volume.
func (GetVolumeDataProtectionReplicationOutput) ReplicationFrequency ¶
func (o GetVolumeDataProtectionReplicationOutput) ReplicationFrequency() pulumi.StringOutput
Frequency of replication.
func (GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutput ¶
func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutput() GetVolumeDataProtectionReplicationOutput
func (GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutputWithContext ¶
func (o GetVolumeDataProtectionReplicationOutput) ToGetVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) GetVolumeDataProtectionReplicationOutput
type LookupAccountArgs ¶
type LookupAccountArgs struct { // The name of the NetApp Account. Name string `pulumi:"name"` // The Name of the Resource Group where the NetApp Account exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
type LookupAccountOutputArgs ¶
type LookupAccountOutputArgs struct { // The name of the NetApp Account. Name pulumi.StringInput `pulumi:"name"` // The Name of the Resource Group where the NetApp Account exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getAccount.
func (LookupAccountOutputArgs) ElementType ¶
func (LookupAccountOutputArgs) ElementType() reflect.Type
type LookupAccountResult ¶
type LookupAccountResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the NetApp Account exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of values returned by getAccount.
func LookupAccount ¶
func LookupAccount(ctx *pulumi.Context, args *LookupAccountArgs, opts ...pulumi.InvokeOption) (*LookupAccountResult, error)
Uses this data source to access information about an existing NetApp Account.
## NetApp Account Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := netapp.LookupAccount(ctx, &netapp.LookupAccountArgs{ ResourceGroupName: "acctestRG", Name: "acctestnetappaccount", }, nil) if err != nil { return err } ctx.Export("netappAccountId", example.Id) return nil }) }
```
type LookupAccountResultOutput ¶
type LookupAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccount.
func LookupAccountOutput ¶
func LookupAccountOutput(ctx *pulumi.Context, args LookupAccountOutputArgs, opts ...pulumi.InvokeOption) LookupAccountResultOutput
func (LookupAccountResultOutput) ElementType ¶
func (LookupAccountResultOutput) ElementType() reflect.Type
func (LookupAccountResultOutput) Id ¶
func (o LookupAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAccountResultOutput) Location ¶
func (o LookupAccountResultOutput) Location() pulumi.StringOutput
The Azure Region where the NetApp Account exists.
func (LookupAccountResultOutput) Name ¶
func (o LookupAccountResultOutput) Name() pulumi.StringOutput
func (LookupAccountResultOutput) ResourceGroupName ¶
func (o LookupAccountResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupAccountResultOutput) ToLookupAccountResultOutput ¶
func (o LookupAccountResultOutput) ToLookupAccountResultOutput() LookupAccountResultOutput
func (LookupAccountResultOutput) ToLookupAccountResultOutputWithContext ¶
func (o LookupAccountResultOutput) ToLookupAccountResultOutputWithContext(ctx context.Context) LookupAccountResultOutput
type LookupPoolArgs ¶
type LookupPoolArgs struct { // The name of the NetApp account where the NetApp pool exists. AccountName string `pulumi:"accountName"` // The name of the NetApp Pool. Name string `pulumi:"name"` // The Name of the Resource Group where the NetApp Pool exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getPool.
type LookupPoolOutputArgs ¶
type LookupPoolOutputArgs struct { // The name of the NetApp account where the NetApp pool exists. AccountName pulumi.StringInput `pulumi:"accountName"` // The name of the NetApp Pool. Name pulumi.StringInput `pulumi:"name"` // The Name of the Resource Group where the NetApp Pool exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getPool.
func (LookupPoolOutputArgs) ElementType ¶
func (LookupPoolOutputArgs) ElementType() reflect.Type
type LookupPoolResult ¶
type LookupPoolResult struct { AccountName string `pulumi:"accountName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the NetApp Pool exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The service level of the file system. ServiceLevel string `pulumi:"serviceLevel"` // Provisioned size of the pool in TB. SizeInTb int `pulumi:"sizeInTb"` }
A collection of values returned by getPool.
func LookupPool ¶
func LookupPool(ctx *pulumi.Context, args *LookupPoolArgs, opts ...pulumi.InvokeOption) (*LookupPoolResult, error)
Uses this data source to access information about an existing NetApp Pool.
## NetApp Pool Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := netapp.LookupPool(ctx, &netapp.LookupPoolArgs{ ResourceGroupName: "acctestRG", AccountName: "acctestnetappaccount", Name: "acctestnetapppool", }, nil) if err != nil { return err } ctx.Export("netappPoolId", example.Id) return nil }) }
```
type LookupPoolResultOutput ¶
type LookupPoolResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPool.
func LookupPoolOutput ¶
func LookupPoolOutput(ctx *pulumi.Context, args LookupPoolOutputArgs, opts ...pulumi.InvokeOption) LookupPoolResultOutput
func (LookupPoolResultOutput) AccountName ¶
func (o LookupPoolResultOutput) AccountName() pulumi.StringOutput
func (LookupPoolResultOutput) ElementType ¶
func (LookupPoolResultOutput) ElementType() reflect.Type
func (LookupPoolResultOutput) Id ¶
func (o LookupPoolResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupPoolResultOutput) Location ¶
func (o LookupPoolResultOutput) Location() pulumi.StringOutput
The Azure Region where the NetApp Pool exists.
func (LookupPoolResultOutput) Name ¶
func (o LookupPoolResultOutput) Name() pulumi.StringOutput
func (LookupPoolResultOutput) ResourceGroupName ¶
func (o LookupPoolResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupPoolResultOutput) ServiceLevel ¶
func (o LookupPoolResultOutput) ServiceLevel() pulumi.StringOutput
The service level of the file system.
func (LookupPoolResultOutput) SizeInTb ¶
func (o LookupPoolResultOutput) SizeInTb() pulumi.IntOutput
Provisioned size of the pool in TB.
func (LookupPoolResultOutput) ToLookupPoolResultOutput ¶
func (o LookupPoolResultOutput) ToLookupPoolResultOutput() LookupPoolResultOutput
func (LookupPoolResultOutput) ToLookupPoolResultOutputWithContext ¶
func (o LookupPoolResultOutput) ToLookupPoolResultOutputWithContext(ctx context.Context) LookupPoolResultOutput
type LookupSnapshotArgs ¶
type LookupSnapshotArgs struct { // The name of the NetApp Account where the NetApp Pool exists. AccountName string `pulumi:"accountName"` // The name of the NetApp Snapshot. Name string `pulumi:"name"` // The name of the NetApp Pool where the NetApp Volume exists. PoolName string `pulumi:"poolName"` // The Name of the Resource Group where the NetApp Snapshot exists. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the NetApp Volume where the NetApp Snapshot exists. VolumeName string `pulumi:"volumeName"` }
A collection of arguments for invoking getSnapshot.
type LookupSnapshotOutputArgs ¶
type LookupSnapshotOutputArgs struct { // The name of the NetApp Account where the NetApp Pool exists. AccountName pulumi.StringInput `pulumi:"accountName"` // The name of the NetApp Snapshot. Name pulumi.StringInput `pulumi:"name"` // The name of the NetApp Pool where the NetApp Volume exists. PoolName pulumi.StringInput `pulumi:"poolName"` // The Name of the Resource Group where the NetApp Snapshot exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The name of the NetApp Volume where the NetApp Snapshot exists. VolumeName pulumi.StringInput `pulumi:"volumeName"` }
A collection of arguments for invoking getSnapshot.
func (LookupSnapshotOutputArgs) ElementType ¶
func (LookupSnapshotOutputArgs) ElementType() reflect.Type
type LookupSnapshotPolicyArgs ¶
type LookupSnapshotPolicyArgs struct { // The name of the NetApp account where the NetApp Snapshot Policy exists. AccountName string `pulumi:"accountName"` // The name of the NetApp Snapshot Policy. Name string `pulumi:"name"` // The Name of the Resource Group where the NetApp Snapshot Policy exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getSnapshotPolicy.
type LookupSnapshotPolicyOutputArgs ¶
type LookupSnapshotPolicyOutputArgs struct { // The name of the NetApp account where the NetApp Snapshot Policy exists. AccountName pulumi.StringInput `pulumi:"accountName"` // The name of the NetApp Snapshot Policy. Name pulumi.StringInput `pulumi:"name"` // The Name of the Resource Group where the NetApp Snapshot Policy exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getSnapshotPolicy.
func (LookupSnapshotPolicyOutputArgs) ElementType ¶
func (LookupSnapshotPolicyOutputArgs) ElementType() reflect.Type
type LookupSnapshotPolicyResult ¶
type LookupSnapshotPolicyResult struct { // The name of the NetApp Account in which the NetApp Snapshot Policy was created. AccountName string `pulumi:"accountName"` // Daily snapshot schedule. DailySchedules []GetSnapshotPolicyDailySchedule `pulumi:"dailySchedules"` // Defines that the NetApp Snapshot Policy is enabled or not. Enabled bool `pulumi:"enabled"` // Hourly snapshot schedule. HourlySchedules []GetSnapshotPolicyHourlySchedule `pulumi:"hourlySchedules"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Specifies the supported Azure location where the resource exists. Location string `pulumi:"location"` // List of the days of the month when the snapshots will be created. MonthlySchedules []GetSnapshotPolicyMonthlySchedule `pulumi:"monthlySchedules"` // The name of the NetApp Snapshot Policy. Name string `pulumi:"name"` // The name of the resource group where the NetApp Snapshot Policy should be created. ResourceGroupName string `pulumi:"resourceGroupName"` Tags map[string]string `pulumi:"tags"` // Weekly snapshot schedule. WeeklySchedules []GetSnapshotPolicyWeeklySchedule `pulumi:"weeklySchedules"` }
A collection of values returned by getSnapshotPolicy.
func LookupSnapshotPolicy ¶
func LookupSnapshotPolicy(ctx *pulumi.Context, args *LookupSnapshotPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotPolicyResult, error)
Uses this data source to access information about an existing NetApp Snapshot Policy.
## NetApp Snapshot Policy Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := netapp.LookupSnapshotPolicy(ctx, &netapp.LookupSnapshotPolicyArgs{ ResourceGroupName: "acctestRG", AccountName: "acctestnetappaccount", Name: "example-snapshot-policy", }, nil) if err != nil { return err } ctx.Export("id", example.Id) ctx.Export("name", example.Name) ctx.Export("enabled", example.Enabled) ctx.Export("hourlySchedule", example.HourlySchedules) ctx.Export("dailySchedule", example.DailySchedules) ctx.Export("weeklySchedule", example.WeeklySchedules) ctx.Export("monthlySchedule", example.MonthlySchedules) return nil }) }
```
type LookupSnapshotPolicyResultOutput ¶
type LookupSnapshotPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshotPolicy.
func LookupSnapshotPolicyOutput ¶
func LookupSnapshotPolicyOutput(ctx *pulumi.Context, args LookupSnapshotPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotPolicyResultOutput
func (LookupSnapshotPolicyResultOutput) AccountName ¶
func (o LookupSnapshotPolicyResultOutput) AccountName() pulumi.StringOutput
The name of the NetApp Account in which the NetApp Snapshot Policy was created.
func (LookupSnapshotPolicyResultOutput) DailySchedules ¶
func (o LookupSnapshotPolicyResultOutput) DailySchedules() GetSnapshotPolicyDailyScheduleArrayOutput
Daily snapshot schedule.
func (LookupSnapshotPolicyResultOutput) ElementType ¶
func (LookupSnapshotPolicyResultOutput) ElementType() reflect.Type
func (LookupSnapshotPolicyResultOutput) Enabled ¶
func (o LookupSnapshotPolicyResultOutput) Enabled() pulumi.BoolOutput
Defines that the NetApp Snapshot Policy is enabled or not.
func (LookupSnapshotPolicyResultOutput) HourlySchedules ¶
func (o LookupSnapshotPolicyResultOutput) HourlySchedules() GetSnapshotPolicyHourlyScheduleArrayOutput
Hourly snapshot schedule.
func (LookupSnapshotPolicyResultOutput) Id ¶
func (o LookupSnapshotPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSnapshotPolicyResultOutput) Location ¶
func (o LookupSnapshotPolicyResultOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists.
func (LookupSnapshotPolicyResultOutput) MonthlySchedules ¶
func (o LookupSnapshotPolicyResultOutput) MonthlySchedules() GetSnapshotPolicyMonthlyScheduleArrayOutput
List of the days of the month when the snapshots will be created.
func (LookupSnapshotPolicyResultOutput) Name ¶
func (o LookupSnapshotPolicyResultOutput) Name() pulumi.StringOutput
The name of the NetApp Snapshot Policy.
func (LookupSnapshotPolicyResultOutput) ResourceGroupName ¶
func (o LookupSnapshotPolicyResultOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group where the NetApp Snapshot Policy should be created.
func (LookupSnapshotPolicyResultOutput) Tags ¶
func (o LookupSnapshotPolicyResultOutput) Tags() pulumi.StringMapOutput
func (LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutput ¶
func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutput() LookupSnapshotPolicyResultOutput
func (LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutputWithContext ¶
func (o LookupSnapshotPolicyResultOutput) ToLookupSnapshotPolicyResultOutputWithContext(ctx context.Context) LookupSnapshotPolicyResultOutput
func (LookupSnapshotPolicyResultOutput) WeeklySchedules ¶
func (o LookupSnapshotPolicyResultOutput) WeeklySchedules() GetSnapshotPolicyWeeklyScheduleArrayOutput
Weekly snapshot schedule.
type LookupSnapshotResult ¶
type LookupSnapshotResult struct { AccountName string `pulumi:"accountName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the NetApp Snapshot exists. Location string `pulumi:"location"` Name string `pulumi:"name"` PoolName string `pulumi:"poolName"` ResourceGroupName string `pulumi:"resourceGroupName"` VolumeName string `pulumi:"volumeName"` }
A collection of values returned by getSnapshot.
func LookupSnapshot ¶
func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)
Uses this data source to access information about an existing NetApp Snapshot.
## NetApp Snapshot Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := netapp.LookupSnapshot(ctx, &netapp.LookupSnapshotArgs{ ResourceGroupName: "acctestRG", Name: "acctestnetappsnapshot", AccountName: "acctestnetappaccount", PoolName: "acctestnetapppool", VolumeName: "acctestnetappvolume", }, nil) if err != nil { return err } ctx.Export("netappSnapshotId", data.Azurerm_netapp_snapshot.Example.Id) return nil }) }
```
type LookupSnapshotResultOutput ¶
type LookupSnapshotResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshot.
func LookupSnapshotOutput ¶
func LookupSnapshotOutput(ctx *pulumi.Context, args LookupSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) AccountName ¶
func (o LookupSnapshotResultOutput) AccountName() pulumi.StringOutput
func (LookupSnapshotResultOutput) ElementType ¶
func (LookupSnapshotResultOutput) ElementType() reflect.Type
func (LookupSnapshotResultOutput) Id ¶
func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSnapshotResultOutput) Location ¶
func (o LookupSnapshotResultOutput) Location() pulumi.StringOutput
The Azure Region where the NetApp Snapshot exists.
func (LookupSnapshotResultOutput) Name ¶
func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
func (LookupSnapshotResultOutput) PoolName ¶
func (o LookupSnapshotResultOutput) PoolName() pulumi.StringOutput
func (LookupSnapshotResultOutput) ResourceGroupName ¶
func (o LookupSnapshotResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) VolumeName ¶
func (o LookupSnapshotResultOutput) VolumeName() pulumi.StringOutput
type LookupVolumeArgs ¶
type LookupVolumeArgs struct { // The name of the NetApp account where the NetApp pool exists. AccountName string `pulumi:"accountName"` // The name of the NetApp Volume. Name string `pulumi:"name"` // The name of the NetApp pool where the NetApp volume exists. PoolName string `pulumi:"poolName"` // The Name of the Resource Group where the NetApp Volume exists. ResourceGroupName string `pulumi:"resourceGroupName"` // Volume security style SecurityStyle *string `pulumi:"securityStyle"` }
A collection of arguments for invoking getVolume.
type LookupVolumeOutputArgs ¶
type LookupVolumeOutputArgs struct { // The name of the NetApp account where the NetApp pool exists. AccountName pulumi.StringInput `pulumi:"accountName"` // The name of the NetApp Volume. Name pulumi.StringInput `pulumi:"name"` // The name of the NetApp pool where the NetApp volume exists. PoolName pulumi.StringInput `pulumi:"poolName"` // The Name of the Resource Group where the NetApp Volume exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // Volume security style SecurityStyle pulumi.StringPtrInput `pulumi:"securityStyle"` }
A collection of arguments for invoking getVolume.
func (LookupVolumeOutputArgs) ElementType ¶
func (LookupVolumeOutputArgs) ElementType() reflect.Type
type LookupVolumeResult ¶
type LookupVolumeResult struct { AccountName string `pulumi:"accountName"` // Volume data protection block // * DataProtectionReplications []GetVolumeDataProtectionReplication `pulumi:"dataProtectionReplications"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the NetApp Volume exists. Location string `pulumi:"location"` // A list of IPv4 Addresses which should be used to mount the volume. MountIpAddresses []string `pulumi:"mountIpAddresses"` Name string `pulumi:"name"` PoolName string `pulumi:"poolName"` // A list of protocol types enabled on volume. Protocols []string `pulumi:"protocols"` ResourceGroupName string `pulumi:"resourceGroupName"` // Volume security style SecurityStyle *string `pulumi:"securityStyle"` // The service level of the file system. ServiceLevel string `pulumi:"serviceLevel"` // The maximum Storage Quota in Gigabytes allowed for a file system. StorageQuotaInGb int `pulumi:"storageQuotaInGb"` // The ID of a Subnet in which the NetApp Volume resides. SubnetId string `pulumi:"subnetId"` // The unique file path of the volume. VolumePath string `pulumi:"volumePath"` }
A collection of values returned by getVolume.
func LookupVolume ¶
func LookupVolume(ctx *pulumi.Context, args *LookupVolumeArgs, opts ...pulumi.InvokeOption) (*LookupVolumeResult, error)
Uses this data source to access information about an existing NetApp Volume.
## NetApp Volume Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := netapp.LookupVolume(ctx, &netapp.LookupVolumeArgs{ ResourceGroupName: "acctestRG", AccountName: "acctestnetappaccount", PoolName: "acctestnetapppool", Name: "example-volume", }, nil) if err != nil { return err } ctx.Export("netappVolumeId", example.Id) return nil }) }
```
type LookupVolumeResultOutput ¶
type LookupVolumeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVolume.
func LookupVolumeOutput ¶
func LookupVolumeOutput(ctx *pulumi.Context, args LookupVolumeOutputArgs, opts ...pulumi.InvokeOption) LookupVolumeResultOutput
func (LookupVolumeResultOutput) AccountName ¶
func (o LookupVolumeResultOutput) AccountName() pulumi.StringOutput
func (LookupVolumeResultOutput) DataProtectionReplications ¶
func (o LookupVolumeResultOutput) DataProtectionReplications() GetVolumeDataProtectionReplicationArrayOutput
Volume data protection block *
func (LookupVolumeResultOutput) ElementType ¶
func (LookupVolumeResultOutput) ElementType() reflect.Type
func (LookupVolumeResultOutput) Id ¶
func (o LookupVolumeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVolumeResultOutput) Location ¶
func (o LookupVolumeResultOutput) Location() pulumi.StringOutput
The Azure Region where the NetApp Volume exists.
func (LookupVolumeResultOutput) MountIpAddresses ¶
func (o LookupVolumeResultOutput) MountIpAddresses() pulumi.StringArrayOutput
A list of IPv4 Addresses which should be used to mount the volume.
func (LookupVolumeResultOutput) Name ¶
func (o LookupVolumeResultOutput) Name() pulumi.StringOutput
func (LookupVolumeResultOutput) PoolName ¶
func (o LookupVolumeResultOutput) PoolName() pulumi.StringOutput
func (LookupVolumeResultOutput) Protocols ¶
func (o LookupVolumeResultOutput) Protocols() pulumi.StringArrayOutput
A list of protocol types enabled on volume.
func (LookupVolumeResultOutput) ResourceGroupName ¶
func (o LookupVolumeResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupVolumeResultOutput) SecurityStyle ¶
func (o LookupVolumeResultOutput) SecurityStyle() pulumi.StringPtrOutput
Volume security style
func (LookupVolumeResultOutput) ServiceLevel ¶
func (o LookupVolumeResultOutput) ServiceLevel() pulumi.StringOutput
The service level of the file system.
func (LookupVolumeResultOutput) StorageQuotaInGb ¶
func (o LookupVolumeResultOutput) StorageQuotaInGb() pulumi.IntOutput
The maximum Storage Quota in Gigabytes allowed for a file system.
func (LookupVolumeResultOutput) SubnetId ¶
func (o LookupVolumeResultOutput) SubnetId() pulumi.StringOutput
The ID of a Subnet in which the NetApp Volume resides.
func (LookupVolumeResultOutput) ToLookupVolumeResultOutput ¶
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutput() LookupVolumeResultOutput
func (LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext ¶
func (o LookupVolumeResultOutput) ToLookupVolumeResultOutputWithContext(ctx context.Context) LookupVolumeResultOutput
func (LookupVolumeResultOutput) VolumePath ¶
func (o LookupVolumeResultOutput) VolumePath() pulumi.StringOutput
The unique file path of the volume.
type Pool ¶
type Pool struct { pulumi.CustomResourceState // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the NetApp Pool. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // QoS Type of the pool. Valid values include `Auto` or `Manual`. QosType pulumi.StringOutput `pulumi:"qosType"` // The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. Changing this forces a new resource to be created. ServiceLevel pulumi.StringOutput `pulumi:"serviceLevel"` // Provisioned size of the pool in TB. Value must be between `4` and `500`. SizeInTb pulumi.IntOutput `pulumi:"sizeInTb"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Pool within a NetApp Account.
## NetApp Pool Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/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 } exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{ AccountName: exampleAccount.Name, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ServiceLevel: pulumi.String("Premium"), SizeInTb: pulumi.Int(4), }) if err != nil { return err } return nil }) }
```
## Import
NetApp Pool can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:netapp/pool:Pool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1
```
func GetPool ¶
func GetPool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PoolState, opts ...pulumi.ResourceOption) (*Pool, error)
GetPool gets an existing Pool 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 NewPool ¶
func NewPool(ctx *pulumi.Context, name string, args *PoolArgs, opts ...pulumi.ResourceOption) (*Pool, error)
NewPool registers a new resource with the given unique name, arguments, and options.
func (*Pool) ElementType ¶
func (*Pool) ToPoolOutput ¶
func (i *Pool) ToPoolOutput() PoolOutput
func (*Pool) ToPoolOutputWithContext ¶
func (i *Pool) ToPoolOutputWithContext(ctx context.Context) PoolOutput
type PoolArgs ¶
type PoolArgs struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Pool. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // QoS Type of the pool. Valid values include `Auto` or `Manual`. QosType pulumi.StringPtrInput // The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. Changing this forces a new resource to be created. ServiceLevel pulumi.StringInput // Provisioned size of the pool in TB. Value must be between `4` and `500`. SizeInTb pulumi.IntInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Pool resource.
func (PoolArgs) ElementType ¶
type PoolArray ¶
type PoolArray []PoolInput
func (PoolArray) ElementType ¶
func (PoolArray) ToPoolArrayOutput ¶
func (i PoolArray) ToPoolArrayOutput() PoolArrayOutput
func (PoolArray) ToPoolArrayOutputWithContext ¶
func (i PoolArray) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput
type PoolArrayInput ¶
type PoolArrayInput interface { pulumi.Input ToPoolArrayOutput() PoolArrayOutput ToPoolArrayOutputWithContext(context.Context) PoolArrayOutput }
PoolArrayInput is an input type that accepts PoolArray and PoolArrayOutput values. You can construct a concrete instance of `PoolArrayInput` via:
PoolArray{ PoolArgs{...} }
type PoolArrayOutput ¶
type PoolArrayOutput struct{ *pulumi.OutputState }
func (PoolArrayOutput) ElementType ¶
func (PoolArrayOutput) ElementType() reflect.Type
func (PoolArrayOutput) Index ¶
func (o PoolArrayOutput) Index(i pulumi.IntInput) PoolOutput
func (PoolArrayOutput) ToPoolArrayOutput ¶
func (o PoolArrayOutput) ToPoolArrayOutput() PoolArrayOutput
func (PoolArrayOutput) ToPoolArrayOutputWithContext ¶
func (o PoolArrayOutput) ToPoolArrayOutputWithContext(ctx context.Context) PoolArrayOutput
type PoolInput ¶
type PoolInput interface { pulumi.Input ToPoolOutput() PoolOutput ToPoolOutputWithContext(ctx context.Context) PoolOutput }
type PoolMap ¶
func (PoolMap) ElementType ¶
func (PoolMap) ToPoolMapOutput ¶
func (i PoolMap) ToPoolMapOutput() PoolMapOutput
func (PoolMap) ToPoolMapOutputWithContext ¶
func (i PoolMap) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput
type PoolMapInput ¶
type PoolMapInput interface { pulumi.Input ToPoolMapOutput() PoolMapOutput ToPoolMapOutputWithContext(context.Context) PoolMapOutput }
PoolMapInput is an input type that accepts PoolMap and PoolMapOutput values. You can construct a concrete instance of `PoolMapInput` via:
PoolMap{ "key": PoolArgs{...} }
type PoolMapOutput ¶
type PoolMapOutput struct{ *pulumi.OutputState }
func (PoolMapOutput) ElementType ¶
func (PoolMapOutput) ElementType() reflect.Type
func (PoolMapOutput) MapIndex ¶
func (o PoolMapOutput) MapIndex(k pulumi.StringInput) PoolOutput
func (PoolMapOutput) ToPoolMapOutput ¶
func (o PoolMapOutput) ToPoolMapOutput() PoolMapOutput
func (PoolMapOutput) ToPoolMapOutputWithContext ¶
func (o PoolMapOutput) ToPoolMapOutputWithContext(ctx context.Context) PoolMapOutput
type PoolOutput ¶
type PoolOutput struct{ *pulumi.OutputState }
func (PoolOutput) ElementType ¶
func (PoolOutput) ElementType() reflect.Type
func (PoolOutput) ToPoolOutput ¶
func (o PoolOutput) ToPoolOutput() PoolOutput
func (PoolOutput) ToPoolOutputWithContext ¶
func (o PoolOutput) ToPoolOutputWithContext(ctx context.Context) PoolOutput
type PoolState ¶
type PoolState struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Pool. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // QoS Type of the pool. Valid values include `Auto` or `Manual`. QosType pulumi.StringPtrInput // The name of the resource group where the NetApp Pool should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The service level of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. Changing this forces a new resource to be created. ServiceLevel pulumi.StringPtrInput // Provisioned size of the pool in TB. Value must be between `4` and `500`. SizeInTb pulumi.IntPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
func (PoolState) ElementType ¶
type Snapshot ¶
type Snapshot struct { pulumi.CustomResourceState // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the NetApp Snapshot. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringOutput `pulumi:"poolName"` // The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created. VolumeName pulumi.StringOutput `pulumi:"volumeName"` }
Manages a NetApp Snapshot.
## NetApp Snapshot Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi/sdk/v3/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 } _, err = network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.2.0/24"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("netapp"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Name: pulumi.String("Microsoft.Netapp/volumes"), Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/networkinterfaces/*"), pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, }, }, }, }) if err != nil { return err } exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } examplePool, err := netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{ AccountName: exampleAccount.Name, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, ServiceLevel: pulumi.String("Premium"), SizeInTb: pulumi.Int(4), }) if err != nil { return err } exampleVolume, err := netapp.NewVolume(ctx, "exampleVolume", &netapp.VolumeArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, PoolName: examplePool.Name, VolumePath: pulumi.String("my-unique-file-path"), ServiceLevel: pulumi.String("Premium"), SubnetId: pulumi.Any(azurerm_subnet.Test.Id), StorageQuotaInGb: pulumi.Int(100), }) if err != nil { return err } _, err = netapp.NewSnapshot(ctx, "exampleSnapshot", &netapp.SnapshotArgs{ AccountName: exampleAccount.Name, PoolName: examplePool.Name, VolumeName: exampleVolume.Name, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
NetApp Snapshot can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:netapp/snapshot:Snapshot example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1
```
func GetSnapshot ¶
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)
GetSnapshot gets an existing Snapshot 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 NewSnapshot ¶
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) ElementType ¶
func (*Snapshot) ToSnapshotOutput ¶
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶
type SnapshotArgs struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Snapshot. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringInput // The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created. VolumeName pulumi.StringInput }
The set of arguments for constructing a Snapshot resource.
func (SnapshotArgs) ElementType ¶
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶
type SnapshotArrayInput interface { pulumi.Input ToSnapshotArrayOutput() SnapshotArrayOutput ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput }
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:
SnapshotArray{ SnapshotArgs{...} }
type SnapshotArrayOutput ¶
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotInput ¶
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶
type SnapshotMapInput interface { pulumi.Input ToSnapshotMapOutput() SnapshotMapOutput ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput }
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:
SnapshotMap{ "key": SnapshotArgs{...} }
type SnapshotMapOutput ¶
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) ElementType ¶
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) ToSnapshotOutput ¶
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotPolicy ¶
type SnapshotPolicy struct { pulumi.CustomResourceState // The name of the NetApp Account in which the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // Sets a daily snapshot schedule. See details in below `dailySchedule` block. DailySchedule SnapshotPolicyDailyScheduleOutput `pulumi:"dailySchedule"` // Defines that the NetApp Snapshot Policy is enabled or not. Enabled pulumi.BoolOutput `pulumi:"enabled"` // Sets an hourly snapshot schedule. See details in below `hourlySchedule` block. HourlySchedule SnapshotPolicyHourlyScheduleOutput `pulumi:"hourlySchedule"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Sets a monthly snapshot schedule. See details in below `monthlySchedule` block. MonthlySchedule SnapshotPolicyMonthlyScheduleOutput `pulumi:"monthlySchedule"` // The name of the NetApp Snapshot Policy. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group where the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` Tags pulumi.StringMapOutput `pulumi:"tags"` // Sets a weekly snapshot schedule. See details in below `weeklySchedule` block. WeeklySchedule SnapshotPolicyWeeklyScheduleOutput `pulumi:"weeklySchedule"` }
Manages a NetApp Snapshot Policy.
## NetApp Snapshot Policy Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("East US"), }) if err != nil { return err } exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = netapp.NewSnapshotPolicy(ctx, "exampleSnapshotPolicy", &netapp.SnapshotPolicyArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, Enabled: pulumi.Bool(true), HourlySchedule: &netapp.SnapshotPolicyHourlyScheduleArgs{ SnapshotsToKeep: pulumi.Int(4), Minute: pulumi.Int(15), }, DailySchedule: &netapp.SnapshotPolicyDailyScheduleArgs{ SnapshotsToKeep: pulumi.Int(2), Hour: pulumi.Int(20), Minute: pulumi.Int(15), }, WeeklySchedule: &netapp.SnapshotPolicyWeeklyScheduleArgs{ SnapshotsToKeep: pulumi.Int(1), DaysOfWeeks: pulumi.StringArray{ pulumi.String("Monday"), pulumi.String("Friday"), }, Hour: pulumi.Int(23), Minute: pulumi.Int(0), }, MonthlySchedule: &netapp.SnapshotPolicyMonthlyScheduleArgs{ SnapshotsToKeep: pulumi.Int(1), DaysOfMonths: pulumi.IntArray{ pulumi.Int(1), pulumi.Int(15), pulumi.Int(20), pulumi.Int(30), }, Hour: pulumi.Int(5), Minute: pulumi.Int(45), }, }) if err != nil { return err } return nil }) }
```
## Import
NetApp Snapshot Policy can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:netapp/snapshotPolicy:SnapshotPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotpolicy1
```
func GetSnapshotPolicy ¶
func GetSnapshotPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotPolicyState, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
GetSnapshotPolicy gets an existing SnapshotPolicy 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 NewSnapshotPolicy ¶
func NewSnapshotPolicy(ctx *pulumi.Context, name string, args *SnapshotPolicyArgs, opts ...pulumi.ResourceOption) (*SnapshotPolicy, error)
NewSnapshotPolicy registers a new resource with the given unique name, arguments, and options.
func (*SnapshotPolicy) ElementType ¶
func (*SnapshotPolicy) ElementType() reflect.Type
func (*SnapshotPolicy) ToSnapshotPolicyOutput ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (*SnapshotPolicy) ToSnapshotPolicyOutputWithContext ¶
func (i *SnapshotPolicy) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyArgs ¶
type SnapshotPolicyArgs struct { // The name of the NetApp Account in which the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. AccountName pulumi.StringInput // Sets a daily snapshot schedule. See details in below `dailySchedule` block. DailySchedule SnapshotPolicyDailySchedulePtrInput // Defines that the NetApp Snapshot Policy is enabled or not. Enabled pulumi.BoolInput // Sets an hourly snapshot schedule. See details in below `hourlySchedule` block. HourlySchedule SnapshotPolicyHourlySchedulePtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Sets a monthly snapshot schedule. See details in below `monthlySchedule` block. MonthlySchedule SnapshotPolicyMonthlySchedulePtrInput // The name of the NetApp Snapshot Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput Tags pulumi.StringMapInput // Sets a weekly snapshot schedule. See details in below `weeklySchedule` block. WeeklySchedule SnapshotPolicyWeeklySchedulePtrInput }
The set of arguments for constructing a SnapshotPolicy resource.
func (SnapshotPolicyArgs) ElementType ¶
func (SnapshotPolicyArgs) ElementType() reflect.Type
type SnapshotPolicyArray ¶
type SnapshotPolicyArray []SnapshotPolicyInput
func (SnapshotPolicyArray) ElementType ¶
func (SnapshotPolicyArray) ElementType() reflect.Type
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutput ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext ¶
func (i SnapshotPolicyArray) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyArrayInput ¶
type SnapshotPolicyArrayInput interface { pulumi.Input ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput ToSnapshotPolicyArrayOutputWithContext(context.Context) SnapshotPolicyArrayOutput }
SnapshotPolicyArrayInput is an input type that accepts SnapshotPolicyArray and SnapshotPolicyArrayOutput values. You can construct a concrete instance of `SnapshotPolicyArrayInput` via:
SnapshotPolicyArray{ SnapshotPolicyArgs{...} }
type SnapshotPolicyArrayOutput ¶
type SnapshotPolicyArrayOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyArrayOutput) ElementType ¶
func (SnapshotPolicyArrayOutput) ElementType() reflect.Type
func (SnapshotPolicyArrayOutput) Index ¶
func (o SnapshotPolicyArrayOutput) Index(i pulumi.IntInput) SnapshotPolicyOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutput() SnapshotPolicyArrayOutput
func (SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext ¶
func (o SnapshotPolicyArrayOutput) ToSnapshotPolicyArrayOutputWithContext(ctx context.Context) SnapshotPolicyArrayOutput
type SnapshotPolicyDailySchedule ¶
type SnapshotPolicyDailySchedule struct { // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour int `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute int `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep int `pulumi:"snapshotsToKeep"` }
type SnapshotPolicyDailyScheduleArgs ¶
type SnapshotPolicyDailyScheduleArgs struct { // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (SnapshotPolicyDailyScheduleArgs) ElementType ¶
func (SnapshotPolicyDailyScheduleArgs) ElementType() reflect.Type
func (SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutput ¶
func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutput() SnapshotPolicyDailyScheduleOutput
func (SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutputWithContext ¶
func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyDailyScheduleOutput
func (SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutput ¶
func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
func (SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutputWithContext ¶
func (i SnapshotPolicyDailyScheduleArgs) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
type SnapshotPolicyDailyScheduleInput ¶
type SnapshotPolicyDailyScheduleInput interface { pulumi.Input ToSnapshotPolicyDailyScheduleOutput() SnapshotPolicyDailyScheduleOutput ToSnapshotPolicyDailyScheduleOutputWithContext(context.Context) SnapshotPolicyDailyScheduleOutput }
SnapshotPolicyDailyScheduleInput is an input type that accepts SnapshotPolicyDailyScheduleArgs and SnapshotPolicyDailyScheduleOutput values. You can construct a concrete instance of `SnapshotPolicyDailyScheduleInput` via:
SnapshotPolicyDailyScheduleArgs{...}
type SnapshotPolicyDailyScheduleOutput ¶
type SnapshotPolicyDailyScheduleOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyDailyScheduleOutput) ElementType ¶
func (SnapshotPolicyDailyScheduleOutput) ElementType() reflect.Type
func (SnapshotPolicyDailyScheduleOutput) Hour ¶
func (o SnapshotPolicyDailyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyDailyScheduleOutput) Minute ¶
func (o SnapshotPolicyDailyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyDailyScheduleOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyDailyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutput ¶
func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutput() SnapshotPolicyDailyScheduleOutput
func (SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutputWithContext ¶
func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyDailyScheduleOutput
func (SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutput ¶
func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
func (SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyDailyScheduleOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
type SnapshotPolicyDailySchedulePtrInput ¶
type SnapshotPolicyDailySchedulePtrInput interface { pulumi.Input ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput ToSnapshotPolicyDailySchedulePtrOutputWithContext(context.Context) SnapshotPolicyDailySchedulePtrOutput }
SnapshotPolicyDailySchedulePtrInput is an input type that accepts SnapshotPolicyDailyScheduleArgs, SnapshotPolicyDailySchedulePtr and SnapshotPolicyDailySchedulePtrOutput values. You can construct a concrete instance of `SnapshotPolicyDailySchedulePtrInput` via:
SnapshotPolicyDailyScheduleArgs{...} or: nil
func SnapshotPolicyDailySchedulePtr ¶
func SnapshotPolicyDailySchedulePtr(v *SnapshotPolicyDailyScheduleArgs) SnapshotPolicyDailySchedulePtrInput
type SnapshotPolicyDailySchedulePtrOutput ¶
type SnapshotPolicyDailySchedulePtrOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyDailySchedulePtrOutput) ElementType ¶
func (SnapshotPolicyDailySchedulePtrOutput) ElementType() reflect.Type
func (SnapshotPolicyDailySchedulePtrOutput) Hour ¶
func (o SnapshotPolicyDailySchedulePtrOutput) Hour() pulumi.IntPtrOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyDailySchedulePtrOutput) Minute ¶
func (o SnapshotPolicyDailySchedulePtrOutput) Minute() pulumi.IntPtrOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyDailySchedulePtrOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyDailySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutput ¶
func (o SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutput() SnapshotPolicyDailySchedulePtrOutput
func (SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyDailySchedulePtrOutput) ToSnapshotPolicyDailySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyDailySchedulePtrOutput
type SnapshotPolicyHourlyScheduleArgs ¶
type SnapshotPolicyHourlyScheduleArgs struct { // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (SnapshotPolicyHourlyScheduleArgs) ElementType ¶
func (SnapshotPolicyHourlyScheduleArgs) ElementType() reflect.Type
func (SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutput ¶
func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutput() SnapshotPolicyHourlyScheduleOutput
func (SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutputWithContext ¶
func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyHourlyScheduleOutput
func (SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutput ¶
func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
func (SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutputWithContext ¶
func (i SnapshotPolicyHourlyScheduleArgs) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
type SnapshotPolicyHourlyScheduleInput ¶
type SnapshotPolicyHourlyScheduleInput interface { pulumi.Input ToSnapshotPolicyHourlyScheduleOutput() SnapshotPolicyHourlyScheduleOutput ToSnapshotPolicyHourlyScheduleOutputWithContext(context.Context) SnapshotPolicyHourlyScheduleOutput }
SnapshotPolicyHourlyScheduleInput is an input type that accepts SnapshotPolicyHourlyScheduleArgs and SnapshotPolicyHourlyScheduleOutput values. You can construct a concrete instance of `SnapshotPolicyHourlyScheduleInput` via:
SnapshotPolicyHourlyScheduleArgs{...}
type SnapshotPolicyHourlyScheduleOutput ¶
type SnapshotPolicyHourlyScheduleOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyHourlyScheduleOutput) ElementType ¶
func (SnapshotPolicyHourlyScheduleOutput) ElementType() reflect.Type
func (SnapshotPolicyHourlyScheduleOutput) Minute ¶
func (o SnapshotPolicyHourlyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyHourlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutput ¶
func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutput() SnapshotPolicyHourlyScheduleOutput
func (SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutputWithContext ¶
func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyHourlyScheduleOutput
func (SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutput ¶
func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
func (SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyHourlyScheduleOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
type SnapshotPolicyHourlySchedulePtrInput ¶
type SnapshotPolicyHourlySchedulePtrInput interface { pulumi.Input ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput ToSnapshotPolicyHourlySchedulePtrOutputWithContext(context.Context) SnapshotPolicyHourlySchedulePtrOutput }
SnapshotPolicyHourlySchedulePtrInput is an input type that accepts SnapshotPolicyHourlyScheduleArgs, SnapshotPolicyHourlySchedulePtr and SnapshotPolicyHourlySchedulePtrOutput values. You can construct a concrete instance of `SnapshotPolicyHourlySchedulePtrInput` via:
SnapshotPolicyHourlyScheduleArgs{...} or: nil
func SnapshotPolicyHourlySchedulePtr ¶
func SnapshotPolicyHourlySchedulePtr(v *SnapshotPolicyHourlyScheduleArgs) SnapshotPolicyHourlySchedulePtrInput
type SnapshotPolicyHourlySchedulePtrOutput ¶
type SnapshotPolicyHourlySchedulePtrOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyHourlySchedulePtrOutput) ElementType ¶
func (SnapshotPolicyHourlySchedulePtrOutput) ElementType() reflect.Type
func (SnapshotPolicyHourlySchedulePtrOutput) Minute ¶
func (o SnapshotPolicyHourlySchedulePtrOutput) Minute() pulumi.IntPtrOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyHourlySchedulePtrOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyHourlySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutput ¶
func (o SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutput() SnapshotPolicyHourlySchedulePtrOutput
func (SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyHourlySchedulePtrOutput) ToSnapshotPolicyHourlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyHourlySchedulePtrOutput
type SnapshotPolicyInput ¶
type SnapshotPolicyInput interface { pulumi.Input ToSnapshotPolicyOutput() SnapshotPolicyOutput ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput }
type SnapshotPolicyMap ¶
type SnapshotPolicyMap map[string]SnapshotPolicyInput
func (SnapshotPolicyMap) ElementType ¶
func (SnapshotPolicyMap) ElementType() reflect.Type
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutput ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext ¶
func (i SnapshotPolicyMap) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyMapInput ¶
type SnapshotPolicyMapInput interface { pulumi.Input ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput ToSnapshotPolicyMapOutputWithContext(context.Context) SnapshotPolicyMapOutput }
SnapshotPolicyMapInput is an input type that accepts SnapshotPolicyMap and SnapshotPolicyMapOutput values. You can construct a concrete instance of `SnapshotPolicyMapInput` via:
SnapshotPolicyMap{ "key": SnapshotPolicyArgs{...} }
type SnapshotPolicyMapOutput ¶
type SnapshotPolicyMapOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyMapOutput) ElementType ¶
func (SnapshotPolicyMapOutput) ElementType() reflect.Type
func (SnapshotPolicyMapOutput) MapIndex ¶
func (o SnapshotPolicyMapOutput) MapIndex(k pulumi.StringInput) SnapshotPolicyOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutput() SnapshotPolicyMapOutput
func (SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext ¶
func (o SnapshotPolicyMapOutput) ToSnapshotPolicyMapOutputWithContext(ctx context.Context) SnapshotPolicyMapOutput
type SnapshotPolicyMonthlySchedule ¶
type SnapshotPolicyMonthlySchedule struct { DaysOfMonths []int `pulumi:"daysOfMonths"` // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour int `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute int `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep int `pulumi:"snapshotsToKeep"` }
type SnapshotPolicyMonthlyScheduleArgs ¶
type SnapshotPolicyMonthlyScheduleArgs struct { DaysOfMonths pulumi.IntArrayInput `pulumi:"daysOfMonths"` // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (SnapshotPolicyMonthlyScheduleArgs) ElementType ¶
func (SnapshotPolicyMonthlyScheduleArgs) ElementType() reflect.Type
func (SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutput ¶
func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutput() SnapshotPolicyMonthlyScheduleOutput
func (SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutputWithContext ¶
func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyMonthlyScheduleOutput
func (SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutput ¶
func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
func (SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext ¶
func (i SnapshotPolicyMonthlyScheduleArgs) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
type SnapshotPolicyMonthlyScheduleInput ¶
type SnapshotPolicyMonthlyScheduleInput interface { pulumi.Input ToSnapshotPolicyMonthlyScheduleOutput() SnapshotPolicyMonthlyScheduleOutput ToSnapshotPolicyMonthlyScheduleOutputWithContext(context.Context) SnapshotPolicyMonthlyScheduleOutput }
SnapshotPolicyMonthlyScheduleInput is an input type that accepts SnapshotPolicyMonthlyScheduleArgs and SnapshotPolicyMonthlyScheduleOutput values. You can construct a concrete instance of `SnapshotPolicyMonthlyScheduleInput` via:
SnapshotPolicyMonthlyScheduleArgs{...}
type SnapshotPolicyMonthlyScheduleOutput ¶
type SnapshotPolicyMonthlyScheduleOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyMonthlyScheduleOutput) DaysOfMonths ¶
func (o SnapshotPolicyMonthlyScheduleOutput) DaysOfMonths() pulumi.IntArrayOutput
func (SnapshotPolicyMonthlyScheduleOutput) ElementType ¶
func (SnapshotPolicyMonthlyScheduleOutput) ElementType() reflect.Type
func (SnapshotPolicyMonthlyScheduleOutput) Hour ¶
func (o SnapshotPolicyMonthlyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyMonthlyScheduleOutput) Minute ¶
func (o SnapshotPolicyMonthlyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyMonthlyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutput ¶
func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutput() SnapshotPolicyMonthlyScheduleOutput
func (SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutputWithContext ¶
func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyMonthlyScheduleOutput
func (SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutput ¶
func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
func (SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyMonthlyScheduleOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
type SnapshotPolicyMonthlySchedulePtrInput ¶
type SnapshotPolicyMonthlySchedulePtrInput interface { pulumi.Input ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(context.Context) SnapshotPolicyMonthlySchedulePtrOutput }
SnapshotPolicyMonthlySchedulePtrInput is an input type that accepts SnapshotPolicyMonthlyScheduleArgs, SnapshotPolicyMonthlySchedulePtr and SnapshotPolicyMonthlySchedulePtrOutput values. You can construct a concrete instance of `SnapshotPolicyMonthlySchedulePtrInput` via:
SnapshotPolicyMonthlyScheduleArgs{...} or: nil
func SnapshotPolicyMonthlySchedulePtr ¶
func SnapshotPolicyMonthlySchedulePtr(v *SnapshotPolicyMonthlyScheduleArgs) SnapshotPolicyMonthlySchedulePtrInput
type SnapshotPolicyMonthlySchedulePtrOutput ¶
type SnapshotPolicyMonthlySchedulePtrOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyMonthlySchedulePtrOutput) DaysOfMonths ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) DaysOfMonths() pulumi.IntArrayOutput
func (SnapshotPolicyMonthlySchedulePtrOutput) ElementType ¶
func (SnapshotPolicyMonthlySchedulePtrOutput) ElementType() reflect.Type
func (SnapshotPolicyMonthlySchedulePtrOutput) Hour ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) Hour() pulumi.IntPtrOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyMonthlySchedulePtrOutput) Minute ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) Minute() pulumi.IntPtrOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyMonthlySchedulePtrOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutput ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutput() SnapshotPolicyMonthlySchedulePtrOutput
func (SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyMonthlySchedulePtrOutput) ToSnapshotPolicyMonthlySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyMonthlySchedulePtrOutput
type SnapshotPolicyOutput ¶
type SnapshotPolicyOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyOutput) ElementType ¶
func (SnapshotPolicyOutput) ElementType() reflect.Type
func (SnapshotPolicyOutput) ToSnapshotPolicyOutput ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutput() SnapshotPolicyOutput
func (SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext ¶
func (o SnapshotPolicyOutput) ToSnapshotPolicyOutputWithContext(ctx context.Context) SnapshotPolicyOutput
type SnapshotPolicyState ¶
type SnapshotPolicyState struct { // The name of the NetApp Account in which the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // Sets a daily snapshot schedule. See details in below `dailySchedule` block. DailySchedule SnapshotPolicyDailySchedulePtrInput // Defines that the NetApp Snapshot Policy is enabled or not. Enabled pulumi.BoolPtrInput // Sets an hourly snapshot schedule. See details in below `hourlySchedule` block. HourlySchedule SnapshotPolicyHourlySchedulePtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Sets a monthly snapshot schedule. See details in below `monthlySchedule` block. MonthlySchedule SnapshotPolicyMonthlySchedulePtrInput // The name of the NetApp Snapshot Policy. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group where the NetApp Snapshot Policy should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput Tags pulumi.StringMapInput // Sets a weekly snapshot schedule. See details in below `weeklySchedule` block. WeeklySchedule SnapshotPolicyWeeklySchedulePtrInput }
func (SnapshotPolicyState) ElementType ¶
func (SnapshotPolicyState) ElementType() reflect.Type
type SnapshotPolicyWeeklySchedule ¶
type SnapshotPolicyWeeklySchedule struct { // List of the week days using English names when the snapshots will be created. DaysOfWeeks []string `pulumi:"daysOfWeeks"` // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour int `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute int `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep int `pulumi:"snapshotsToKeep"` }
type SnapshotPolicyWeeklyScheduleArgs ¶
type SnapshotPolicyWeeklyScheduleArgs struct { // List of the week days using English names when the snapshots will be created. DaysOfWeeks pulumi.StringArrayInput `pulumi:"daysOfWeeks"` // Hour of the day that the snapshots will be created, valid range is from 0 to 23. Hour pulumi.IntInput `pulumi:"hour"` // Minute of the hour that the snapshots will be created, valid range is from 0 to 59. Minute pulumi.IntInput `pulumi:"minute"` // How many hourly snapshots to keep, valid range is from 0 to 255. SnapshotsToKeep pulumi.IntInput `pulumi:"snapshotsToKeep"` }
func (SnapshotPolicyWeeklyScheduleArgs) ElementType ¶
func (SnapshotPolicyWeeklyScheduleArgs) ElementType() reflect.Type
func (SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutput ¶
func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutput() SnapshotPolicyWeeklyScheduleOutput
func (SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutputWithContext ¶
func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyWeeklyScheduleOutput
func (SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutput ¶
func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
func (SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext ¶
func (i SnapshotPolicyWeeklyScheduleArgs) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
type SnapshotPolicyWeeklyScheduleInput ¶
type SnapshotPolicyWeeklyScheduleInput interface { pulumi.Input ToSnapshotPolicyWeeklyScheduleOutput() SnapshotPolicyWeeklyScheduleOutput ToSnapshotPolicyWeeklyScheduleOutputWithContext(context.Context) SnapshotPolicyWeeklyScheduleOutput }
SnapshotPolicyWeeklyScheduleInput is an input type that accepts SnapshotPolicyWeeklyScheduleArgs and SnapshotPolicyWeeklyScheduleOutput values. You can construct a concrete instance of `SnapshotPolicyWeeklyScheduleInput` via:
SnapshotPolicyWeeklyScheduleArgs{...}
type SnapshotPolicyWeeklyScheduleOutput ¶
type SnapshotPolicyWeeklyScheduleOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks ¶
func (o SnapshotPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
List of the week days using English names when the snapshots will be created.
func (SnapshotPolicyWeeklyScheduleOutput) ElementType ¶
func (SnapshotPolicyWeeklyScheduleOutput) ElementType() reflect.Type
func (SnapshotPolicyWeeklyScheduleOutput) Hour ¶
func (o SnapshotPolicyWeeklyScheduleOutput) Hour() pulumi.IntOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyWeeklyScheduleOutput) Minute ¶
func (o SnapshotPolicyWeeklyScheduleOutput) Minute() pulumi.IntOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyWeeklyScheduleOutput) SnapshotsToKeep() pulumi.IntOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutput ¶
func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutput() SnapshotPolicyWeeklyScheduleOutput
func (SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutputWithContext ¶
func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklyScheduleOutputWithContext(ctx context.Context) SnapshotPolicyWeeklyScheduleOutput
func (SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutput ¶
func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
func (SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyWeeklyScheduleOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
type SnapshotPolicyWeeklySchedulePtrInput ¶
type SnapshotPolicyWeeklySchedulePtrInput interface { pulumi.Input ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(context.Context) SnapshotPolicyWeeklySchedulePtrOutput }
SnapshotPolicyWeeklySchedulePtrInput is an input type that accepts SnapshotPolicyWeeklyScheduleArgs, SnapshotPolicyWeeklySchedulePtr and SnapshotPolicyWeeklySchedulePtrOutput values. You can construct a concrete instance of `SnapshotPolicyWeeklySchedulePtrInput` via:
SnapshotPolicyWeeklyScheduleArgs{...} or: nil
func SnapshotPolicyWeeklySchedulePtr ¶
func SnapshotPolicyWeeklySchedulePtr(v *SnapshotPolicyWeeklyScheduleArgs) SnapshotPolicyWeeklySchedulePtrInput
type SnapshotPolicyWeeklySchedulePtrOutput ¶
type SnapshotPolicyWeeklySchedulePtrOutput struct{ *pulumi.OutputState }
func (SnapshotPolicyWeeklySchedulePtrOutput) DaysOfWeeks ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) DaysOfWeeks() pulumi.StringArrayOutput
List of the week days using English names when the snapshots will be created.
func (SnapshotPolicyWeeklySchedulePtrOutput) ElementType ¶
func (SnapshotPolicyWeeklySchedulePtrOutput) ElementType() reflect.Type
func (SnapshotPolicyWeeklySchedulePtrOutput) Hour ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) Hour() pulumi.IntPtrOutput
Hour of the day that the snapshots will be created, valid range is from 0 to 23.
func (SnapshotPolicyWeeklySchedulePtrOutput) Minute ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) Minute() pulumi.IntPtrOutput
Minute of the hour that the snapshots will be created, valid range is from 0 to 59.
func (SnapshotPolicyWeeklySchedulePtrOutput) SnapshotsToKeep ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) SnapshotsToKeep() pulumi.IntPtrOutput
How many hourly snapshots to keep, valid range is from 0 to 255.
func (SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutput ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutput() SnapshotPolicyWeeklySchedulePtrOutput
func (SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext ¶
func (o SnapshotPolicyWeeklySchedulePtrOutput) ToSnapshotPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) SnapshotPolicyWeeklySchedulePtrOutput
type SnapshotState ¶
type SnapshotState struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Snapshot. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringPtrInput // The name of the resource group where the NetApp Snapshot should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The name of the NetApp volume in which the NetApp Snapshot should be created. Changing this forces a new resource to be created. VolumeName pulumi.StringPtrInput }
func (SnapshotState) ElementType ¶
func (SnapshotState) ElementType() reflect.Type
type Volume ¶
type Volume struct { pulumi.CustomResourceState // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringOutput `pulumi:"accountName"` // Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`. CreateFromSnapshotResourceId pulumi.StringOutput `pulumi:"createFromSnapshotResourceId"` // A `dataProtectionReplication` block as defined below. DataProtectionReplication VolumeDataProtectionReplicationPtrOutput `pulumi:"dataProtectionReplication"` // A `dataProtectionSnapshotPolicy` block as defined below. DataProtectionSnapshotPolicy VolumeDataProtectionSnapshotPolicyPtrOutput `pulumi:"dataProtectionSnapshotPolicy"` // One or more `exportPolicyRule` block defined below. ExportPolicyRules VolumeExportPolicyRuleArrayOutput `pulumi:"exportPolicyRules"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // A list of IPv4 Addresses which should be used to mount the volume. MountIpAddresses pulumi.StringArrayOutput `pulumi:"mountIpAddresses"` // The name of the NetApp Volume. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringOutput `pulumi:"poolName"` // The target volume protocol expressed as a list. Supported single value include `CIFS`, `NFSv3`, or `NFSv4.1`. If argument is not defined it will default to `NFSv3`. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document. Protocols pulumi.StringArrayOutput `pulumi:"protocols"` // The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Volume security style, accepted values are `Unix` or `Ntfs`. If not provided, single-protocol volume is created defaulting to `Unix` if it is `NFSv3` or `NFSv4.1` volume, if `CIFS`, it will default to `Ntfs`. In a dual-protocol volume, if not provided, its value will be `Ntfs`. SecurityStyle pulumi.StringOutput `pulumi:"securityStyle"` // The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. ServiceLevel pulumi.StringOutput `pulumi:"serviceLevel"` // Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true. SnapshotDirectoryVisible pulumi.BoolOutput `pulumi:"snapshotDirectoryVisible"` // The maximum Storage Quota allowed for a file system in Gigabytes. StorageQuotaInGb pulumi.IntOutput `pulumi:"storageQuotaInGb"` // The ID of the Subnet the NetApp Volume resides in, which must have the `Microsoft.NetApp/volumes` delegation. Changing this forces a new resource to be created. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Throughput of this volume in Mibps. ThroughputInMibps pulumi.Float64Output `pulumi:"throughputInMibps"` // A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created. VolumePath pulumi.StringOutput `pulumi:"volumePath"` }
Manages a NetApp Volume.
## NetApp Volume Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/netapp" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network" "github.com/pulumi/pulumi/sdk/v3/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{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, }) 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.2.0/24"), }, Delegations: network.SubnetDelegationArray{ &network.SubnetDelegationArgs{ Name: pulumi.String("netapp"), ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{ Name: pulumi.String("Microsoft.Netapp/volumes"), Actions: pulumi.StringArray{ pulumi.String("Microsoft.Network/networkinterfaces/*"), pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"), }, }, }, }, }) if err != nil { return err } exampleAccount, err := netapp.NewAccount(ctx, "exampleAccount", &netapp.AccountArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } examplePool, err := netapp.NewPool(ctx, "examplePool", &netapp.PoolArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, ServiceLevel: pulumi.String("Premium"), SizeInTb: pulumi.Int(4), }) if err != nil { return err } _, err = netapp.NewVolume(ctx, "exampleVolume", &netapp.VolumeArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AccountName: exampleAccount.Name, PoolName: examplePool.Name, VolumePath: pulumi.String("my-unique-file-path"), ServiceLevel: pulumi.String("Premium"), SubnetId: exampleSubnet.ID(), Protocols: pulumi.StringArray{ pulumi.String("NFSv4.1"), }, SecurityStyle: pulumi.String("Unix"), StorageQuotaInGb: pulumi.Int(100), SnapshotDirectoryVisible: pulumi.Bool(false), CreateFromSnapshotResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1"), DataProtectionReplication: &netapp.VolumeDataProtectionReplicationArgs{ EndpointType: pulumi.String("dst"), RemoteVolumeLocation: pulumi.Any(azurerm_resource_group.Example_primary.Location), RemoteVolumeResourceId: pulumi.Any(azurerm_netapp_volume.Example_primary.Id), ReplicationFrequency: pulumi.String("10minutes"), }, DataProtectionSnapshotPolicy: &netapp.VolumeDataProtectionSnapshotPolicyArgs{ SnapshotPolicyId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotpolicy1"), }, }) if err != nil { return err } return nil }) }
```
## Import
NetApp Volumes can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:netapp/volume:Volume example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1
```
func GetVolume ¶
func GetVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VolumeState, opts ...pulumi.ResourceOption) (*Volume, error)
GetVolume gets an existing Volume 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 NewVolume ¶
func NewVolume(ctx *pulumi.Context, name string, args *VolumeArgs, opts ...pulumi.ResourceOption) (*Volume, error)
NewVolume registers a new resource with the given unique name, arguments, and options.
func (*Volume) ElementType ¶
func (*Volume) ToVolumeOutput ¶
func (i *Volume) ToVolumeOutput() VolumeOutput
func (*Volume) ToVolumeOutputWithContext ¶
func (i *Volume) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeArgs ¶
type VolumeArgs struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringInput // Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`. CreateFromSnapshotResourceId pulumi.StringPtrInput // A `dataProtectionReplication` block as defined below. DataProtectionReplication VolumeDataProtectionReplicationPtrInput // A `dataProtectionSnapshotPolicy` block as defined below. DataProtectionSnapshotPolicy VolumeDataProtectionSnapshotPolicyPtrInput // One or more `exportPolicyRule` block defined below. ExportPolicyRules VolumeExportPolicyRuleArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the NetApp Volume. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringInput // The target volume protocol expressed as a list. Supported single value include `CIFS`, `NFSv3`, or `NFSv4.1`. If argument is not defined it will default to `NFSv3`. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document. Protocols pulumi.StringArrayInput // The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Volume security style, accepted values are `Unix` or `Ntfs`. If not provided, single-protocol volume is created defaulting to `Unix` if it is `NFSv3` or `NFSv4.1` volume, if `CIFS`, it will default to `Ntfs`. In a dual-protocol volume, if not provided, its value will be `Ntfs`. SecurityStyle pulumi.StringPtrInput // The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. ServiceLevel pulumi.StringInput // Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true. SnapshotDirectoryVisible pulumi.BoolPtrInput // The maximum Storage Quota allowed for a file system in Gigabytes. StorageQuotaInGb pulumi.IntInput // The ID of the Subnet the NetApp Volume resides in, which must have the `Microsoft.NetApp/volumes` delegation. Changing this forces a new resource to be created. SubnetId pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Throughput of this volume in Mibps. ThroughputInMibps pulumi.Float64PtrInput // A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created. VolumePath pulumi.StringInput }
The set of arguments for constructing a Volume resource.
func (VolumeArgs) ElementType ¶
func (VolumeArgs) ElementType() reflect.Type
type VolumeArray ¶
type VolumeArray []VolumeInput
func (VolumeArray) ElementType ¶
func (VolumeArray) ElementType() reflect.Type
func (VolumeArray) ToVolumeArrayOutput ¶
func (i VolumeArray) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArray) ToVolumeArrayOutputWithContext ¶
func (i VolumeArray) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeArrayInput ¶
type VolumeArrayInput interface { pulumi.Input ToVolumeArrayOutput() VolumeArrayOutput ToVolumeArrayOutputWithContext(context.Context) VolumeArrayOutput }
VolumeArrayInput is an input type that accepts VolumeArray and VolumeArrayOutput values. You can construct a concrete instance of `VolumeArrayInput` via:
VolumeArray{ VolumeArgs{...} }
type VolumeArrayOutput ¶
type VolumeArrayOutput struct{ *pulumi.OutputState }
func (VolumeArrayOutput) ElementType ¶
func (VolumeArrayOutput) ElementType() reflect.Type
func (VolumeArrayOutput) Index ¶
func (o VolumeArrayOutput) Index(i pulumi.IntInput) VolumeOutput
func (VolumeArrayOutput) ToVolumeArrayOutput ¶
func (o VolumeArrayOutput) ToVolumeArrayOutput() VolumeArrayOutput
func (VolumeArrayOutput) ToVolumeArrayOutputWithContext ¶
func (o VolumeArrayOutput) ToVolumeArrayOutputWithContext(ctx context.Context) VolumeArrayOutput
type VolumeDataProtectionReplication ¶
type VolumeDataProtectionReplication struct { // The endpoint type, default value is `dst` for destination. EndpointType *string `pulumi:"endpointType"` // Location of the primary volume. RemoteVolumeLocation string `pulumi:"remoteVolumeLocation"` // Resource ID of the primary volume. RemoteVolumeResourceId string `pulumi:"remoteVolumeResourceId"` // Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive. ReplicationFrequency string `pulumi:"replicationFrequency"` }
type VolumeDataProtectionReplicationArgs ¶
type VolumeDataProtectionReplicationArgs struct { // The endpoint type, default value is `dst` for destination. EndpointType pulumi.StringPtrInput `pulumi:"endpointType"` // Location of the primary volume. RemoteVolumeLocation pulumi.StringInput `pulumi:"remoteVolumeLocation"` // Resource ID of the primary volume. RemoteVolumeResourceId pulumi.StringInput `pulumi:"remoteVolumeResourceId"` // Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive. ReplicationFrequency pulumi.StringInput `pulumi:"replicationFrequency"` }
func (VolumeDataProtectionReplicationArgs) ElementType ¶
func (VolumeDataProtectionReplicationArgs) ElementType() reflect.Type
func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutput ¶
func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput
func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutputWithContext ¶
func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput
func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutput ¶
func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
func (VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutputWithContext ¶
func (i VolumeDataProtectionReplicationArgs) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
type VolumeDataProtectionReplicationInput ¶
type VolumeDataProtectionReplicationInput interface { pulumi.Input ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput ToVolumeDataProtectionReplicationOutputWithContext(context.Context) VolumeDataProtectionReplicationOutput }
VolumeDataProtectionReplicationInput is an input type that accepts VolumeDataProtectionReplicationArgs and VolumeDataProtectionReplicationOutput values. You can construct a concrete instance of `VolumeDataProtectionReplicationInput` via:
VolumeDataProtectionReplicationArgs{...}
type VolumeDataProtectionReplicationOutput ¶
type VolumeDataProtectionReplicationOutput struct{ *pulumi.OutputState }
func (VolumeDataProtectionReplicationOutput) ElementType ¶
func (VolumeDataProtectionReplicationOutput) ElementType() reflect.Type
func (VolumeDataProtectionReplicationOutput) EndpointType ¶
func (o VolumeDataProtectionReplicationOutput) EndpointType() pulumi.StringPtrOutput
The endpoint type, default value is `dst` for destination.
func (VolumeDataProtectionReplicationOutput) RemoteVolumeLocation ¶
func (o VolumeDataProtectionReplicationOutput) RemoteVolumeLocation() pulumi.StringOutput
Location of the primary volume.
func (VolumeDataProtectionReplicationOutput) RemoteVolumeResourceId ¶
func (o VolumeDataProtectionReplicationOutput) RemoteVolumeResourceId() pulumi.StringOutput
Resource ID of the primary volume.
func (VolumeDataProtectionReplicationOutput) ReplicationFrequency ¶
func (o VolumeDataProtectionReplicationOutput) ReplicationFrequency() pulumi.StringOutput
Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutput ¶
func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutput() VolumeDataProtectionReplicationOutput
func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutputWithContext ¶
func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationOutput
func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutput ¶
func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
func (VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext ¶
func (o VolumeDataProtectionReplicationOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
type VolumeDataProtectionReplicationPtrInput ¶
type VolumeDataProtectionReplicationPtrInput interface { pulumi.Input ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput ToVolumeDataProtectionReplicationPtrOutputWithContext(context.Context) VolumeDataProtectionReplicationPtrOutput }
VolumeDataProtectionReplicationPtrInput is an input type that accepts VolumeDataProtectionReplicationArgs, VolumeDataProtectionReplicationPtr and VolumeDataProtectionReplicationPtrOutput values. You can construct a concrete instance of `VolumeDataProtectionReplicationPtrInput` via:
VolumeDataProtectionReplicationArgs{...} or: nil
func VolumeDataProtectionReplicationPtr ¶
func VolumeDataProtectionReplicationPtr(v *VolumeDataProtectionReplicationArgs) VolumeDataProtectionReplicationPtrInput
type VolumeDataProtectionReplicationPtrOutput ¶
type VolumeDataProtectionReplicationPtrOutput struct{ *pulumi.OutputState }
func (VolumeDataProtectionReplicationPtrOutput) ElementType ¶
func (VolumeDataProtectionReplicationPtrOutput) ElementType() reflect.Type
func (VolumeDataProtectionReplicationPtrOutput) EndpointType ¶
func (o VolumeDataProtectionReplicationPtrOutput) EndpointType() pulumi.StringPtrOutput
The endpoint type, default value is `dst` for destination.
func (VolumeDataProtectionReplicationPtrOutput) RemoteVolumeLocation ¶
func (o VolumeDataProtectionReplicationPtrOutput) RemoteVolumeLocation() pulumi.StringPtrOutput
Location of the primary volume.
func (VolumeDataProtectionReplicationPtrOutput) RemoteVolumeResourceId ¶
func (o VolumeDataProtectionReplicationPtrOutput) RemoteVolumeResourceId() pulumi.StringPtrOutput
Resource ID of the primary volume.
func (VolumeDataProtectionReplicationPtrOutput) ReplicationFrequency ¶
func (o VolumeDataProtectionReplicationPtrOutput) ReplicationFrequency() pulumi.StringPtrOutput
Replication frequency, supported values are '10minutes', 'hourly', 'daily', values are case sensitive.
func (VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutput ¶
func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutput() VolumeDataProtectionReplicationPtrOutput
func (VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext ¶
func (o VolumeDataProtectionReplicationPtrOutput) ToVolumeDataProtectionReplicationPtrOutputWithContext(ctx context.Context) VolumeDataProtectionReplicationPtrOutput
type VolumeDataProtectionSnapshotPolicy ¶
type VolumeDataProtectionSnapshotPolicy struct { // Resource ID of the snapshot policy to apply to the volume. SnapshotPolicyId string `pulumi:"snapshotPolicyId"` }
type VolumeDataProtectionSnapshotPolicyArgs ¶
type VolumeDataProtectionSnapshotPolicyArgs struct { // Resource ID of the snapshot policy to apply to the volume. SnapshotPolicyId pulumi.StringInput `pulumi:"snapshotPolicyId"` }
func (VolumeDataProtectionSnapshotPolicyArgs) ElementType ¶
func (VolumeDataProtectionSnapshotPolicyArgs) ElementType() reflect.Type
func (VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutput ¶
func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutput() VolumeDataProtectionSnapshotPolicyOutput
func (VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutputWithContext ¶
func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyOutput
func (VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutput ¶
func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
func (VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext ¶
func (i VolumeDataProtectionSnapshotPolicyArgs) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
type VolumeDataProtectionSnapshotPolicyInput ¶
type VolumeDataProtectionSnapshotPolicyInput interface { pulumi.Input ToVolumeDataProtectionSnapshotPolicyOutput() VolumeDataProtectionSnapshotPolicyOutput ToVolumeDataProtectionSnapshotPolicyOutputWithContext(context.Context) VolumeDataProtectionSnapshotPolicyOutput }
VolumeDataProtectionSnapshotPolicyInput is an input type that accepts VolumeDataProtectionSnapshotPolicyArgs and VolumeDataProtectionSnapshotPolicyOutput values. You can construct a concrete instance of `VolumeDataProtectionSnapshotPolicyInput` via:
VolumeDataProtectionSnapshotPolicyArgs{...}
type VolumeDataProtectionSnapshotPolicyOutput ¶
type VolumeDataProtectionSnapshotPolicyOutput struct{ *pulumi.OutputState }
func (VolumeDataProtectionSnapshotPolicyOutput) ElementType ¶
func (VolumeDataProtectionSnapshotPolicyOutput) ElementType() reflect.Type
func (VolumeDataProtectionSnapshotPolicyOutput) SnapshotPolicyId ¶
func (o VolumeDataProtectionSnapshotPolicyOutput) SnapshotPolicyId() pulumi.StringOutput
Resource ID of the snapshot policy to apply to the volume.
func (VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutput ¶
func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutput() VolumeDataProtectionSnapshotPolicyOutput
func (VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutputWithContext ¶
func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyOutput
func (VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput ¶
func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
func (VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext ¶
func (o VolumeDataProtectionSnapshotPolicyOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
type VolumeDataProtectionSnapshotPolicyPtrInput ¶
type VolumeDataProtectionSnapshotPolicyPtrInput interface { pulumi.Input ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput }
VolumeDataProtectionSnapshotPolicyPtrInput is an input type that accepts VolumeDataProtectionSnapshotPolicyArgs, VolumeDataProtectionSnapshotPolicyPtr and VolumeDataProtectionSnapshotPolicyPtrOutput values. You can construct a concrete instance of `VolumeDataProtectionSnapshotPolicyPtrInput` via:
VolumeDataProtectionSnapshotPolicyArgs{...} or: nil
func VolumeDataProtectionSnapshotPolicyPtr ¶
func VolumeDataProtectionSnapshotPolicyPtr(v *VolumeDataProtectionSnapshotPolicyArgs) VolumeDataProtectionSnapshotPolicyPtrInput
type VolumeDataProtectionSnapshotPolicyPtrOutput ¶
type VolumeDataProtectionSnapshotPolicyPtrOutput struct{ *pulumi.OutputState }
func (VolumeDataProtectionSnapshotPolicyPtrOutput) ElementType ¶
func (VolumeDataProtectionSnapshotPolicyPtrOutput) ElementType() reflect.Type
func (VolumeDataProtectionSnapshotPolicyPtrOutput) SnapshotPolicyId ¶
func (o VolumeDataProtectionSnapshotPolicyPtrOutput) SnapshotPolicyId() pulumi.StringPtrOutput
Resource ID of the snapshot policy to apply to the volume.
func (VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput ¶
func (o VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutput() VolumeDataProtectionSnapshotPolicyPtrOutput
func (VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext ¶
func (o VolumeDataProtectionSnapshotPolicyPtrOutput) ToVolumeDataProtectionSnapshotPolicyPtrOutputWithContext(ctx context.Context) VolumeDataProtectionSnapshotPolicyPtrOutput
type VolumeExportPolicyRule ¶
type VolumeExportPolicyRule struct { // A list of allowed clients IPv4 addresses. AllowedClients []string `pulumi:"allowedClients"` // A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`. ProtocolsEnabled *string `pulumi:"protocolsEnabled"` // Is root access permitted to this volume? RootAccessEnabled *bool `pulumi:"rootAccessEnabled"` // The index number of the rule. RuleIndex int `pulumi:"ruleIndex"` // Is the file system on unix read only? UnixReadOnly *bool `pulumi:"unixReadOnly"` // Is the file system on unix read and write? UnixReadWrite *bool `pulumi:"unixReadWrite"` }
type VolumeExportPolicyRuleArgs ¶
type VolumeExportPolicyRuleArgs struct { // A list of allowed clients IPv4 addresses. AllowedClients pulumi.StringArrayInput `pulumi:"allowedClients"` // A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`. ProtocolsEnabled pulumi.StringPtrInput `pulumi:"protocolsEnabled"` // Is root access permitted to this volume? RootAccessEnabled pulumi.BoolPtrInput `pulumi:"rootAccessEnabled"` // The index number of the rule. RuleIndex pulumi.IntInput `pulumi:"ruleIndex"` // Is the file system on unix read only? UnixReadOnly pulumi.BoolPtrInput `pulumi:"unixReadOnly"` // Is the file system on unix read and write? UnixReadWrite pulumi.BoolPtrInput `pulumi:"unixReadWrite"` }
func (VolumeExportPolicyRuleArgs) ElementType ¶
func (VolumeExportPolicyRuleArgs) ElementType() reflect.Type
func (VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutput ¶
func (i VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput
func (VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutputWithContext ¶
func (i VolumeExportPolicyRuleArgs) ToVolumeExportPolicyRuleOutputWithContext(ctx context.Context) VolumeExportPolicyRuleOutput
type VolumeExportPolicyRuleArray ¶
type VolumeExportPolicyRuleArray []VolumeExportPolicyRuleInput
func (VolumeExportPolicyRuleArray) ElementType ¶
func (VolumeExportPolicyRuleArray) ElementType() reflect.Type
func (VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutput ¶
func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput
func (VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutputWithContext ¶
func (i VolumeExportPolicyRuleArray) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput
type VolumeExportPolicyRuleArrayInput ¶
type VolumeExportPolicyRuleArrayInput interface { pulumi.Input ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput ToVolumeExportPolicyRuleArrayOutputWithContext(context.Context) VolumeExportPolicyRuleArrayOutput }
VolumeExportPolicyRuleArrayInput is an input type that accepts VolumeExportPolicyRuleArray and VolumeExportPolicyRuleArrayOutput values. You can construct a concrete instance of `VolumeExportPolicyRuleArrayInput` via:
VolumeExportPolicyRuleArray{ VolumeExportPolicyRuleArgs{...} }
type VolumeExportPolicyRuleArrayOutput ¶
type VolumeExportPolicyRuleArrayOutput struct{ *pulumi.OutputState }
func (VolumeExportPolicyRuleArrayOutput) ElementType ¶
func (VolumeExportPolicyRuleArrayOutput) ElementType() reflect.Type
func (VolumeExportPolicyRuleArrayOutput) Index ¶
func (o VolumeExportPolicyRuleArrayOutput) Index(i pulumi.IntInput) VolumeExportPolicyRuleOutput
func (VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutput ¶
func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutput() VolumeExportPolicyRuleArrayOutput
func (VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutputWithContext ¶
func (o VolumeExportPolicyRuleArrayOutput) ToVolumeExportPolicyRuleArrayOutputWithContext(ctx context.Context) VolumeExportPolicyRuleArrayOutput
type VolumeExportPolicyRuleInput ¶
type VolumeExportPolicyRuleInput interface { pulumi.Input ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput ToVolumeExportPolicyRuleOutputWithContext(context.Context) VolumeExportPolicyRuleOutput }
VolumeExportPolicyRuleInput is an input type that accepts VolumeExportPolicyRuleArgs and VolumeExportPolicyRuleOutput values. You can construct a concrete instance of `VolumeExportPolicyRuleInput` via:
VolumeExportPolicyRuleArgs{...}
type VolumeExportPolicyRuleOutput ¶
type VolumeExportPolicyRuleOutput struct{ *pulumi.OutputState }
func (VolumeExportPolicyRuleOutput) AllowedClients ¶
func (o VolumeExportPolicyRuleOutput) AllowedClients() pulumi.StringArrayOutput
A list of allowed clients IPv4 addresses.
func (VolumeExportPolicyRuleOutput) ElementType ¶
func (VolumeExportPolicyRuleOutput) ElementType() reflect.Type
func (VolumeExportPolicyRuleOutput) ProtocolsEnabled ¶
func (o VolumeExportPolicyRuleOutput) ProtocolsEnabled() pulumi.StringPtrOutput
A list of allowed protocols. Valid values include `CIFS`, `NFSv3`, or `NFSv4.1`. Only one value is supported at this time. This replaces the previous arguments: `cifsEnabled`, `nfsv3Enabled` and `nfsv4Enabled`.
func (VolumeExportPolicyRuleOutput) RootAccessEnabled ¶
func (o VolumeExportPolicyRuleOutput) RootAccessEnabled() pulumi.BoolPtrOutput
Is root access permitted to this volume?
func (VolumeExportPolicyRuleOutput) RuleIndex ¶
func (o VolumeExportPolicyRuleOutput) RuleIndex() pulumi.IntOutput
The index number of the rule.
func (VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutput ¶
func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutput() VolumeExportPolicyRuleOutput
func (VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutputWithContext ¶
func (o VolumeExportPolicyRuleOutput) ToVolumeExportPolicyRuleOutputWithContext(ctx context.Context) VolumeExportPolicyRuleOutput
func (VolumeExportPolicyRuleOutput) UnixReadOnly ¶
func (o VolumeExportPolicyRuleOutput) UnixReadOnly() pulumi.BoolPtrOutput
Is the file system on unix read only?
func (VolumeExportPolicyRuleOutput) UnixReadWrite ¶
func (o VolumeExportPolicyRuleOutput) UnixReadWrite() pulumi.BoolPtrOutput
Is the file system on unix read and write?
type VolumeInput ¶
type VolumeInput interface { pulumi.Input ToVolumeOutput() VolumeOutput ToVolumeOutputWithContext(ctx context.Context) VolumeOutput }
type VolumeMap ¶
type VolumeMap map[string]VolumeInput
func (VolumeMap) ElementType ¶
func (VolumeMap) ToVolumeMapOutput ¶
func (i VolumeMap) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMap) ToVolumeMapOutputWithContext ¶
func (i VolumeMap) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeMapInput ¶
type VolumeMapInput interface { pulumi.Input ToVolumeMapOutput() VolumeMapOutput ToVolumeMapOutputWithContext(context.Context) VolumeMapOutput }
VolumeMapInput is an input type that accepts VolumeMap and VolumeMapOutput values. You can construct a concrete instance of `VolumeMapInput` via:
VolumeMap{ "key": VolumeArgs{...} }
type VolumeMapOutput ¶
type VolumeMapOutput struct{ *pulumi.OutputState }
func (VolumeMapOutput) ElementType ¶
func (VolumeMapOutput) ElementType() reflect.Type
func (VolumeMapOutput) MapIndex ¶
func (o VolumeMapOutput) MapIndex(k pulumi.StringInput) VolumeOutput
func (VolumeMapOutput) ToVolumeMapOutput ¶
func (o VolumeMapOutput) ToVolumeMapOutput() VolumeMapOutput
func (VolumeMapOutput) ToVolumeMapOutputWithContext ¶
func (o VolumeMapOutput) ToVolumeMapOutputWithContext(ctx context.Context) VolumeMapOutput
type VolumeOutput ¶
type VolumeOutput struct{ *pulumi.OutputState }
func (VolumeOutput) ElementType ¶
func (VolumeOutput) ElementType() reflect.Type
func (VolumeOutput) ToVolumeOutput ¶
func (o VolumeOutput) ToVolumeOutput() VolumeOutput
func (VolumeOutput) ToVolumeOutputWithContext ¶
func (o VolumeOutput) ToVolumeOutputWithContext(ctx context.Context) VolumeOutput
type VolumeState ¶
type VolumeState struct { // The name of the NetApp account in which the NetApp Pool should be created. Changing this forces a new resource to be created. AccountName pulumi.StringPtrInput // Creates volume from snapshot. Following properties must be the same as the original volume where the snapshot was taken from: `protocols`, `subnetId`, `location`, `serviceLevel`, `resourceGroupName`, `accountName` and `poolName`. CreateFromSnapshotResourceId pulumi.StringPtrInput // A `dataProtectionReplication` block as defined below. DataProtectionReplication VolumeDataProtectionReplicationPtrInput // A `dataProtectionSnapshotPolicy` block as defined below. DataProtectionSnapshotPolicy VolumeDataProtectionSnapshotPolicyPtrInput // One or more `exportPolicyRule` block defined below. ExportPolicyRules VolumeExportPolicyRuleArrayInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // A list of IPv4 Addresses which should be used to mount the volume. MountIpAddresses pulumi.StringArrayInput // The name of the NetApp Volume. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the NetApp pool in which the NetApp Volume should be created. Changing this forces a new resource to be created. PoolName pulumi.StringPtrInput // The target volume protocol expressed as a list. Supported single value include `CIFS`, `NFSv3`, or `NFSv4.1`. If argument is not defined it will default to `NFSv3`. Changing this forces a new resource to be created and data will be lost. Dual protocol scenario is supported for CIFS and NFSv3, for more information, please refer to [Create a dual-protocol volume for Azure NetApp Files](https://docs.microsoft.com/en-us/azure/azure-netapp-files/create-volumes-dual-protocol) document. Protocols pulumi.StringArrayInput // The name of the resource group where the NetApp Volume should be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // Volume security style, accepted values are `Unix` or `Ntfs`. If not provided, single-protocol volume is created defaulting to `Unix` if it is `NFSv3` or `NFSv4.1` volume, if `CIFS`, it will default to `Ntfs`. In a dual-protocol volume, if not provided, its value will be `Ntfs`. SecurityStyle pulumi.StringPtrInput // The target performance of the file system. Valid values include `Premium`, `Standard`, or `Ultra`. ServiceLevel pulumi.StringPtrInput // Specifies whether the .snapshot (NFS clients) or ~snapshot (SMB clients) path of a volume is visible, default value is true. SnapshotDirectoryVisible pulumi.BoolPtrInput // The maximum Storage Quota allowed for a file system in Gigabytes. StorageQuotaInGb pulumi.IntPtrInput // The ID of the Subnet the NetApp Volume resides in, which must have the `Microsoft.NetApp/volumes` delegation. Changing this forces a new resource to be created. SubnetId pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Throughput of this volume in Mibps. ThroughputInMibps pulumi.Float64PtrInput // A unique file path for the volume. Used when creating mount targets. Changing this forces a new resource to be created. VolumePath pulumi.StringPtrInput }
func (VolumeState) ElementType ¶
func (VolumeState) ElementType() reflect.Type