meraki.networks.SmDevicesFields
Explore with Pulumi AI
~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.SmDevicesFields;
import com.pulumi.meraki.networks.SmDevicesFieldsArgs;
import com.pulumi.meraki.networks.inputs.SmDevicesFieldsParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new SmDevicesFields("example", SmDevicesFieldsArgs.builder()
            .networkId("string")
            .parameters(SmDevicesFieldsParametersArgs.builder()
                .device_fields(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .id("1284392014819")
                .serial("XY0XX0Y0X0")
                .wifi_mac("00:11:22:33:44:55")
                .build())
            .build());
        ctx.export("merakiNetworksSmDevicesFieldsExample", example);
    }
}
resources:
  example:
    type: meraki:networks:SmDevicesFields
    properties:
      networkId: string
      parameters:
        device_fields:
          name: Miles's phone
          notes: Here's some info about my device
        id: '1284392014819'
        serial: XY0XX0Y0X0
        wifi_mac: 00:11:22:33:44:55
outputs:
  merakiNetworksSmDevicesFieldsExample: ${example}
Create SmDevicesFields Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SmDevicesFields(name: string, args: SmDevicesFieldsArgs, opts?: CustomResourceOptions);@overload
def SmDevicesFields(resource_name: str,
                    args: SmDevicesFieldsArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def SmDevicesFields(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    network_id: Optional[str] = None,
                    parameters: Optional[SmDevicesFieldsParametersArgs] = None)func NewSmDevicesFields(ctx *Context, name string, args SmDevicesFieldsArgs, opts ...ResourceOption) (*SmDevicesFields, error)public SmDevicesFields(string name, SmDevicesFieldsArgs args, CustomResourceOptions? opts = null)
public SmDevicesFields(String name, SmDevicesFieldsArgs args)
public SmDevicesFields(String name, SmDevicesFieldsArgs args, CustomResourceOptions options)
type: meraki:networks:SmDevicesFields
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SmDevicesFieldsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SmDevicesFieldsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SmDevicesFieldsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SmDevicesFieldsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SmDevicesFieldsArgs
- 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 smDevicesFieldsResource = new Meraki.Networks.SmDevicesFields("smDevicesFieldsResource", new()
{
    NetworkId = "string",
    Parameters = new Meraki.Networks.Inputs.SmDevicesFieldsParametersArgs
    {
        DeviceFields = new Meraki.Networks.Inputs.SmDevicesFieldsParametersDeviceFieldsArgs
        {
            Name = "string",
            Notes = "string",
        },
        Id = "string",
        Serial = "string",
        WifiMac = "string",
    },
});
example, err := networks.NewSmDevicesFields(ctx, "smDevicesFieldsResource", &networks.SmDevicesFieldsArgs{
	NetworkId: pulumi.String("string"),
	Parameters: &networks.SmDevicesFieldsParametersArgs{
		DeviceFields: &networks.SmDevicesFieldsParametersDeviceFieldsArgs{
			Name:  pulumi.String("string"),
			Notes: pulumi.String("string"),
		},
		Id:      pulumi.String("string"),
		Serial:  pulumi.String("string"),
		WifiMac: pulumi.String("string"),
	},
})
var smDevicesFieldsResource = new SmDevicesFields("smDevicesFieldsResource", SmDevicesFieldsArgs.builder()
    .networkId("string")
    .parameters(SmDevicesFieldsParametersArgs.builder()
        .deviceFields(SmDevicesFieldsParametersDeviceFieldsArgs.builder()
            .name("string")
            .notes("string")
            .build())
        .id("string")
        .serial("string")
        .wifiMac("string")
        .build())
    .build());
sm_devices_fields_resource = meraki.networks.SmDevicesFields("smDevicesFieldsResource",
    network_id="string",
    parameters={
        "device_fields": {
            "name": "string",
            "notes": "string",
        },
        "id": "string",
        "serial": "string",
        "wifi_mac": "string",
    })
const smDevicesFieldsResource = new meraki.networks.SmDevicesFields("smDevicesFieldsResource", {
    networkId: "string",
    parameters: {
        deviceFields: {
            name: "string",
            notes: "string",
        },
        id: "string",
        serial: "string",
        wifiMac: "string",
    },
});
type: meraki:networks:SmDevicesFields
properties:
    networkId: string
    parameters:
        deviceFields:
            name: string
            notes: string
        id: string
        serial: string
        wifiMac: string
SmDevicesFields 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 SmDevicesFields resource accepts the following input properties:
- NetworkId string
- networkId path parameter. Network ID
- Parameters
SmDevices Fields Parameters 
- NetworkId string
- networkId path parameter. Network ID
- Parameters
SmDevices Fields Parameters Args 
- networkId String
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters 
- networkId string
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters 
- network_id str
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters Args 
- networkId String
- networkId path parameter. Network ID
- parameters Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SmDevicesFields resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<SmDevices Fields Item> 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]SmDevices Fields Item 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<SmDevices Fields Item> 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- id string
- The provider-assigned unique ID for this managed resource.
- items
SmDevices Fields Item[] 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[SmDevices Fields Item] 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- Array of ResponseSmUpdateNetworkSmDevicesFields
Look up Existing SmDevicesFields Resource
Get an existing SmDevicesFields resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SmDevicesFieldsState, opts?: CustomResourceOptions): SmDevicesFields@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        items: Optional[Sequence[SmDevicesFieldsItemArgs]] = None,
        network_id: Optional[str] = None,
        parameters: Optional[SmDevicesFieldsParametersArgs] = None) -> SmDevicesFieldsfunc GetSmDevicesFields(ctx *Context, name string, id IDInput, state *SmDevicesFieldsState, opts ...ResourceOption) (*SmDevicesFields, error)public static SmDevicesFields Get(string name, Input<string> id, SmDevicesFieldsState? state, CustomResourceOptions? opts = null)public static SmDevicesFields get(String name, Output<String> id, SmDevicesFieldsState state, CustomResourceOptions options)resources:  _:    type: meraki:networks:SmDevicesFields    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Items
