azure-native-v2.managednetwork.ManagedNetworkGroup
Explore with Pulumi AI
The Managed Network Group resource Azure REST API version: 2019-06-01-preview. Prior API version in Azure Native 1.x: 2019-06-01-preview.
Create ManagedNetworkGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedNetworkGroup(name: string, args: ManagedNetworkGroupArgs, opts?: CustomResourceOptions);
@overload
def ManagedNetworkGroup(resource_name: str,
args: ManagedNetworkGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedNetworkGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
managed_network_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
kind: Optional[Union[str, Kind]] = None,
location: Optional[str] = None,
managed_network_group_name: Optional[str] = None,
management_groups: Optional[Sequence[ResourceIdArgs]] = None,
subnets: Optional[Sequence[ResourceIdArgs]] = None,
subscriptions: Optional[Sequence[ResourceIdArgs]] = None,
virtual_networks: Optional[Sequence[ResourceIdArgs]] = None)
func NewManagedNetworkGroup(ctx *Context, name string, args ManagedNetworkGroupArgs, opts ...ResourceOption) (*ManagedNetworkGroup, error)
public ManagedNetworkGroup(string name, ManagedNetworkGroupArgs args, CustomResourceOptions? opts = null)
public ManagedNetworkGroup(String name, ManagedNetworkGroupArgs args)
public ManagedNetworkGroup(String name, ManagedNetworkGroupArgs args, CustomResourceOptions options)
type: azure-native:managednetwork:ManagedNetworkGroup
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. ManagedNetworkGroupArgs - 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. ManagedNetworkGroupArgs - 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. ManagedNetworkGroupArgs - 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. ManagedNetworkGroupArgs - 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. ManagedNetworkGroupArgs - 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 managedNetworkGroupResource = new AzureNative.Managednetwork.ManagedNetworkGroup("managedNetworkGroupResource", new()
{
ManagedNetworkName = "string",
ResourceGroupName = "string",
Kind = "string",
Location = "string",
ManagedNetworkGroupName = "string",
ManagementGroups = new[]
{
{
{ "id", "string" },
},
},
Subnets = new[]
{
{
{ "id", "string" },
},
},
Subscriptions = new[]
{
{
{ "id", "string" },
},
},
VirtualNetworks = new[]
{
{
{ "id", "string" },
},
},
});
example, err := managednetwork.NewManagedNetworkGroup(ctx, "managedNetworkGroupResource", &managednetwork.ManagedNetworkGroupArgs{
ManagedNetworkName: "string",
ResourceGroupName: "string",
Kind: "string",
Location: "string",
ManagedNetworkGroupName: "string",
ManagementGroups: []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
Subnets: []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
Subscriptions: []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
VirtualNetworks: []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
})
var managedNetworkGroupResource = new ManagedNetworkGroup("managedNetworkGroupResource", ManagedNetworkGroupArgs.builder()
.managedNetworkName("string")
.resourceGroupName("string")
.kind("string")
.location("string")
.managedNetworkGroupName("string")
.managementGroups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.subnets(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.subscriptions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.virtualNetworks(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
managed_network_group_resource = azure_native.managednetwork.ManagedNetworkGroup("managedNetworkGroupResource",
managed_network_name=string,
resource_group_name=string,
kind=string,
location=string,
managed_network_group_name=string,
management_groups=[{
id: string,
}],
subnets=[{
id: string,
}],
subscriptions=[{
id: string,
}],
virtual_networks=[{
id: string,
}])
const managedNetworkGroupResource = new azure_native.managednetwork.ManagedNetworkGroup("managedNetworkGroupResource", {
managedNetworkName: "string",
resourceGroupName: "string",
kind: "string",
location: "string",
managedNetworkGroupName: "string",
managementGroups: [{
id: "string",
}],
subnets: [{
id: "string",
}],
subscriptions: [{
id: "string",
}],
virtualNetworks: [{
id: "string",
}],
});
type: azure-native:managednetwork:ManagedNetworkGroup
properties:
kind: string
location: string
managedNetworkGroupName: string
managedNetworkName: string
managementGroups:
- id: string
resourceGroupName: string
subnets:
- id: string
subscriptions:
- id: string
virtualNetworks:
- id: string
ManagedNetworkGroup 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 ManagedNetworkGroup resource accepts the following input properties:
- Managed
Network Name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Kind
string | Pulumi.
Azure Native. Managed Network. Kind - Responsibility role under which this Managed Network Group will be created
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Managed
Network Group Name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- Management
Groups List<Pulumi.Azure Native. Managed Network. Inputs. Resource Id> - The collection of management groups covered by the Managed Network
- Subnets
List<Pulumi.
Azure Native. Managed Network. Inputs. Resource Id> - The collection of subnets covered by the Managed Network
- Subscriptions
List<Pulumi.
Azure Native. Managed Network. Inputs. Resource Id> - The collection of subscriptions covered by the Managed Network
- Virtual
Networks List<Pulumi.Azure Native. Managed Network. Inputs. Resource Id> - The collection of virtual nets covered by the Managed Network
- Managed
Network Name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Kind string | Kind
- Responsibility role under which this Managed Network Group will be created
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Managed
Network Group Name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- Management
Groups []ResourceId Args - The collection of management groups covered by the Managed Network
- Subnets
[]Resource
Id Args - The collection of subnets covered by the Managed Network
- Subscriptions
[]Resource
Id Args - The collection of subscriptions covered by the Managed Network
- Virtual
Networks []ResourceId Args - The collection of virtual nets covered by the Managed Network
- managed
Network Name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- kind String | Kind
- Responsibility role under which this Managed Network Group will be created
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- managed
Network Group Name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- management
Groups List<ResourceId> - The collection of management groups covered by the Managed Network
- subnets
List<Resource
Id> - The collection of subnets covered by the Managed Network
- subscriptions
List<Resource
Id> - The collection of subscriptions covered by the Managed Network
- virtual
Networks List<ResourceId> - The collection of virtual nets covered by the Managed Network
- managed
Network Name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- kind string | Kind
- Responsibility role under which this Managed Network Group will be created
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- managed
Network Group Name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- management
Groups ResourceId[] - The collection of management groups covered by the Managed Network
- subnets
Resource
Id[] - The collection of subnets covered by the Managed Network
- subscriptions
Resource
Id[] - The collection of subscriptions covered by the Managed Network
- virtual
Networks ResourceId[] - The collection of virtual nets covered by the Managed Network
- managed_
network_ name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- kind str | Kind
- Responsibility role under which this Managed Network Group will be created
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- managed_
network_ group_ name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- management_
groups Sequence[ResourceId Args] - The collection of management groups covered by the Managed Network
- subnets
Sequence[Resource
Id Args] - The collection of subnets covered by the Managed Network
- subscriptions
Sequence[Resource
Id Args] - The collection of subscriptions covered by the Managed Network
- virtual_
networks Sequence[ResourceId Args] - The collection of virtual nets covered by the Managed Network
- managed
Network Name This property is required. Changes to this property will trigger replacement.
- The name of the Managed Network.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- kind String | "Connectivity"
- Responsibility role under which this Managed Network Group will be created
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- managed
Network Group Name Changes to this property will trigger replacement.
- The name of the Managed Network Group.
- management
Groups List<Property Map> - The collection of management groups covered by the Managed Network
- subnets List<Property Map>
- The collection of subnets covered by the Managed Network
- subscriptions List<Property Map>
- The collection of subscriptions covered by the Managed Network
- virtual
Networks List<Property Map> - The collection of virtual nets covered by the Managed Network
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedNetworkGroup resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the ManagedNetwork resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the ManagedNetwork resource.
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the ManagedNetwork resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the ManagedNetwork resource.
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the ManagedNetwork resource.
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the ManagedNetwork resource.
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Supporting Types
Kind, KindArgs
- Connectivity
- Connectivity
- Kind
Connectivity - Connectivity
- Connectivity
- Connectivity
- Connectivity
- Connectivity
- CONNECTIVITY
- Connectivity
- "Connectivity"
- Connectivity
ResourceId, ResourceIdArgs
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
ResourceIdResponse, ResourceIdResponseArgs
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:managednetwork:ManagedNetworkGroup myManagedNetworkGroup1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0