azure-native.storsimple.BandwidthSetting
Explore with Pulumi AI
The bandwidth setting.
Uses Azure REST API version 2017-06-01. In version 2.x of the Azure Native provider, it used API version 2017-06-01.
Create BandwidthSetting Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BandwidthSetting(name: string, args: BandwidthSettingArgs, opts?: CustomResourceOptions);
@overload
def BandwidthSetting(resource_name: str,
args: BandwidthSettingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BandwidthSetting(resource_name: str,
opts: Optional[ResourceOptions] = None,
manager_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schedules: Optional[Sequence[BandwidthScheduleArgs]] = None,
bandwidth_setting_name: Optional[str] = None,
kind: Optional[Kind] = None)
func NewBandwidthSetting(ctx *Context, name string, args BandwidthSettingArgs, opts ...ResourceOption) (*BandwidthSetting, error)
public BandwidthSetting(string name, BandwidthSettingArgs args, CustomResourceOptions? opts = null)
public BandwidthSetting(String name, BandwidthSettingArgs args)
public BandwidthSetting(String name, BandwidthSettingArgs args, CustomResourceOptions options)
type: azure-native:storsimple:BandwidthSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BandwidthSettingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. BandwidthSettingArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BandwidthSettingArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. BandwidthSettingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. BandwidthSettingArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var bandwidthSettingResource = new AzureNative.StorSimple.BandwidthSetting("bandwidthSettingResource", new()
{
ManagerName = "string",
ResourceGroupName = "string",
Schedules = new[]
{
new AzureNative.StorSimple.Inputs.BandwidthScheduleArgs
{
Days = new[]
{
AzureNative.StorSimple.DayOfWeek.Sunday,
},
RateInMbps = 0,
Start = new AzureNative.StorSimple.Inputs.TimeArgs
{
Hours = 0,
Minutes = 0,
Seconds = 0,
},
Stop = new AzureNative.StorSimple.Inputs.TimeArgs
{
Hours = 0,
Minutes = 0,
Seconds = 0,
},
},
},
BandwidthSettingName = "string",
Kind = AzureNative.StorSimple.Kind.Series8000,
});
example, err := storsimple.NewBandwidthSetting(ctx, "bandwidthSettingResource", &storsimple.BandwidthSettingArgs{
ManagerName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Schedules: storsimple.BandwidthScheduleArray{
&storsimple.BandwidthScheduleArgs{
Days: storsimple.DayOfWeekArray{
storsimple.DayOfWeekSunday,
},
RateInMbps: pulumi.Int(0),
Start: &storsimple.TimeArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
Stop: &storsimple.TimeArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
Seconds: pulumi.Int(0),
},
},
},
BandwidthSettingName: pulumi.String("string"),
Kind: storsimple.KindSeries8000,
})
var bandwidthSettingResource = new BandwidthSetting("bandwidthSettingResource", BandwidthSettingArgs.builder()
.managerName("string")
.resourceGroupName("string")
.schedules(BandwidthScheduleArgs.builder()
.days("Sunday")
.rateInMbps(0)
.start(TimeArgs.builder()
.hours(0)
.minutes(0)
.seconds(0)
.build())
.stop(TimeArgs.builder()
.hours(0)
.minutes(0)
.seconds(0)
.build())
.build())
.bandwidthSettingName("string")
.kind("Series8000")
.build());
bandwidth_setting_resource = azure_native.storsimple.BandwidthSetting("bandwidthSettingResource",
manager_name="string",
resource_group_name="string",
schedules=[{
"days": [azure_native.storsimple.DayOfWeek.SUNDAY],
"rate_in_mbps": 0,
"start": {
"hours": 0,
"minutes": 0,
"seconds": 0,
},
"stop": {
"hours": 0,
"minutes": 0,
"seconds": 0,
},
}],
bandwidth_setting_name="string",
kind=azure_native.storsimple.Kind.SERIES8000)
const bandwidthSettingResource = new azure_native.storsimple.BandwidthSetting("bandwidthSettingResource", {
managerName: "string",
resourceGroupName: "string",
schedules: [{
days: [azure_native.storsimple.DayOfWeek.Sunday],
rateInMbps: 0,
start: {
hours: 0,
minutes: 0,
seconds: 0,
},
stop: {
hours: 0,
minutes: 0,
seconds: 0,
},
}],
bandwidthSettingName: "string",
kind: azure_native.storsimple.Kind.Series8000,
});
type: azure-native:storsimple:BandwidthSetting
properties:
bandwidthSettingName: string
kind: Series8000
managerName: string
resourceGroupName: string
schedules:
- days:
- Sunday
rateInMbps: 0
start:
hours: 0
minutes: 0
seconds: 0
stop:
hours: 0
minutes: 0
seconds: 0
BandwidthSetting Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BandwidthSetting resource accepts the following input properties:
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Schedules
This property is required. List<Pulumi.Azure Native. Stor Simple. Inputs. Bandwidth Schedule> - The schedules.
- Bandwidth
Setting Name Changes to this property will trigger replacement.
- The bandwidth setting name.
- Kind
Pulumi.
Azure Native. Stor Simple. Kind - The Kind of the object. Currently only Series8000 is supported
- Manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- Schedules
This property is required. []BandwidthSchedule Args - The schedules.
- Bandwidth
Setting Name Changes to this property will trigger replacement.
- The bandwidth setting name.
- Kind Kind
- The Kind of the object. Currently only Series8000 is supported
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- schedules
This property is required. List<BandwidthSchedule> - The schedules.
- bandwidth
Setting Name Changes to this property will trigger replacement.
- The bandwidth setting name.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- schedules
This property is required. BandwidthSchedule[] - The schedules.
- bandwidth
Setting Name Changes to this property will trigger replacement.
- The bandwidth setting name.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- manager_
name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The resource group name
- schedules
This property is required. Sequence[BandwidthSchedule Args] - The schedules.
- bandwidth_
setting_ name Changes to this property will trigger replacement.
- The bandwidth setting name.
- kind Kind
- The Kind of the object. Currently only Series8000 is supported
- manager
Name This property is required. Changes to this property will trigger replacement.
- The manager name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The resource group name
- schedules
This property is required. List<Property Map> - The schedules.
- bandwidth
Setting Name Changes to this property will trigger replacement.
- The bandwidth setting name.
- kind "Series8000"
- The Kind of the object. Currently only Series8000 is supported
Outputs
All input properties are implicitly available as output properties. Additionally, the BandwidthSetting resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Type string
- The hierarchical type of the object.
- Volume
Count int - The number of volumes that uses the bandwidth setting.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the object.
- Type string
- The hierarchical type of the object.
- Volume
Count int - The number of volumes that uses the bandwidth setting.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- type String
- The hierarchical type of the object.
- volume
Count Integer - The number of volumes that uses the bandwidth setting.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the object.
- type string
- The hierarchical type of the object.
- volume
Count number - The number of volumes that uses the bandwidth setting.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the object.
- type str
- The hierarchical type of the object.
- volume_
count int - The number of volumes that uses the bandwidth setting.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the object.
- type String
- The hierarchical type of the object.
- volume
Count Number - The number of volumes that uses the bandwidth setting.
Supporting Types
BandwidthSchedule, BandwidthScheduleArgs
- Days
This property is required. List<Pulumi.Azure Native. Stor Simple. Day Of Week> - The days of the week when this schedule is applicable.
- Rate
In Mbps This property is required. int - The rate in Mbps.
- Start
This property is required. Pulumi.Azure Native. Stor Simple. Inputs. Time - The start time of the schedule.
- Stop
This property is required. Pulumi.Azure Native. Stor Simple. Inputs. Time - The stop time of the schedule.
- Days
This property is required. []DayOf Week - The days of the week when this schedule is applicable.
- Rate
In Mbps This property is required. int - The rate in Mbps.
- Start
This property is required. Time - The start time of the schedule.
- Stop
This property is required. Time - The stop time of the schedule.
- days
This property is required. List<DayOf Week> - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. Integer - The rate in Mbps.
- start
This property is required. Time - The start time of the schedule.
- stop
This property is required. Time - The stop time of the schedule.
- days
This property is required. DayOf Week[] - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. number - The rate in Mbps.
- start
This property is required. Time - The start time of the schedule.
- stop
This property is required. Time - The stop time of the schedule.
- days
This property is required. Sequence[DayOf Week] - The days of the week when this schedule is applicable.
- rate_
in_ mbps This property is required. int - The rate in Mbps.
- start
This property is required. Time - The start time of the schedule.
- stop
This property is required. Time - The stop time of the schedule.
- days
This property is required. List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday"> - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. Number - The rate in Mbps.
- start
This property is required. Property Map - The start time of the schedule.
- stop
This property is required. Property Map - The stop time of the schedule.
BandwidthScheduleResponse, BandwidthScheduleResponseArgs
- Days
This property is required. List<string> - The days of the week when this schedule is applicable.
- Rate
In Mbps This property is required. int - The rate in Mbps.
- Start
This property is required. Pulumi.Azure Native. Stor Simple. Inputs. Time Response - The start time of the schedule.
- Stop
This property is required. Pulumi.Azure Native. Stor Simple. Inputs. Time Response - The stop time of the schedule.
- Days
This property is required. []string - The days of the week when this schedule is applicable.
- Rate
In Mbps This property is required. int - The rate in Mbps.
- Start
This property is required. TimeResponse - The start time of the schedule.
- Stop
This property is required. TimeResponse - The stop time of the schedule.
- days
This property is required. List<String> - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. Integer - The rate in Mbps.
- start
This property is required. TimeResponse - The start time of the schedule.
- stop
This property is required. TimeResponse - The stop time of the schedule.
- days
This property is required. string[] - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. number - The rate in Mbps.
- start
This property is required. TimeResponse - The start time of the schedule.
- stop
This property is required. TimeResponse - The stop time of the schedule.
- days
This property is required. Sequence[str] - The days of the week when this schedule is applicable.
- rate_
in_ mbps This property is required. int - The rate in Mbps.
- start
This property is required. TimeResponse - The start time of the schedule.
- stop
This property is required. TimeResponse - The stop time of the schedule.
- days
This property is required. List<String> - The days of the week when this schedule is applicable.
- rate
In Mbps This property is required. Number - The rate in Mbps.
- start
This property is required. Property Map - The start time of the schedule.
- stop
This property is required. Property Map - The stop time of the schedule.
DayOfWeek, DayOfWeekArgs
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Day
Of Week Sunday - Sunday
- Day
Of Week Monday - Monday
- Day
Of Week Tuesday - Tuesday
- Day
Of Week Wednesday - Wednesday
- Day
Of Week Thursday - Thursday
- Day
Of Week Friday - Friday
- Day
Of Week Saturday - Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- SUNDAY
- Sunday
- MONDAY
- Monday
- TUESDAY
- Tuesday
- WEDNESDAY
- Wednesday
- THURSDAY
- Thursday
- FRIDAY
- Friday
- SATURDAY
- Saturday
- "Sunday"
- Sunday
- "Monday"
- Monday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
- "Thursday"
- Thursday
- "Friday"
- Friday
- "Saturday"
- Saturday
Kind, KindArgs
- Series8000
- Series8000
- Kind
Series8000 - Series8000
- Series8000
- Series8000
- Series8000
- Series8000
- SERIES8000
- Series8000
- "Series8000"
- Series8000
Time, TimeArgs
TimeResponse, TimeResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:storsimple:BandwidthSetting BWSForTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/bandwidthSettings/{bandwidthSettingName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0