GitHub.Network networkSettings

Bicep resource definition

The networkSettings resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a GitHub.Network/networkSettings resource, add the following Bicep to your template.

resource symbolicname 'GitHub.Network/networkSettings@2024-04-02' = {
  location: 'string'
  name: 'string'
  properties: {
    businessId: 'string'
    subnetId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

GitHub.Network/networkSettings

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9] (required)
properties The resource-specific properties for this resource. NetworkSettingsResourceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

NetworkSettingsResourceProperties

Name Description Value
businessId Specifies the GitHub business (enterprise/organization) ID associated to the Azure subscription. string
subnetId Specifies a subnet ID for vnet-injection. string

TrackedResourceTags

Name Description Value

ARM template resource definition

The networkSettings resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a GitHub.Network/networkSettings resource, add the following JSON to your template.

{
  "type": "GitHub.Network/networkSettings",
  "apiVersion": "2024-04-02",
  "name": "string",
  "location": "string",
  "properties": {
    "businessId": "string",
    "subnetId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

GitHub.Network/networkSettings

Name Description Value
apiVersion The api version '2024-04-02'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9] (required)
properties The resource-specific properties for this resource. NetworkSettingsResourceProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'GitHub.Network/networkSettings'

NetworkSettingsResourceProperties

Name Description Value
businessId Specifies the GitHub business (enterprise/organization) ID associated to the Azure subscription. string
subnetId Specifies a subnet ID for vnet-injection. string

TrackedResourceTags

Name Description Value

Terraform (AzAPI provider) resource definition

The networkSettings resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a GitHub.Network/networkSettings resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "GitHub.Network/networkSettings@2024-04-02"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      businessId = "string"
      subnetId = "string"
    }
  }
}

Property Values

GitHub.Network/networkSettings

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9] (required)
properties The resource-specific properties for this resource. NetworkSettingsResourceProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "GitHub.Network/networkSettings@2024-04-02"

NetworkSettingsResourceProperties

Name Description Value
businessId Specifies the GitHub business (enterprise/organization) ID associated to the Azure subscription. string
subnetId Specifies a subnet ID for vnet-injection. string

TrackedResourceTags

Name Description Value