예제 #1
0
 /// <summary>
 /// Sets the tags for the resource
 /// </summary>
 /// <param name="builder">Builder instance</param>
 /// <param name="tags">Resource tags</param>
 /// <returns></returns
 public static NetworkSecurityGroupBuilder Tags(this NetworkSecurityGroupBuilder builder, InputMap <string> tags)
 {
     builder.Arguments.Tags = tags;
     return(builder);
 }
예제 #2
0
 /// <summary>
 /// Sets the builder name. If the builder has an RandomId associated,
 /// appends the hex value of the RandomId to the end of the name
 /// </summary>
 /// <param name="builder">Builder instance</param>
 /// <param name="name">Builder name</param>
 /// <returns>The builder argument</returns>
 public static NetworkSecurityGroupBuilder Name(this NetworkSecurityGroupBuilder builder, Input <string> name)
 {
     builder.Arguments.NetworkSecurityGroupName = name;
     return(builder);
 }
예제 #3
0
 /// <summary>
 /// Sets the location on which the resource should be created on
 /// </summary>
 /// <param name="builder">Builder instance</param>
 /// <param name="location">Resource location</param>
 /// <returns></returns
 public static NetworkSecurityGroupBuilder Location(this NetworkSecurityGroupBuilder builder, Input <string> location)
 {
     builder.Arguments.Location = location;
     return(builder);
 }
예제 #4
0
 /// <summary>
 /// Sets the resource group the <see cref="NetworkSecurityGroup" /> will be created on
 /// </summary>
 /// <param name="builder"><see cref="NetworkSecurityGroup" /> Builder</param>
 /// <param name="resourceGroup">Resource group name</param>
 /// <returns></returns>
 public static NetworkSecurityGroupBuilder ResourceGroup(this NetworkSecurityGroupBuilder builder, Input <string> resourceGroup)
 {
     builder.Arguments.ResourceGroupName = resourceGroup;
     return(builder);
 }