List<SmDevices Fields Item> 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- NetworkId string
- networkId path parameter. Network ID
- Parameters
SmDevices Fields Parameters 
- Items
[]SmDevices Fields Item Args 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- NetworkId string
- networkId path parameter. Network ID
- Parameters
SmDevices Fields Parameters Args 
- items
List<SmDevices Fields Item> 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- networkId String
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters 
- items
SmDevices Fields Item[] 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- networkId string
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters 
- items
Sequence[SmDevices Fields Item Args] 
- Array of ResponseSmUpdateNetworkSmDevicesFields
- network_id str
- networkId path parameter. Network ID
- parameters
SmDevices Fields Parameters Args 
- items List<Property Map>
- Array of ResponseSmUpdateNetworkSmDevicesFields
- networkId String
- networkId path parameter. Network ID
- parameters Property Map
Supporting Types
SmDevicesFieldsItem, SmDevicesFieldsItemArgs        
SmDevicesFieldsParameters, SmDevicesFieldsParametersArgs        
- DeviceFields SmDevices Fields Parameters Device Fields 
- The new fields of the device. Each field of this object is optional.
- Id string
- The id of the device to be modified.
- Serial string
- The serial of the device to be modified.
- WifiMac string
- The wifiMac of the device to be modified.
- DeviceFields SmDevices Fields Parameters Device Fields 
- The new fields of the device. Each field of this object is optional.
- Id string
- The id of the device to be modified.
- Serial string
- The serial of the device to be modified.
- WifiMac string
- The wifiMac of the device to be modified.
- deviceFields SmDevices Fields Parameters Device Fields 
- The new fields of the device. Each field of this object is optional.
- id String
- The id of the device to be modified.
- serial String
- The serial of the device to be modified.
- wifiMac String
- The wifiMac of the device to be modified.
- deviceFields SmDevices Fields Parameters Device Fields 
- The new fields of the device. Each field of this object is optional.
- id string
- The id of the device to be modified.
- serial string
- The serial of the device to be modified.
- wifiMac string
- The wifiMac of the device to be modified.
- device_fields SmDevices Fields Parameters Device Fields 
- The new fields of the device. Each field of this object is optional.
- id str
- The id of the device to be modified.
- serial str
- The serial of the device to be modified.
- wifi_mac str
- The wifiMac of the device to be modified.
- deviceFields Property Map
- The new fields of the device. Each field of this object is optional.
- id String
- The id of the device to be modified.
- serial String
- The serial of the device to be modified.
- wifiMac String
- The wifiMac of the device to be modified.
SmDevicesFieldsParametersDeviceFields, SmDevicesFieldsParametersDeviceFieldsArgs            
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the merakiTerraform Provider.
